Monday, 19 March 2012

Internet, Web Programming and Java MCQ 03


1.     Who is the team leader of java development

a.      James Gosling
b.      James Bhatt
c.       John Gosling
d.      None of these

2.     Java was developed in the year

a.       1992
b.      1994
c.       1996
d.      1991

3.     Java became the general purpose in the year

a.       1998
b.      2000
c.       1996
d.      1997

4.     Java is a __________ programming language

a.       Second generation
b.      Third generation
c.       Fourth generation
d.      None of these

5.     Java uses __________ stage system for its program execution

a.       One
b.      Three
c.       Two
d.      Four

6.     Two stage systems are

a.      Compiler and interpreter
b.      Compiler and instruction
c.       Copy and interpreter
d.      None of these

7.     Compiler means
a.       Converts the program code to bit code
b.      Converts the program code to kilobyte code
c.       Converts the program code to byte code
d.      None of these
8.     Interpreter means
a.      Converts machine code on any machine
b.      Converts program code on any machine
c.       Both a & b
d.      None of these
9.     It is an OOPs, everything in java is ______

a.       An class
b.      An object
c.       An abstraction
d.      None

10. Java can support

a.       TCP/IP
b.      Multithreading
c.       Remote object
d.      All of these    

11. A program can perform more than one task simultaneously known as

a.       Multitasking
b.      Multiprogramming
c.       Multithreading
d.      None of these

12. ____ consists of various tools that are used to develop & execute java programs

a.      JDK
b.      JBK
c.       JEK
d.      JMK

13. How many tools lie in the java development kit

a.       One
b.      Two
c.       Three
d.      Four

14. Name the tools that lie in the jdk

a.      Javac, javadoc, javah
b.      Javab, javadoc, javav
c.       Javac, javatxt & javah
d.      Javak, javadoc & javah

15. Applets are

a.       Large programs
b.      Tiny programs
c.       Complex programs
d.      None of these

16. Javac means

a.      Converts java file to class file
b.      Converts class file  to java file
c.       Converts java file to object file
d.      None of these

17. With the help of compiler, java program is converted in to

a.       Octal code
b.      Byte code
c.       Object code
d.      Hexadecimal code



18. Jdk means

a.      Java development kit
b.      Java demonstrate kit
c.       Java development keyword
d.      None of these

19. Byte code is

a.      Machine- independent
b.      Machine-dependent
c.       Machine-instruction
d.      None of these

20. JVM means

a.       Java virtual motor
b.      Java void machine
c.       Java virtual machine
d.      None of these

21. A virtual machine exists inside the computer memory known as _______

a.      JVM
b.      Javac
c.       Javah
d.      Javadoc

22. Public static void main(string[] args) indicates the

a.       Function method
b.      Main method
c.       Program method
d.      None of these

23. Static method is a main method _____________

a.       Belongs to the entire object
b.      Belongs to the entire program
c.       Belongs to the entire class
d.      None of these

24. In c++, every statement in java must end _________

a.      With a semicolon
b.      With a terminator
c.       With a comma
d.      With a dot

25. Editors available for writing programs like

a.       Notepad
b.      Wordpad
c.       Jcreator
d.      All of these

26. Creating the file, save the file with the name _____________

a.      <filename>.java
b.      Java.<filename>
c.       <filename>,java
d.      Java,<filename>

27. Java must be the features of

a.      C/c++
b.      Vb
c.       Vc++
d.      .net

28. The initial name of java programming language is

a.      Oak
b.      Bean
c.       Mvc
d.      Jeslets

29. What is the name of 1st web browser that is designed for applets

a.      Hot java
b.      Opera
c.       Java mozilla
d.      Internet explorer

30. Which  feature is not supported by java

a.      Abstraction
b.      Pointer
c.       Polymorphism
d.      Inheritance

31. In which year the first web browser was develop:

a.       1991
b.      1996
c.       1993
d.      1990

32. By the year ____ java become the general-purpose:

a.       1990
b.      1992
c.       1996
d.      1993

33. Java features are supported:

a.       Simple
b.      Interpreted
c.       OOL
d.      All of these

34. Java is _______ in nature, which can link to new class libraries, objects, methods etc. At the run-time.

a.       Static
b.      Dynamic
c.       A & b
d.      None of these

35.   the  destructor function in java is replaced by __________ method

a.       Typdef
b.      Finalize
c.       Virtual
d.      None of these

36. The keyword is not supported in java:

a.       Typdef
b.      Virtual
c.       Both a & b
d.      None of these

37.  Java’s new innovation named ______ has completely changed the internet programming:

a.      Applet
b.      Javac
c.       Both of these
d.      None of these

 Java is  supported by which operating system:

e.       Windows server 2003
f.        Windows vista
g.       Windows 7
h.      All of these

38. Java is _______ platform

a.      Independent
b.      Dependent
c.       Strong
d.      None of these

39. Java compiler does not convert

a.      Machine code to source code
b.      Source code to machine code
c.       Program code to machine code
d.      Machine code to program code

40. The __________ keyword specifies that the main method does not returns the value

a.      Integer
b.      Float
c.       Void
d.      None of  these

41. The access specifier ___________ specifies that the main method is accessible to all other classes

a.      Private
b.      Public
c.       Personnel
d.      None of these

42. The ______________ data types are allocated memory by using the new operator

a.      Primitive
b.      Non-primitive
c.       Personnel
d.      None of these

43. Java a more _________________ language

a.      Flexible
b.      Reliable
c.       Both a & b
d.      None of these

No comments :

Post a Comment