Você está na página 1de 7

Visit www.latestoffcampus.com for placement papers, interview tips & job updates. Toget freeupdates tomail http://groups.google.

com/group/latestoffcampus/subscribeLive updates on Facebook @ www.facebook.com/LatestOffCampus

TITLE: ISRO Sample Programming Placement Paper Level1 (Bolded option is your answer) 1. By default a real number is treated as a A double 2. When we mention the prototype of a function? A Declaring 3. What will you do to treat the constant 3.14 as a long double? A use 3.14L 4. The binary equivalent of 5.375 is A 101.011 5. ___________obtains the remainder on dividing 5.5 by 1.3 ? A rem = fmod(5.5, 1.3) 6. In which header file is the NULL macro defined? A stdio.h and stddef.h

Visit www.latestoffcampus.com for placement papers, interview tips & job updates. Toget freeupdates tomail http://groups.google.com/group/latestoffcampus/subscribeLive updates on Facebook @ www.facebook.com/LatestOffCampus

Visit www.latestoffcampus.com for placement papers, interview tips & job updates. Toget freeupdates tomail http://groups.google.com/group/latestoffcampus/subscribeLive updates on Facebook @ www.facebook.com/LatestOffCampus

7. The operator used to get value at address stored in a pointer variable is A* 8. Which bitwise operator is suitable for checking whether a particular bit is on or off? A & operator 9. Specify the 2 library functions to dynamically allocate memory? A malloc() and calloc() 10. Does there any function exist to convert the int or float to a string? A Yes 11. __________declaration mean? int (*ptr)[10]; A ptr is a pointer to an array of 10 integers 12. __________are unary operators in C? 1. ! 2. sizeof 3. ~ 4. && A 1, 2, 3

Visit www.latestoffcampus.com for placement papers, interview tips & job updates. Toget freeupdates tomail http://groups.google.com/group/latestoffcampus/subscribeLive updates on Facebook @ www.facebook.com/LatestOffCampus

Visit www.latestoffcampus.com for placement papers, interview tips & job updates. Toget freeupdates tomail http://groups.google.com/group/latestoffcampus/subscribeLive updates on Facebook @ www.facebook.com/LatestOffCampus

13. _________code #include<stdio.h> gets replaced by the contents of the file stdio.h A During preprocessing 14. How will you print \n on the screen? A printf("\\n"); 15. The maximum combined length of the command-line arguments including the spaces between adjacent arguments is A It may vary from one operating system to another 16. __________concepts means determining at runtime what method to invoke? A Dynamic binding 17. _____________correctly describes overloading of functions? A Ad-hoc polymorphism 18. ____________ways are legal to access a class data member using this pointer? A this->x 19. __________is incorrect?

Visit www.latestoffcampus.com for placement papers, interview tips & job updates. Toget freeupdates tomail http://groups.google.com/group/latestoffcampus/subscribeLive updates on Facebook @ www.facebook.com/LatestOffCampus

Visit www.latestoffcampus.com for placement papers, interview tips & job updates. Toget freeupdates tomail http://groups.google.com/group/latestoffcampus/subscribeLive updates on Facebook @ www.facebook.com/LatestOffCampus

A main() cannot be declared as member function of any class. 20. __________provides a reuse mechanism? A Inheritance 21. __________is correct regarding destructor of base class? A Destructor of base class should always be virtual. 22. ____________also known as an instance of a class? A Object 23. _______means "The use of an object of one class in definition of another class"? A Composition 24. ________will be correct if the function has three arguments passed to it? A The trailing argument will be the default argument. 25. _________is correct? A All the parameters of a function can be default parameters. 26. For automatic objects, constructors and destructors are called each time the objects
Visit www.latestoffcampus.com for placement papers, interview tips & job updates. Toget freeupdates tomail http://groups.google.com/group/latestoffcampus/subscribeLive updates on Facebook @ www.facebook.com/LatestOffCampus

Visit www.latestoffcampus.com for placement papers, interview tips & job updates. Toget freeupdates tomail http://groups.google.com/group/latestoffcampus/subscribeLive updates on Facebook @ www.facebook.com/LatestOffCampus

A enter and leave scope 27. A union that has no constructor can be initialized with another union of __________ type. A same 28. A __________ is a constructor that either has no parameters, or if it has parameters, all the parameters have default values. A default constructor 29. ____________is correct about constructors? A A constructor has no return type. 30. ________is correct? A A referenced does not need to be de-referenced to access a value. 31. ________is correct? A An array of references is not acceptable. 32. ________is the correct output for the C#.NET code snippet given below? Console.WriteLine(13 / 2 + " " + 13 % 2); A61

Visit www.latestoffcampus.com for placement papers, interview tips & job updates. Toget freeupdates tomail http://groups.google.com/group/latestoffcampus/subscribeLive updates on Facebook @ www.facebook.com/LatestOffCampus

Visit www.latestoffcampus.com for placement papers, interview tips & job updates. Toget freeupdates tomail http://groups.google.com/group/latestoffcampus/subscribeLive updates on Facebook @ www.facebook.com/LatestOffCampus

33. __________is correct about Bitwise ^ operator used in C#.NET? A The ^ operator can be used to Invert a bit. 34. How many times can a constructor be called during lifetime of the object? A Only once. 35. If s1 and s2 are references to two strings, then which of the following is the correct way to compare the two references? A s1.Equals(s2) 36. Which is a reserved word in the Java programming language? A native 37. __________is true about a static nested class? A It does not have access to nonstatic members of the enclosing class. 38. Which cause a compiler error? A int [ ][ ] scores = {2,7,6}, {9,3,45}; 39. Which three guarantee that a thread will leave the running state? 1.yield() 2.wait() 3.notify()
Visit www.latestoffcampus.com for placement papers, interview tips & job updates. Toget freeupdates tomail http://groups.google.com/group/latestoffcampus/subscribeLive updates on Facebook @ www.facebook.com/LatestOffCampus

Visit www.latestoffcampus.com for placement papers, interview tips & job updates. Toget freeupdates tomail http://groups.google.com/group/latestoffcampus/subscribeLive updates on Facebook @ www.facebook.com/LatestOffCampus

4.notifyAll() 5.sleep(1000) 6.aLiveThread.join() 7.Thread.killThread() A 2, 5 and 6 40. ________collection class allows you to grow or shrink its size and provides indexed access to its elements, but whose methods are not synchronized? A java.util.ArrayList

Visit www.latestoffcampus.com for placement papers, interview tips & job updates. Toget freeupdates tomail http://groups.google.com/group/latestoffcampus/subscribeLive updates on Facebook @ www.facebook.com/LatestOffCampus

Você também pode gostar