2 answers
1
What is worst case time complexity to delete middle element from the min heap of n distinct elements?O(logn)O(n)O(nlogn)O($n^{2}$)
0 answers
2
Consider the following c code int f(int x) { if(x<1) return 1; else return f(x-1)+g(x); } int g(int x) { if (x<2) return 1; else return f(x-1)+g(x/2); }Of the following ,...
2 answers
3
Find the complexity of the following function when called with some integer n:void foo(n) { int i,j,k,x=0; for (i=1 ; i <= n ; i++) for (j=1 ; j <= i * i ; j++) for ( k ...
3 answers
4
How To Solve..? 17 * d = 1 mod 3120.should we need to apply bruteforce?
0 answers
5
Parcels from sender to receiver pass sequentially through 2 post office.Each post office has a probability 1/5 of loosing an incoming parcel,independently of all other pa...
1 answer
7
If a graph with 10 vertices having each vertex having degree >=5 find graph connected or disconnected
2 answers
8
$Z =\left \{ {A,B,C,D,E,F,G} \right \}$How many permutations of all elements of set $Z$ are possible when A cannot appear after D and C cannot appear after FC cannot appe...
2 answers
9
$(70\,\,\,34\,\,\, 3\,)_{81} = (?)_3$Any trick to solve this type of questions?
1 answer
11
Minimum no of edges necessary in a simple graph with 10 vertices to ensure connectivity is_______.
2 answers
12
How many relations are there on a set with 10 elements that are reflexive and symmetric??
1 answer
13
1 answer
14
1 answer
15
construct DFA which do not contain 11 as sub string but end with 0
1 answer
17
A computer with a 5 stage pipeline deals with conditional branches by stalling for the next 3 cycle after hitting one. how much does stalling hurt the performance is 20% ...
0 answers
18
4 answers
24
Repeated execution of simple computation may cause compounding ofround-off errorssyntax errorsrun-time errorslogic errors
1 answer
25
What does the following fragment of C- program print?char t[] = "PROGRAM1234"; char *r = t; printf ("%s", r + r[6]- r[3]);Explain.
1 answer
26
What will be the cipher text produced by the following cipher function for the plain text ISRO with key $k=7$. [ Consider $'A'=0, 'B'=1,....'Z'=25$]$C_{k} (M) = (kM + 13)...
1 answer
28
2 answers
29
Match the following $:$ $\begin{array}{clcl} & \textbf{List – I}&& \textbf{List – II} \\ \text{a.} & \text{Correctness}& \text{i.} & \text{The extent to which a soft...