0% found this document useful (0 votes)
311 views7 pages

Onmobile Sample Programming Placement Paper Level1

Onmobile Sample Programming Placement Paper Level1
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
311 views7 pages

Onmobile Sample Programming Placement Paper Level1

Onmobile Sample Programming Placement Paper Level1
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

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: Onmobile Sample Programming Placement Paper Level1 (Bolded option is your answer) 1. To print out a and b given below, which of the following printf() statement will you use? #include<stdio.h> float a=3.14; double b=3.14; A printf("%f %lf", a, b); 2. To scan a and b given below, which of the following scanf() statement will you use? #include<stdio.h> float a; double b; A scanf("%f %lf", &a, &b); 3. What will happen if in a C program you assign a value to an array element whose subscript exceeds the size of array? A The program may crash if some important data gets overwritten. 4. What do the 'c' and 'v' in argv stands for? A 'c' means argument count 'v' means argument vector. 5. correct order of mathematical operators ? A Division, Multiplication, Addition, Subtraction
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

6. ___cannot be checked in a switch-case statement? A Float 7. the correct order of evaluation for the below expression z=x+y*z/4%2-1 A*/%+-= 8. What type of join is needed when you wish to include rows that do not have matching values? A Outer join 9. ____statements is true concerning routines and triggers? A Both consist of procedural code. 10. How many tables may be included with a join? A There is no limit 11. What is the name of the method used to start a thread execution? A start(); 12. _____methods are defined in class Thread? A start() and run()
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. _____will directly stop the execution of a Thread? A wait() 14. A distributed database has which of the following advantages over a centralized database? A Modular growth 15. A transaction manager will A Maintains a log of transactions,before and after database images and appropriate concurrency control. 16. Some of the columns of a relation are at different sites is A Vertical Partitioning 17. Storing a separate copy of the database at multiple locations is A Data Replication 18. A reference is declared using the _____ symbol. A& 19. A referenced does not need to be de-referenced to access a value.(True or false)

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 True 20. Reference is like a _____ A Pointer 21. What happens when we try to compile the class definition in following code snippet? class Birds {}; class Peacock : protected Birds {}; A It will compile succesfully. 22. How can we make a class abstract? A By making at least one member function as pure virtual function. 23. _____type of data member can be shared by all instances of its class? A Static 24. Constructor is executed when ____ A an object is created 25. How many objects can be created from an abstract class? A 0(Zero)

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

26. int Function(int Tmp = Show()); This code is perfectly acceptable(yes/no)? A yes 27. ____is an 8-byte Integer? A Long 28. Integer,Single,Long are ____ types? A value 29. _____is the correct default value of a Boolean type? A False 30. ___ are assemblies can be stored in Global Assembly Cache? A Shared Assemblies 31. ____is the root of the .NET type hierarchy? A System.Object 32. _______ is notT a .NET Exception class? A StackMemoryException
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. switch(x) { default: System.out.println("Hello"); } The acceptable types for x are A byte and char 34. Thread(Runnable r, String name) and Thread() are A valid constructors for Thread. 35. notify(); is _________ A methods of the Object class. 36. ________header file should be included to use functions like malloc() and calloc()? A stdlib.h 37. _______function should be used to free the memory allocated by calloc() ? A free(); 38. malloc() and calloc() are ___________ A Library functions to dynamically allocate memory.

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

39. Declare the following statement "An array of three pointers to chars". A char *ptr[3]; 40. What do the following declaration signify? int (*pf)(); A pf is a pointer to a function which return int.

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

You might also like