search
Log In

Questions by dhairya

0 votes
0 answers
1
(P + Q’) (PQ’ + PR) (P'Q’+PR) (P’R’ + Q’) simplifies to (A) PQ’ (B) PQ’+ R (C) PR’ (D) PR’ + Q
asked Dec 4, 2016 in Mathematical Logic 353 views
1 vote
1 answer
2
A probability density function density function is of form P(x)= k e ^(-a |x|) , the value of k is A)0.5 B)1 C) 0.5 a D) a
asked Nov 8, 2016 in Probability 613 views
1 vote
1 answer
3
1 vote
1 answer
4
a = b + " cde " ; Which phase of compiler will give error ?
asked Aug 14, 2016 in Unknown Category 188 views
2 votes
1 answer
5
S-> AB / Ɛ A-> AC / 0C B->0S C->1 What is the first (A)..??
asked Aug 13, 2016 in Compiler Design 505 views
3 votes
1 answer
6
Find first and follow... S→ABa / bCA A→cBCD / є B→CdA / ad C→eC / є D→bsf / a
asked Aug 3, 2016 in Compiler Design 3.9k views
1 vote
1 answer
7
Consider 3 relation R(A, B, C) WITH 20 TUPLES and S(A,D , E) With 30 tuples and T(D,F,G ) with 40 tuples. What is the max no. of tuples in natural joint of R S T Plz explain
asked Jul 27, 2016 in Databases 283 views
0 votes
5 answers
8
Consider the following C function: int f(int n) { static int r = 0; If (n < = 0) return 1; If (n > 3) { r = n; return f (n &ndash; 2) + 2; } return f(n &ndash; 1) + r; } What is the value of f(5)? (A) 3 (B) 7 (C) 9 (D) 18
asked Jul 12, 2016 in Programming 1.2k views
1 vote
3 answers
9
Let S be a stack of size n ≥ 1. Starting with the empty stack, suppose we Push the first n natural numbers in sequence, and then perform n Pop operations. Assume that Push and POP operations take X seconds each, and Y seconds elapse between the end of one such stack operation and the start of the next operation. ... an element of this stack is (A) n(X + Y) (B) 3Y + 2X (C) N(X + Y) - X (D) Y + 2X
asked Jul 12, 2016 in Programming 462 views
0 votes
1 answer
10
A circularly linked list is used to represent a Queue. A single variable pp is used to access the Queue. To which node should pp point such that both the operations are EnQueue and DeQueue enQueue deQueue can be performed in constant time? rear node front node not possible with a single pointer node next to front What does "constant time" means...(last words of the question).?
asked Jul 10, 2016 in DS 722 views
0 votes
1 answer
11
0 votes
0 answers
12
Consider the following ER diagram: If A has 100 entities, B has 1000 entities, and C has 10 entities, what is the maximum number of triples of entities that could be in the relationship set for R?
asked Jun 26, 2016 in Databases 170 views
0 votes
2 answers
13
Consider the following F.D. ab -> cd ; e->c ; b->ef Which options show the relations normalized to 3NF of R(A,B,C,D,E,F) 1) R(A,B,C,D) , R(C,E) , R(E,F,B) 2) R(A,B,D) , R(E,C) , R(B,E,F) 3) R(A,B,C,D) , R(C,E) , R(B,E,F) 4) R(A,B,C,D,E,F) , R(E,C) , R(B,E,F) Ans is C
asked Jun 24, 2016 in Databases 955 views
0 votes
0 answers
14
R(A,B,C,D) is a relation. Which of the following does not have a lossless join, dependency preserving BCNF decomposition? a)A->B, B->CD b)A->B, B->C, C->D c) AB->C, C->AD d)A ->BCD Plz explain as well...!!!!
asked Jun 23, 2016 in Unknown Category 470 views
0 votes
2 answers
15
R (A, B, C ,D ,E ) F={ A->B, BC-> D, D->BC, B->E, B->A } Check whether BD is C.Key or S.key . Also find the candidate key.
asked Jun 18, 2016 in Databases 707 views
0 votes
3 answers
16
R ( A, B, C, D) A & B are the candidate keys . what are the possible Super keys and there no ..??
asked Jun 18, 2016 in Databases 190 views
0 votes
3 answers
17
R (A, B, C) Functional dependency= { A -> B, B -> C , C -> A } No of super keys are...??
asked Jun 18, 2016 in Databases 300 views
2 votes
5 answers
18
Q1) R(A1,A2,A3,..................An) having A1A2 as its candidate key. Find the no of super key..? Q2) R(A1,A2,A3,..................An) having A1 and A2 as its candidate key. Find the no of super key..?
asked Jun 18, 2016 in Databases 1.7k views
0 votes
1 answer
19
Find the cardinality of --- 1) $\phi$ 2) { $\phi$} 3) { $\phi$ , { $\phi$} } 4) { $\phi$, { $\phi$} , { $\phi$, { $\phi$ } } }
asked Jun 17, 2016 in Set Theory & Algebra 150 views
1 vote
1 answer
20
For 2 sets to be equal..is it necessary to have same no of elements as well..? ex- A={1,2,3} B={1,1,3,3,2}.. Are they equal.?
asked Jun 17, 2016 in Set Theory & Algebra 133 views
...