December 2012 - Paper 2

36:  

Match the following IC families with their basic circuits :
a. TTL                          1. NAND
b. ECL                         2. NOR
c. CMOS                      3. Inverter

Code : a b c
 

A.

1 2 3

B.

3 2 1

C.

2 3 1

D.

2 1 3

 
 

Option: A

Explanation :

Click on Discuss to view users comments.

Anuradha said: (5:22pm on Thursday 9th January 2014)
Transistor-transistor logic (TTL)Emitter-coupled logicComplementary metal–oxide–semiconductor (CMOS)

Write your comments here:



37:  

Match the following with respect to C++ data types :
a. User defined type                   1. Qualifier
b. Built in type                             2. Union
c. Derived type                            3. Void
d. Long double                           4. Pointer

Code : a b c d
 

A.

 2 3 4 1 

B.

3 1 4 2

C.

4 1 2 3

D.

3 4 1 2

 
 

Option: A

Explanation :

Click on Discuss to view users comments.

Write your comments here:



38:  

Given an empty stack, after performing push (1), push (2), Pop, push (3), push (4), Pop, Pop, push(5), Pop, what is the value of the top of the stack ?

A.

4

B.

3

C.

2

D.

1

 
 

Option: D

Explanation :

Click on Discuss to view users comments.

Mohit Batta said: (12:34pm on Monday 25th February 2013)
According to me answer is (D) 1
suman sharma said: (1:32pm on Sunday 8th September 2013)
push means to insert new value at the top of the stack.pop means to delete value from the top of the stack.acc. to question stack is empty...now insert 1 and insert 2 now there is a two value in a stack...next operation is pop means delete from the top of the stack...it means 2 is delete ...next operation is insert 3 and 4.now new elements in the stack is 1 3 4. now two times pop...delete two value from stack ....therefore 4 and 3 is delete from the stack now only 1 is left out in the stack...now push 5new elements in the stack is 1 5now next operation is popafter pop only 1 is left out on the top of the stack...

Write your comments here:



39:  
Enumeration is a process of
 
A. Declaring a set of numbers
B. Sorting a list of strings
C. Assigning a legal values possible for a variable
D. Sequencing a list of operators
 
 

Option: C

Explanation :

Click on Discuss to view users comments.

Write your comments here:



40:   Which of the following mode declaration is used in C++ to open a file for input ?
A. ios : : app
B. in : : ios
C. ios : : file
D. ios : : in
 
 

Option: D

Explanation :

Click on Discuss to view users comments.

Write your comments here: