Zensar technical C question - placement paper

Zensar technical C question - placement paper


1. To delete all of the data from the table and to aid in not writing roll back segment which command is used?

A. Delete
B. Cascade
C. Truncate
D. Drop

2. Which of these functions can be used efficiently to return back a portion of character string?

A. Substring
B. Substr
C. Instr
D. Pos

3. What is the complexity of merge sort?

4. Which sorting techniques can be used to sort {1,2,3,4,5}?

5. Which register in a microcontroller is used to hold next instruction?

A. STACK
B. PC
C. ARG
D. PSW

6. What is the significance of (*xyz [13])

7. What do you mean by true form?

A. No reference made to class
B. Child class reference in this case is fully compatible with base reference.
C. Base call reference is fully compatible with child class reference
D. All of the above

8. Int fun(), in this case how is a pointer defined?

9. Which of these is fastest?

A. TELNET
B. TCP
C. FTP

10. Consider (fp=fopeen(\”dfas\”,”r\”)==NULL)

What will be the value of fp?

A. Null
B. 0
C. 1
D. Can be 0 or 1

11. Which of these is an object oriented language?

A. C++
B. Eiffel
C. Java
D. All

12. Which of these is/are considered storage class?

A. Automatic
B. Allocated
C. Static
D. All
Post your comment