This Combine all questions from Made Easy booklet

# Recent questions tagged made-easy-booklet 1
Question 79
1 vote
2
3
1 vote
4
Find the number of tokens in the following C code$:$ main() { int x = 10 , *P ; int y = x ++ ; char * q ; P = & x ; q = 'A' ; if(*P>=10) { *P = x + 100; } else { printf("%d" , x); /*comment*/ } }
5
6
Given answer is option c. Can anyone tell me how?
7
for(i=10;i<10;++i) printf("%d" i&1) prints (a) 0101010101 (b) 0111111111 (c) 0000000000 (d) 1111111111
8
Consider the following array with 7 elements for insertion sort? 25, 15, 30, 9, 99, 20, 26 In how many passes, the given sequence will be sorted? (a) 4 pass (b) 5 pass (c) 6 pass (d) More than 6 pass Answer is 6 passes. Can anyone explain it step by step.
9
Find the highest normal form. AB - - > CE E - - >AB C-->D Doubt AB, E are the candidate key. The answer given is 2NF In 2NF, there should be no partial dependency which is PRIME ATTRIBUTE - - >NON PRIME ATTRIBUTE But it is there in AB-->CE, I think CE is non prime attribute. Or bcoz of E we consider them as prime attribute.
10
11
12
Assume there are 5 frames and consider the following reference string find the number of page faults using NRU page replacement algorithm. 3,2,3, 0,8,4,2,5,0,9,8,3,2
13
Consider the following sequential code which is executed in a multiprogramming mode by assuming that each statement can execute independently to achieve the concurrency. If any statement dependent on other statements then those statements will be executed in the order. S1: a = b + c; S2: x = ... S4 b)S2 and S3 c)S1 and S2 d)S2 and S4 Given answer is option c but according to me answer should be d
14
15
A. X=40,Y=20 B.X=50,Y=10 C.X=30,Y=20 D. X=20,Y=30
16
How to solve this question?
17
How to solve this question?
18
How to solve this type of questions? Let S be the set of integers such that 1. 100<=x<=200 2. x is odd 3. x is divisible by 3 but not by 7 How many elements does S contain?
19
How to solve this?
20
How to solve this question?
21
a 4 bit serial in parallel out shift register is used with a feedback as shown in figure below the shifting sequences q3 - >q2-> q1- > q0. if the output is initially 0000, the no of clock pulses after which t the output will repeat itself is
22
Solve this
23
How the table is generated?
24
Solve this.
25
Why In' is taken as A'B'C'D'?
26
Can any explain the output function F? According to me F=(Z'C'+Z'C)