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: VeriFone Sample Programming Placement Paper Level1 (Bolded option is your answer) 1. In C, if you pass an array as an argument to a function, what actually gets passed? A Base address of the array 2. Which bitwise operator is suitable for checking whether a particular bit is on or off? A & operator 3. What do the 'c' and 'v' in argv stands for? A 'c' means argument count 'v' means argument vector 4. What do the following declaration signify? A pf is a pointer to a function which return int 5. What do the following declaration signify? A argv is a pointer to a char pointer. 6. ________is not logical operator? A&

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. ________special symbol allowed in a variable? A (underscore) 8. Is the following statement a declaration or definition? A Definition 9. Which of the following is the correct usage of conditional operators used in C? A max = a>b ? a>c?a:c:b>c?b:c 10. Which of the following range is a valid long double ? A 3.4E-4932 to 1.1E+4932 11. The binary equivalent of 5.375 is A 101.011 12. ___________printf() statement will you use? A printf("%f %lf", a, b); 13. Which standard library function will you use to find the last occurance of a character in a string in C? A strrchr()
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

14. What is the purpose of fflush() function. A flushes all streams and specified streams. 15. Specify the 2 library functions to dynamically allocate memory? A malloc() and calloc() 16. A pointer is A A variable that stores address of other variable 17. How will you print \n on the screen? A printf("\\n"); 18. __________function is more appropriate for reading in a multiword string? A gets(); 19. ___________is NOT an Integer? A Char 20. ______________is the correct ways to set a value 3.14 in a variable pi such that it cannot be modified? A float pi = 3.14F;
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

21. ______________is the necessary condition for implementing delegates? A Class declaration 22. ____________utilities can be used to compile managed assemblies into processor-specific native code? A ngen 23. ______________.NET components can be used to remove unused references from the managed heap? A Garbage Collector 24. ________________statements is correct about the .NET Framework? A .NET Framework uses DCOM for making transition between managed and unmanaged code. 25. What is the prototype of the default constructor? A public Test( ) 26. ____________creates an instance of an array? A int[ ] ia = new int[15]; 27. Which is a valid declaration within an interface?

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 public static short stop = 23; 28. ___________anonymous inner class instance? A System.out.println(new Runnable() {public void run() { }}); 29. ____________would compile without error? A int a = Math.abs(-5); 30. __________reserved word in the Java programming language? A native 31. ___________will declare an array and initialize it with five numbers? A int [] a = {23,22,21,20,19}; 32. What is the numerical range of a char? A 0 to 65535 33. __________verride the equals() and hashCode() methods, inheriting them directly from class Object? A java.lang.StringBuffer 34. You need to store elements in a collection that guarantees that no duplicates are stored and all elements can be accessed in natural order.
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

Which interface provides that capability? A java.util.Set 35. Which is valid declaration of a float? A float f = 1F; 36. _________will directly stop the execution of a Thread? A wait() 37. _________contain the body of the thread? A run(); 38. _________will not directly cause a thread to stop? A notify() 39. The most popular way to materialize XML documents is to use: A XSLT. 40. XML Schemas consist of: A elements and attributes.
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

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