1 votes
1 answer
1
The maximum number of edges in a n-node undirected graph WITH self-loops is?
0 votes
1 answer
2
#include <stdio.h>int main(){int a = 1, b = 1, d = 1;printf("%d, %d, %d", ++a + ++a+a++, a++ + ++b, ++d + d++ + a++);}
2 votes
2 answers
3
extern int i; int i = 10; i = 5; int main() { printf("%d", i); return 0; }The output for the above code is _______
0 votes
0 answers
4
0 votes
1 answer
5
Which of the following strings will match the linux regex a?b*?1. (empty string)2. b,bb,bbb.... and ab,abb,abbb......3. both a and b4. acbd, acbde and acbdef
0 votes
3 answers
6
m=1;for i=1 to n do begin m=m*3; for j=1 to m do {Something which is O(1)}What is the complexity of above algorithm?1. O(n*m3)2. O(n3)3. O(3n)...
0 votes
1 answer
7
Are MST and shortest path tree identical?T/F? with reasoning.
0 votes
0 answers
8
Which of the following graph corresponds to given adjacency matrix$\begin{bmatrix} 0 1 0 0 0 1\\ 1 0 1 0 0 0 \\ 0 1 0 1 0 1 \\ 0 0 1 0 1 0\\ 0 0 0 1 0 1 \\ 1 0 1 0 1 0 \e...
1 votes
1 answer
10
The solution for the recurrence:T(1)=1T(n) = T(n-1) + T(n-2) + 1a. log(n) <= T(n)=nb. n<=T(n)<=n2c. n2 <= T(n)<= 2nd. 2n <= T(n) <=n!
0 votes
2 answers
12
If the equations (λ+1)x + 8y = 4λ and λx + (λ+3)y = 3λ-1 have no solution, then the number of values of λ is :(A) one (B) two (C) three (D) more than three
15 votes
13 answers
15
11 votes
4 answers
16
The minimum number of tables to represent ER-Diagram such that the relational database satisfies 1NF.
1 votes
3 answers
17
A noiseless 4-kHz channel is sampled every 1 msec. What is the maximum data rate? How does the maximum data rate change if the channel is noisy, with a signal-to-noise ra...