Sei sulla pagina 1di 5

Visit www.latestoffcampus.

com For More Placement Papers, Interview tips , Job Updates To Get 24*7 Updates Via Facebook Like Us @ http://www.facebook.com/LatestOffCampus
To Get Free Job Updates To Your mail Join US @ http://groups.google.com/group/latestoffcampus/subscribe

TITLE: Idea Cellular Sample Programming Placement Paper Level1 (Bolded option is your answer) 1. What are the types of linkages? A Internal and External B External, C Internal Internal and None 2. By default a real number is treated as a A long double B float C double D External and None

D far double

3. When we mention the prototype of a function? A Calling B Prototyping C Declaring D Declaring

4. What will you do to treat the constant 3.14 as a long double? A use 3.14L B use 3.14LF C use 3.14LD D use 3.14DL

5. What will you do to treat the constant 3.14 as a float? A use (f)(3.14) C use D use f(3.14) float(3.14f) 6. In which header file is the NULL macro defined? A stddef.h C stdio.h and D math.h stddef.h 7. If a variable is a pointer to a structure, then which of the following operator is used to access data members of the structure through the pointer variable? A& B* C. D -> 8. The operator used to get value at address stored in a pointer variable is
Visit www.latestoffcampus.com for placement papers, interview tips & job updates. To get free updates to mail https://groups.google.com/group/latestoffcampus Live updates on Facebook @ https://www.facebook.com/LatestOffCampus

B use 3.14f

B stdio.h

Visit www.latestoffcampus.com For More Placement Papers, Interview tips , Job Updates To Get 24*7 Updates Via Facebook Like Us @ http://www.facebook.com/LatestOffCampus
To Get Free Job Updates To Your mail Join US @ http://groups.google.com/group/latestoffcampus/subscribe

A*

B&

C ||

D &&

9. How will you free the allocated memory ? A delete(varB free(varC dalloc(varD remove(var-name); name); name); name); 10. Which bitwise operator is suitable for checking whether a particular bit is on or off? A || operator B && operator C & operator D ! operator 11. Which header file should be included to use functions like malloc() and calloc()? A string.h B memory.h C dos.h D stdlib.h

12. Does there any function exist to convert the int or float to a string? A Yes B No C Cant Say D None of these

13. Which of the following is not logical operator? A || B& C! D &&

14. Which of the following cannot be checked in a switch-case statement? A Integer B Character C Float D enum

15. The keyword used to transfer control from a function back to the calling function is A go back B switch C goto D return 16. Which of the following correctly shows the hierarchy of arithmetic operations in C? A/*+B+-/* C/+*D*-/+

Visit www.latestoffcampus.com for placement papers, interview tips & job updates. To get free updates to mail https://groups.google.com/group/latestoffcampus Live updates on Facebook @ https://www.facebook.com/LatestOffCampus

Visit www.latestoffcampus.com For More Placement Papers, Interview tips , Job Updates To Get 24*7 Updates Via Facebook Like Us @ http://www.facebook.com/LatestOffCampus
To Get Free Job Updates To Your mail Join US @ http://groups.google.com/group/latestoffcampus/subscribe

17. How will you print \n on the screen? Aprintf("\n"); Bprintf("\\n"); Cprintf('\n'); Decho "\\n";

18. Which of the following function is more appropriate for reading in a multi-word string? A scanf(); B printf(); C gets(); D puts(); 19. Which of the following type of class allows only one object of it to be created? A Abstract B Virtual class C Friend class D Singleton class class 20. Which of the following approach is adapted by C++? A Bottom-up B Left-right C Top-down D Right-left

21. Which of the following concepts means wrapping up of data and functions together? AInheritance BEncapsulation CPolymorphism DAbstraction 22. Which of the following cannot be used with the keyword virtual? A member B class C constructor D destructor functions 23. Which of the following ways are legal to access a class data member using this pointer? A *this.x B *this-x C this.x D this->x 24. Which of the following is not a type of inheritance? ADistributive BHierarchical CMultilevel DMultiple

25. Which of the following header file includes definition of cin and cout?

Visit www.latestoffcampus.com for placement papers, interview tips & job updates. To get free updates to mail https://groups.google.com/group/latestoffcampus Live updates on Facebook @ https://www.facebook.com/LatestOffCampus

Visit www.latestoffcampus.com For More Placement Papers, Interview tips , Job Updates To Get 24*7 Updates Via Facebook Like Us @ http://www.facebook.com/LatestOffCampus
To Get Free Job Updates To Your mail Join US @ http://groups.google.com/group/latestoffcampus/subscribe

A istream.h

B iostream.h

C iomanip.h

D ostream.h

26. Which of the following is an invalid visibility label while inheriting a class? A private B public C friend D protected

27. Which of the following provides a reuse mechanism? AEncapsulation B Dynamic C Abstraction D Inheritance binding 28. How many instances of an abstract class can be created? A0 B1 C5 D 13

29. Which of the following is an abstract data type? A string B Class C int D double

30. Which of the following utilities can be used to compile managed assemblies into processor-specific native code? A sn B gacutil C ngen D dumpbin 31. Which of the following is NOT an Arithmetic operator in C#.NET? A% B/ C+ D **

32. Which of the following keyword is used to change the data and behavior of a base class by replacing a member of a base class with a new derived member? A new B overloads C base D override 33. Which of the following is an 8-byte Integer? A Byte B Long C Char D Short

Visit www.latestoffcampus.com for placement papers, interview tips & job updates. To get free updates to mail https://groups.google.com/group/latestoffcampus Live updates on Facebook @ https://www.facebook.com/LatestOffCampus

Visit www.latestoffcampus.com For More Placement Papers, Interview tips , Job Updates To Get 24*7 Updates Via Facebook Like Us @ http://www.facebook.com/LatestOffCampus
To Get Free Job Updates To Your mail Join US @ http://groups.google.com/group/latestoffcampus/subscribe

34. Creating empty structures is allowed in C#.NET. A None of B Cant Say C False D No these 35. A class implements two interfaces each containing three methods. The class contains no instance data. Which of the following correctly indicate the size of the object created from this class? A 8 bytes B 0 byte C 12 bytes D 24 bytes 36. Which of the following CANNOT be a target for a custom attribute? A Namespace B Interface C Enum D Delegate

Visit www.latestoffcampus.com for placement papers, interview tips & job updates. To get free updates to mail https://groups.google.com/group/latestoffcampus Live updates on Facebook @ https://www.facebook.com/LatestOffCampus

Potrebbero piacerti anche