Login
Register
Dark Mode
Brightness
Ambient Glow – Questions list
Register
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Recent questions tagged strings
0
0 votes
1
1 answer
556
556 views
Similar to gate 1994 question of count of substring
Why we should or should not include null string in this count ?
Sree1998
556
views
asked
Sep 17, 2024
Theory of Computation
theory-of-computation
strings
general-topic-doubt
+
–
5
5 votes
1
1 answer
891
891 views
GO Classes Test Series 2024 | Mock GATE | Test 14 | Question: 42
The provided C code is a version of the C string library function strlen(), which calculates the length of a given string.unsigned int mystrlen(char *c) { unsigned in...
GO Classes
891
views
asked
Feb 5, 2024
Programming in C
goclasses2024-mockgate-14
programming
programming-in-c
strings
multiple-selects
two-marks
+
–
0
0 votes
0
0 answers
669
669 views
how many it string of length 10 over the alphabet {a,b,c} have either exactly three a's or exactly four b's
_shreya123
669
views
asked
Nov 18, 2023
Combinatory
combinatory
strings
+
–
1
1 vote
2
answers
2 answers
796
796 views
Self Doubt
char st[] = {‘G’,’A’,’T’,’E’,’\0’};then string ka length 4 hoga ya 5 with null character?
Durgesh_7979
796
views
asked
Jun 7, 2023
Programming in C
strings
+
–
0
0 votes
1
1 answer
571
571 views
UGCNET CSE December 2022: 32
In the $\varepsilon$-NFA, $M=\left(\left\{\mathrm{q}_{0}, \mathrm{q}_{1}, \mathrm{q}_{2}, \mathrm{q}_{3}\right\},\{\mathrm{a}\}, \delta, \mathrm{q}_{0},\left\{\mathrm{q}_...
admin
571
views
asked
May 20, 2023
Others
ugcnetcse-dec2022
finite-automata
regular-language
strings
transition-table
+
–
1
1 vote
0
0 answers
425
425 views
Strings in C language
I have seen alot of people saying that we can make an Integer string in C language.But according to me we can only make a character string in C language.here is the code:...
deependu
425
views
asked
Apr 23, 2023
Programming in C
strings
programming-in-c
+
–
0
0 votes
1
1 answer
643
643 views
Finite automata and formal languages
Write input set, strings and language for the following 1) The set of all strings with three consecutive O's over (0,1) .
upasesharanesh
643
views
asked
Apr 6, 2023
Theory of Computation
finite-automata
regular-language
regular-expression
strings
+
–
0
0 votes
0
0 answers
717
717 views
Computational Theory
Give the state diagram of DFAs with the specified number of states recognizing each of the following languages. In all parts, the alphabet is {0, 1}. {w | accept all stri...
ahmed5
717
views
asked
Feb 7, 2023
Theory of Computation
theory-of-computation
number-of-dfa
strings
+
–
0
0 votes
1
1 answer
6.3k
6.3k views
is (a , b)* and (a*b*) are same ?
Mikdhad
6.3k
views
asked
Jan 14, 2023
Theory of Computation
theory-of-computation
regular-language
strings
+
–
0
0 votes
1
1 answer
1.3k
1.3k views
find all strings of lenght 4 less, for the following regular expression (a*b + b*a)
Hemant jha
1.3k
views
asked
Dec 25, 2022
Theory of Computation
theory-of-computation
regular-expression
strings
+
–
0
0 votes
3
3 answers
1.3k
1.3k views
theory regular langauge
Write a regular expression for all strings of 0’s and 1’s in which there is an even number of 0’s between any two 1’s.
moe12leb
1.3k
views
asked
Nov 27, 2022
Theory of Computation
theory-of-computation
strings
regular-expression
+
–
1
1 vote
0
0 answers
343
343 views
Theroy regular langauge
Write a regular expression for all strings of 0’s and 1’s in which at least one copy of the substring 01 occurs before any copy of the substring 10 occurs in the string. ...
moe12leb
343
views
asked
Nov 27, 2022
Theory of Computation
theory-of-computation
regular-expression
strings
+
–
0
0 votes
1
1 answer
486
486 views
theory Regular Langauge
Write a regular expression for all strings of 0’s and 1’s in which the total number of zeros to the right of each 1 is even.
moe12leb
486
views
asked
Nov 27, 2022
Theory of Computation
theory-of-computation
strings
regular-expression
+
–
0
0 votes
0
0 answers
401
401 views
Compiler principles Techniques and Tools
For sr 7,11- 1. i.Strings of 0's and 1's of the form aa', where a is binary string and a' is reverse of a.ii. Binary string of the form xy s.t. x!=y. Total length of xy i...
_harshit__01
401
views
asked
Nov 14, 2022
Compiler Design
compiler-design
strings
+
–
0
0 votes
1
1 answer
736
736 views
Theory of Computation
does this string ‘baab’ belongs (ba)* U (ab)* ?
moe12leb
736
views
asked
Nov 4, 2022
Theory of Computation
theory-of-computation
regular-expression
strings
+
–
0
0 votes
1
1 answer
697
697 views
theroy of computation
{ε}* , {ε} are these two expressions equal or different ? where ε is the empty string
moe12leb
697
views
asked
Nov 4, 2022
Theory of Computation
theory-of-computation
regular-expression
strings
+
–
0
0 votes
0
0 answers
1.8k
1.8k views
unacademy test series
Consider a string is stored in a word addressable memory where each word is of 4 Bytes. If the string starts at 100 and ends at 104 then which of the following can be the...
Pranavpurkar
1.8k
views
asked
Sep 27, 2022
Programming in C
programming-in-c
strings
unacademy-test-series
+
–
1
1 vote
1
1 answer
1.0k
1.0k views
DOUBT
DOUBT:suppose a memory space of 16B is given and it is asked that what is the maximum length of string it can store.then do we have to consider the space taken by the “\...
Pranavpurkar
1.0k
views
asked
Sep 27, 2022
Programming in C
programming
strings
+
–
1
1 vote
0
0 answers
526
526 views
Self doubt - printing null character from a character array.
We use character array to declare string in C. So, if I declare an array likecharacter ch[ ] = {‘a’,’k’,’a’,’/o’};and try printing ch[3] like :printf(“%C”,ch[3]);what wil...
aakash pandey
526
views
asked
Apr 30, 2022
Programming in C
programming-in-c
strings
+
–
1
1 vote
1
1 answer
591
591 views
CMI2019-B-2
Let us assume a binary alphabet $\Sigma=\{a,b\}.$ Two words $u,v\in \Sigma^{\ast}$ are said to be conjugates if there exist $w_{1},w_{2}\in \Sigma^{\ast}$ such that $u=w_...
gatecse
591
views
asked
Sep 13, 2019
Theory of Computation
cmi2019
theory-of-computation
conjugates
strings
+
–
4
4 votes
1
1 answer
2.5k
2.5k views
Ullman (Compiler Design) Edition 2 Exercise 3.3 Question 3 (Page No. 125)
In a string of length $n$, how many of the following are there? Prefixes. Suffixes. Proper prefixes. Substrings. Subsequences.
admin
2.5k
views
asked
Aug 5, 2019
Compiler Design
ullman
compiler-design
strings
descriptive
+
–
0
0 votes
0
0 answers
300
300 views
Ullman (TOC) Edition 3 Exercise 9.1 Question 1 (Page No. 382)
What strings are:$w_{37}$?$w_{100}$?
admin
300
views
asked
Jul 21, 2019
Theory of Computation
ullman
theory-of-computation
strings
+
–
3
3 votes
3
3 answers
2.7k
2.7k views
UGC NET CSE | June 2019 | Part 2 | Question: 78
Consider the following grammar:$S \rightarrow XY$$X \rightarrow YaY \mid a \text{ and } Y \rightarrow bbX$Which of the following statements is/are true about the above gr...
Arjun
2.7k
views
asked
Jul 2, 2019
Theory of Computation
ugcnetcse-june2019-paper2
grammar
strings
+
–
0
0 votes
0
0 answers
896
896 views
c programming
int main(){ int a=2,b=2,c=2; printf("%d",a==b==c); return 0;}what is the output??? and what will be done during executioncan anyone explain this……...
shiva0
896
views
asked
Jan 19, 2019
Programming in C
output
programming-in-c
strings
+
–
0
0 votes
1
1 answer
2.6k
2.6k views
DATA STRUCTURES
Can anyone explain answer is A
nag.swarna
2.6k
views
asked
Nov 9, 2018
Data Structures
data-structures
strings
+
–
Page:
« prev
1
2
3
next »