3 votes
201
Find the names of sailors who have reserved a red or a green boat.???& Find the names of sailors who have reserved at least two boats?
4 votes
202
A={<M,w M is a TM that accepts w}B=Ʃ*Is A Mapping reducible to B?http://theory.stanford.edu/~trevisan/cs154-12/reductions3.pdf
3 votes
203
L={w| length of w is odd and its middle symbol is 0, wε{0,1}* }Reg or CFL?
5 votes
204
#include<stdio.h>int main() { int y=3 ;int z= ( y) + (y=10);printf("%d ",z);} can someone explain how is it 20 ?
3 votes
205
{int i ;int power_of_ten[5] = {00001,00010,00100,01000};for(i=0;i<4;++i)printf("%d",power_of_ten[i]);}a.1 4 8 16b. 1 8 64 512c.compilation errord.none of the above
6 votes
206
#include<stdio.h>int *m();void main(){int *k=m();printf("Hello");printf("%d",k[0]);}int *m(){int a ={5,8};return a;} What is the output generated?A)hello 5 8B)hello 5C)he...
16 votes
207
MISSPELLING OF KEYWORDS CAUSE WHICH TYPE OF ERROR- SYNTAX ERROR OR LEXICAL ERROR??printf("%d") without any integer argument will cause which type of error??
2 votes
208
#include "stdio.h"int main(){ char arr[100]; printf("%d", scanf("%s", arr)); /* Suppose that input value given for above scanf is "GeeksQuiz" */ return...
4 votes
210
What will be the output of the program ?#include<stdio.h int main() { int i=4, j=8; printf("%d, %d, %d\n", i|j&j|i, i|j&j|i, i^j); return 0; } A.12, 12, 12 B.112, 1, 12 C...
4 votes
211
Will it result in to an error if a header file is included twice?[A].Yes[B].No[C].It is compiler dependent
2 votes
212
How many collision domains and broadcast are created when you segment a network with a 12-port switch?A. 1B. 2C. 5D. 12
2 votes
213
let ∑ = {0, 1, +, =} andL = { x=y+z | x, y, z are binary integers, and x is the sum of y and z }. Is L regular ?
3 votes
214
#include<stdio.h int main() { unsigned int i = 65535; /* Assume 2 byte integer*/ while(i++ != 0) printf("%d",++i); printf("\n"); return 0; }[A].infinite loop[B].0 1 2 ......
5 votes
215
can anyone please explain how multiplication of generating function can be done as given in theorem
6 votes
216
0 votes
219
2 votes
220
Function F1 & F2 are F1(ABCD)- €m ( 1,4,5,8,10,13,15)+d(3,12) F2(ABCD)- €m ( 0,2,3,5,9,10,14,15)+d(6,13)a-. F3= F1+F2b- F4= F1.F2c-F5= F1.F2'
2 votes
221
What is the minimum number of states it takes a Finite Automata to accept a string whose nth bit from RHS is 1 over {0, 1}*?
2 votes
223
Max how many no. Of function is possible iff(x,y,z)= f(x',y,z') Optionsa)8b)16c)4d)32
0 votes
224
Following is the K-map of a Boolean function of five variables P,Q,R,S and X. The minimumsum-of –product (SOP) expression for the function is A) P'Q'SX'+PQ'SX'+QR'S'X+...
4 votes
225
Complement of : {anbn | n>=0} ?Also tell if it is CFL or CSL?
8 votes
226
2 votes
227
If T(n) = T(n/4) + T(n/2) +n2 , then using recursion tree method
0 votes
228
Q. The running time of an algorithm is given byT(n)=T(n-1)+T(n-2)-T(n-3) if n>3else NThe order isa. n. b. Log nC.n^n. d.n^2
3 votes
229
A class C network is assigned with a subnet mask of 255.255.255.248 . The total number of hosts possible in all the sub networks together in the above network is .......P...
4 votes
230
How many distinct binary tree can be formed with three distinct keys?Please help me to find the correct answer?