? "width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0" : "width=1100"' name='viewport'/> EDUCATION TIPS & STUDY TRICKS

Monday, August 02, 2010

Micro processor questions


Future Software PAPERS



1. S --> AB|AS
A --> a|aA
B --> b
What is the grammer accepted by the above?
Ans. aa*b

2. How many address lines are needed to address a 64Kb segment with
each register storing upto 512 bytes.
Ans. 14 address lines

3. Find the expression representing the following K-map
1 1 1
1 1
1 1 1

4. For the POS form of the expression given below
_ _ _
X.Y.Z + X.Y.Z + X.( Y + Z )

5. In a computer system the ROM :
(a) contains boot software (b) is permanent
(c) Both of the above (d) None of the above

6. The binary equivalent of 3B7F is
Ans. 0011 1011 0111 1111

7. The register used by the shift reduce passing method is
Ans. Stack

8. A microprogram can be defines as to consist of
Ans. A primitive operation

9. Find the output for the following C program
int array[4][4] = {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16};
for (i=2;i<0 br="" i--="">for (j=2;j<=0;j--)
printf("%d", arr[i][j]);

10. Find the output for the following C program
#include
void main()
{int i,x,sum=0;
int arr[6]=[1,2,3,4,5,6]
for (i=0;i<4 br="" i="">sum+ = func(arr[i]);
printf("%d", sum);
}
func(int x)
{ int val,x;
val = 2;
return(x+ val++);
}

11. Given the following data:
Process P1 takes 2
seconds
Process P2 takes 3 seconds
Process P3 takes 4 seconds
Process P4 takes 1 second
Process P5 takes 6 seconds
Find the average time in case of shortest job first (SJF) scheduling.

12. Given a string STOCK and a stack of size 4.
Which of the following strings cannot be generated using this stack.
(a) TSOCK (b) TOSKC (c) STOCK (d) TKOSC (e) None of these

13. Inversion of a matrix will take which of the following time complexities?
(a) O(n) (b) O(n²) (c) O(log n) (d) O(n³) (e) None of these

14. A drum rotates at 4000 rpm. What is its average access time.

15. What range of integral values can be stored using 32 bits?

16. Where are the following variables stored
Automatic
Global
Static

17. If a layer 4 transfers
data at the rate of 3000 bytes/sec.
What will be the size of data block transferred by Layer 2

18. What is the greatest disadvantage of dynamic RAM over static RAM
Ans. High Power and need to refresh every 2 ms.

19. What happens when the CPU gets interrupted?

20. Find the Postfix of the following string
(a + b) * ((-d) *f
(ab - cd))

21. E --> E + E| E * E | E/E | E - E| .... then which is correct
(a) It is ambiguous (b) It is inherently ambigous
(c) It is non inherently ambiguous (d) None of the above

22. If there are n nodes and K edges in a graph then what is the order of traversing
Ans. O(n²)

23. A graph is represented as an adjacency list with n vertices and e edges
What is its time complexity
Ans. O(n + e)

24. An array with address KV[a] had n elements. Which of the following correctly addresses the
ith element of the array.
(a) KV(a) - 2a + 2i (b) KV(a) +2i (c) KV(a) - 2a (d) None of these

25. Give an example of a primitive instruction in microprocessors.
26. A computer has 8 bit data bus and 16 bit address line.
How many machine cycles will it take to store the contents to a memory location?
27. Where is a variable defined in a function stores?
Ans. Process Swappable Area

28. For the following C progralm
int d=0;
for(int i=0;i<31 br="" i="">for(int j=0;j<31 br="" j="">for(int k=0;k<31 br="" k="">if (((i+j+k) % 3)==0)
d=d+1;
Find value of d

29. e= | | <(e)> |
What forms do the expressions created by the above definition fit in
Ans. All arithematic expressions

30. If a set of numbers are in sorted order then which of the following
sorting method is best
Ans. Bubble Sort

31. A magnetic tape is similar to which of the following structures
Ans. List

32. The s/n id 3 dB Find the capacity of the line.

Thursday, July 29, 2010

Sonata Aptitude test



SUCCESS FOR CAREER




Sonata Aptitude test



1. Last month of an year
(a) January (b) February
(c) December (d) November
2. Select the odd one
(a) January (b) February
(c) Wednesday (d) November
3. Select the antonym of capture from the following
(a) attack (b) Release
(c) condemn (d) None of the above
4. Find the antonym of autumn
(a) Spring (b) Winter (c) Summer (d) None
of the above
5. One skirt requires 3.75 yards of cloth. How many
skirts you can make
from 45 yards?
Ans: 12 skirts
6. How can you make a square from two triangles?
7. Is the meaning of Client and Customer,
(a) same (b) contradictory
(c) no relation
8. Is the meaning of It's and Its,
(a) same (b) contradictory
(c) no relation
9. Is the meaning of Canvas and Canvass,
(a) same (b) contradictory
(c) no relation
10. Is the meaning of Ingenious and Ingenuous,
(a) same (b) contradictory
(c) no relation

11. Is the meaning of Credible and Credulous,
(a) same (b) contradictory
(c) no relation
12. Select the odd one out.
(a) 1/4 (b) 1/3
(c) 1/6 (d) 1/18
13. Select the least from the following.
(a) 0.99 (b) 1
(c) 81 (d) 0.333
14. Find the next number in the series. 1, 0.5,
0.25,
0.125
Ans: 0.0625
15. One dollar is saved in one month. Then how much
dollar is saved in
one day?
Ans: 1/30 =0.0333$
16. Y catches 5 times more fishes than X. If total
number of fishes
caught by X and Y is 48, then number of fishes caught by X?
Ans: 8
17. Y catches 5 times more fishes than X. If total
number of fishes
caught by X and Y is 42, then number of fishes caught by X?
Ans: 7
18. If a train covers 600m in 0.5 seconds, how long
it will cover in 10
seconds?
Ans: 3000m = 3km
19. The girl's age is twice that of boy, if the
boy is four years old.
After four years the age
of the girl is
Ans: 12 years
20. Sister's age is twice than that of the brother.
If the brother's
age is six, what is the sister's age after two years?
Ans: 14 Yrs.
21. Two lemons cost 10 cents. Then one and a half
dozen cost
Ans: 90 cents
22. A clock is late by 1 minute 27 seconds in a
month. Then how much
will it be late in 1 day?
Ans: 2.9 seconds
23. Which of the following figures together will
make a triangle?
Ans: a,b,c,d
24. Make a square by drawing only one line
Ans: line 2-5, square 2-3-4-5-2
25. Which of the following is the odd one? crew,
constellation, companion, league, participants.
Ans: companion
26. Opposite of Remote?
(a) Far (b) Near
(c) Huge (d) Village
27. Statement A: All great men are ridiculous;
Statement B: I am ridiculous ;
Inference : I am a great man;
(a) True (b) False
(c) Not clear
28. Statement: Normal children are active;
Inference: All children are active;
(a) True (b) False
(c) Uncertain
29. Next number in the series 1, 1/2, 1/4, 1/8 ?
Ans: 1/16
30. In 6 seconds a light flashes once. In one hour
how many times it
will flash?
Ans: 601 times
31. At 20% discount, a cycle is sold at a selling
price of 2500 Rs.
What is the actual price?
Ans: Rs. 3125
32. Statement A: A & B have same age;
Statement B: B is younger than C;
Inference : A is younger than C;
(a) True (b) False
(c) Uncertain
33. All chickens lay eggs (True/False)
Ans: False
34. A invests $12000, B invests $8000, C invests
$6000 and they got a
profit of $1200. How much share A got more than B and C?
Ans: 2/13 and 3/13





EXAMAPERS123.BLOGSPOT.COM






FRIENDS ALL THE BEST......

Wednesday, July 28, 2010

Wipro Technologies EXAM PAPER



SUCCESS FOR CAREER





Wipro's university-like ambitions to dominate outsourcing







wipro question paper




1) A topic on Gandhiji’s Salt Satyagraha Movement. Four sentences were given and you
have to arrange them to make a paragraph. Ans: CABD (Check it out).


2) What can’t be changed by the user program? Ans: Memory Map(Check)


3) In which layer ROUTING is performed? Ans: Network Layer


4) What is the output of the following code snippet?
main()
{
printf(5+”Fascimile”);
}
Ans: mile

5) What is the output?
Main()
{
Int count=10,sum=0,*temp;
Temp=&count;
Sum=∑ &count; (It was actually given temp=∑&count; which is probably wrong)
Printf(“sum=%d count= %d temp=%d “,sum, count,*temp);
} Ans: C (most expected answer, check it)


