You are on page 1of 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: Mindfire Solutions Sample Programming Placement Paper Level1 (Bolded option is your answer) 1. What are the different types of real data type in C ? A short int, B float, C double, long int, float double, double, long long int double 2. The binary equivalent of 5.375 is A None B C 101.011 D float, double

D 101.101110111

3. What will you do to treat the constant 3.14 as a float? A use B use C use f(3.14) D use 3.14f (f)(3.14) float(3.14f) 4. 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* 5. The operator used to get value at address stored in a pointer variable is A && B* C& D ||

6. How will you free the allocated memory ? A B C free(var-name); D dalloc(var-name); delete(var- remove(varname); name); 7. Which bitwise operator is suitable for turning on a particular bit in a number? A || operator B && operator C & operator D | operator

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

8. What function should be used to free the memory allocated by calloc() ? A free(); Cmemalloc(variable_name, D malloc(variable_name, 0) 0) 9. Input/output function prototypes and macros are defined in which header file? A conio.h B stdio.h C dos.h D stdlib.h B dealloc();

10. Can you use the fprintf() to display the output on the screen? A Cant Say B No C Yes D None

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

12. The keyword used to transfer control from a function back to the calling function is A return B switch C goto D go back 13. Which of the following correctly shows the hierarchy of arithmetic operations in C? A+-/* B/*+C*-/+ D/+*14. How will you print \n on the screen? A echo B printf("\n"); C printf("\\n"); D printf('\n'); "\\n"; 15. Which of the following function is more appropriate for reading in a multi-word string? A scanf(); B printf(); C puts(); D gets(); 16. Which of the following is not the member of class?

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 Friend B Static function C Const function D Virtual function function 17. How many types of polymorphisms are supported by C++? A1 B2 C3 D4

18. Which of the following concepts means wrapping up of data and functions together? A Inheritance BEncapsulation C Polymorphism D Abstraction 19. 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 20. Which of the following header file includes definition of cin and cout? A istream.h B ostream.h C iomanip.h D iostream.h

21. Which of the following access specifier is used as a default in a class definition? A private B friend C public D protected

22. Which of the following access specifies is used in a class definition by default? A Friend B Private C Protected D Public

23. How many objects can be created from an abstract class? A As many B Two C Zero D One

24. Reference is like a _____. A Enum B Macro C Structure D Pointer

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

25. A reference is declared using the _____ symbol. A& B || C && D!

26. Which of the following utilities can be used to compile managed assemblies into processor-specific native code? A dumpbin B ngen C sn D gacutil 27. Which of the following is NOT a Bitwise operator in C#.NET? A~ B& C << D|

28. Which of the following keyword is used to overload user-defined types by defining static member functions? A B op C operatoroverload D operator opoverload 29. Which of the following is NOT an Integer? A Char B Byte C Short D Integer

30. Which of the following is NOT a namespace in the .NET Framework Class Library? A System.Xml B C System.Security System.Process 31. The [Serializable()] attribute gets inspected at A LinkingB DesignC Run-time time time 32. Which is a valid keyword in java? A string B Float C unsigned D System.Threading

D Compile-time

D interface

33. You want subclasses in any package to have access to members of a superclass. Which is the most restrictive access that accomplishes this objective?
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 protected B transient

C public

D private

34. What is the name of the method used to start a thread execution? A run(); B start(); C resume(); D init();

35. Which interface does java.util.Hashtable implement? A B Java.util.List C Java.util.Map Java.util.HashTa ble 36. Which is valid declaration of a float? A float f = "1"; B float f = 1.0; D Java.util.Collection

C float f = 1.0d;

D float f = 1F;

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

You might also like