Home / Placement Papers / Cadence / Technical Questions Asked In Cadence

Technical Questions Asked In Cadence

Technical Questions Asked In Cadence

1.The Program Counter (PC)

A.is a register
B.during exacution of the current instruction, its content changes
C.both (a) and (c)
D.none of these

2.Virtual memory

A.is a method of memory allocation by which the program is subdivided into equal portions,
B.8 pages and core is subdivided into equal portions
C.consists of those addresses that may begenerated by a processor during execution of a computation
D.is a method of allocating processor time
E.allows multiple programs to reside in separate areas of core at a time

3.To scan a and b given below which scanf () statement would you use?
flat a;
double b;

A.scanf (“%f%f”,&a,&b);
B.Scan f (“%Lf%Lf”,&a,&b);
C.scanf(“%f%Lf”,&a,&b);
D.Scanf(“%f%1f’,&a,&b);

4.Which of the following statements is incorrect?

A.C provides no input-output features
B.C provides no file access features
C.Provides no features to manipulate composite objects
D.All of these

5. Consider following program fragment:
char c = ‘a’; while
while (c++ < = ‘z’)
putchar (xxx);
If required output is abed……xyz, then xxx should be

A.C
B.c-2
C.C-1
D.–c

6.The average time required to perform a successful sequential search for an element in an array
A(l : n) is given by

A.(n + 1)/2
B.Log2 n
C.n(n + 1)/2
D.n2

Leave a Reply

Your email address will not be published. Required fields are marked *