6) Which one has no L-Value
[i] a[i] [ii] I [iii] 2 [iv] *(a+i) Ans: [iii]


7) In threaded binary for which traversal orders unused left and right links are used?


8) Which is false for binary tree?
[i] Any node should have two children.
[iii] At fourth level the number of node should be less than 16.


9) Which is true for binary search?
[i] Traversal scheme [ii] [iii] Greedy algorithm [iv] Divide and conquer algorithm Ans: [iv]


10) What is the protocol used for getting the physical address by supplying IP address of a node?
[i] ARP [ii] RARP [iii] BOOTP [iv] DHCP Ans: [i]


11) If DELHI is coded as CCIDD then how BOMBAY will be coded?


12) Opposite of SPUR.


13) Opposite of HARBINGER? Ans: Follower


14) Opposite of PROTRUSION.


15) Opposite of RESTIVENESS. Ans: Docility.


16). Find the odd one in a given analogy? Ans: Mundane.



17) Find the analogy: SURPRISE: EXCLAMATION Ans: Dismay: groan.

18) Find the analogy:-- Plateau: Taxonomy.


19) Question from congestion control topic: Ans: source quench.


20) Question from kernel mode: Ans: Disable Interrupts.


21) Which one is a page replacement algorithm?
[i] fifo [ii] [iii] Least recently used. [iv] All of the above.


22) Using two numbers and interchanging + and * there was a question.
Ans: (iii) (some expression=22).


23) For each hour a watch is going slow by 30 seconds. Now time is
8a.m.What will be the actual time at 8 p.m? Ans: ii) 7:54.


24) Question regarding while loop. Ans: (iii).


25) Alphabetical order L, M…(can’t remember) Ans: F


26) One puzzle:(I cant exactly remember this question giving brief idea of this question) there were four guys A, B, C, D. the older and younger relation is given. U have to find the age of the A ? Ans: 7 years (check it out).



28) Nine people six floors. Conditions are given. (This was a very long paragraph). Peoples named like I, J, K, L, M, N, O, P, Q. Ans: J.


29) A question regarding node. Ans: (iii)


30) A problem regarding age of father and son (very easy problem u can solve it).
31) Point out error in the following sentence:
I got the book in the office and slipped it out.
[i] I got the book. [ii] in the. [iii] office and . [iv] Slipped it out. Ans: [iv].


32) Point out error:(about a flowers garden)
Ans: “among on another”. (I can’t remember the options).





EXAMAPERS123.BLOGSPOT.COM









wipro question paper




1) abcD+abcd+aBCd+aBCD then the simplified function is( Capital letters are copliments of corresponding letters A=compliment of a) [a] a [b] ab [c] abc [d] a(bc)* [e] none
(bc)*=compliment of bc Ans: e

2) A 12 address lines maps to the memory of[a] 1k bytes [b] 0.5k bytes [c] 2k bytes [d] none Ans: b

3) In a processor these are 120 instructions . Bits needed to impliment this instructions
[a] 6 [b] 7 [c] 10 [d] none Ans: b


4) In 8085 microprocessor READY signal does.which of the following is incorrect statements
[a]It is input to the microprocessor [b] It sequences the instructions Ans : b


5) Return address will be returned by function to [a] Pushes to the stack by call Ans : a

6) n=7623
{
temp=n/10;
result=temp*10+ result;
n=n/10
} Ans : 3267


7) If A>B then
F=F(G);
else B>C then
F=G(G);
in this , for 75% times A>B and 25% times B>C then,is 10000 instructions are there ,then the ratio of F to G [a] 7500:2500 [b] 7500:625 [c] 7500:625 if a=b=c else 7500:2500

8) In a compiler there is 36 bit for a word and to store a character 8bits are needed. IN this to store a character two words are appended .Then for storing a K characters string, How many words are needed. [a] 2k/9 [b] (2k+8)/9 [c] (k+8)/9 [d] 2*(k+8)/9 [e] none Ans: a

9) C program code>
int zap(int n)
{
if(n<=1)then zap=1;
else zap=zap(n-3)+zap(n-1);
}
then the call zap(6) gives the values of zap [a] 8 [b] 9 [c] 6 [d] 12 [e] 15 Ans: b






EXAMAPERS123.BLOGSPOT.COM







FRIENDS ALL THE BEST......