LIST OF ATTEMPTED QUESTIONS AND ANSWERS
Select The Blank
Question: After calling start( ) NewThread, constructor returns to
________.
Correct Answer: main( )
Your Answer: main( )
True/False
Question: Nested if is less efficient then switch statement.
Correct Answer: True
Your Answer: True
Match The Following
Question Correct Answer Your Answer
Constructor Initialization object Initialization object
Parameters Method Generalized Method Generalized
Memory deallocation Garbage Collection Garbage Collection
This Current Object Current Object
Multiple Choice Multiple Answer
Question: Which thread is created automatically when the program is
started?
Correct Answer: Main thread
Your Answer: Main thread , Current thread
Select The Blank
Question: When java program starts up, one thread begin runing and
it is called ________thread.
Correct Answer: main( )
Your Answer: main( )
Multiple Choice Single Answer
Question: Multiple Choice Single Response
Correct Answer: Object oriented programming.
Your Answer: Systems Programming.
Multiple Choice Single Answer
Question: Which statement will always execute the body of a loop at
least once?
Correct Answer: Do
Your Answer: Do
True/False
Question: In While loop condition can be any Boolean expression
Correct Answer: True
Your Answer: True
Multiple Choice Multiple Answer
Question: By Providing the interface keyword, Java allows you to
fully utilize the which aspect of polymorphism?
Correct Answer: One interface , Multiple methods
Your Answer: One interface , Multiple methods
True/False
Question: Short data type range is -30,376 to 32768.
Correct Answer: False
Your Answer: False
Multiple Choice Single Answer
Question: Which is a public static member of thread?
Correct Answer: Currenthread( )
Your Answer: Currenthread( )
Multiple Choice Multiple Answer
Question: Which of the following is the declaration of an array of
string objects?
Correct Answer: String[ ] s; , String [ ]s: , String[ s]:
Your Answer: String[ s]: , String s[ ]:
Multiple Choice Multiple Answer
Question: There are two distinct types of multitasking. Which are
those?
Correct Answer: Process based , Thread-base
Your Answer: Process based , Thread-base
Select The Blank
Question: ________ is probably the least used java data type
Correct Answer: short
Your Answer: short
True/False
Question: Casting between primitive types allows conversion of one
primitive type to another.
Correct Answer: True
Your Answer: True
Multiple Choice Multiple Answer
Question: What are different modifiers?
Correct Answer: Private , Protected , Final
Your Answer: Private , Protected , Final
Multiple Choice Single Answer
Question: A Java application can execute anywhere on the network,
this implements that Java is :-
Correct Answer: Architecture neutral
Your Answer: Architecture neutral
Multiple Choice Single Answer
Question: Java Applets are intelligent programs means :-
Correct Answer: They can react to user input and dynamically change.
Your Answer: They have additional intelligence.
Select The Blank
Question: The name of the new thread is specified by ________.
Correct Answer: threadName
Your Answer: Newthread
Select The Blank
Question: ________ is referred by a variable candidate for garbage
collection when the variable goes out of scope.
Correct Answer: Objects
Your Answer: Objects
Select The Blank
Question: The ________ repeat a set of code while the condition is
false.
Correct Answer: While loop
Your Answer: For
Multiple Choice Single Answer
Question: Select the facility provided along with JVM which enhances
speed of execution :-
Correct Answer: Just-In-Time (JIT) compiler.
Your Answer: Just-In-Time (JIT) compiler.
Select The Blank
Question: ________ is an instance of the class.
Correct Answer: Object
Your Answer: Object
Multiple Choice Single Answer
Question: What is a data structure that controls the state of a
collection of threads as a whole?
Correct Answer: Thread group
Your Answer: Thread group
Multiple Choice Single Answer
Question: Which statement used inside a set of nested loops, will
only break out of the innermost loop?
Correct Answer: Break
Your Answer: Break
Multiple Choice Multiple Answer
Question: Which are the keywords use in switch statement?
Correct Answer: Case , Default
Your Answer: Case , Default
Multiple Choice Single Answer
Question: The argument to which specifies the delayperiod in
milliseconds
Correct Answer: sleep( )
Your Answer: sleep( )
Multiple Choice Multiple Answer
Question: Which loops can be nested in java?
Correct Answer: While , Do-while , For
Your Answer: While , Do-while , For
True/False
Question: If the break statement is omited in switch statement, then
execution will continue on into the next case.
Correct Answer: True
Your Answer: True
Match The Following
Question Correct Answer Your Answer
Exit any loop Break Exit
If Else Else
Loop While While
Jump Break, continue, return Break, continue, return
Multiple Choice Single Answer
Question: To import a class, what is a syntax used?
Correct Answer: import classname;
Your Answer: import classname;
Select The Blank
Question: The ________ keyword halts the execution of the current
loop and forces control out of the loop.
Correct Answer: Break
Your Answer: Break
Multiple Choice Multiple Answer
Question: Java's multithreading system is built upon :-
Correct Answer: Thread class , Its methods , Companion interface
Your Answer: Thread class , Its methods , Companion interface
True/False
Question: When an object is referenced, it mean that it has been
identified by the finalizer method for garbage collection.
Correct Answer: False
Your Answer: True
Multiple Choice Single Answer
Question: Which Control Statements allow the program to choose
different paths of execution?
Correct Answer: Selection
Your Answer: Selection
Multiple Choice Multiple Answer
Question: Method definition has four parts, they are :-
Correct Answer: Name of the method , Type of object , List of
parameters
Your Answer: Name of the method , List of parameters
Select The Blank
Question: There are ________ kinds of Floating point type
Correct Answer: Two
Your Answer: Two
Multiple Choice Multiple Answer
Question: What returns a reference to the thread in which it is
called?
Correct Answer: Method , Class , Object
Your Answer: Method , Class , Object
Multiple Choice Single Answer
Question: Which statement defines a name space in which classes are
stored?
Correct Answer: package
Your Answer: objects
Select The Blank
Question: ________ is an instance of a class that implements the
runnable interface.
Correct Answer: threadOb
Your Answer: threadOb
Multiple Choice Multiple Answer
Question: The Stack performs which two function?
Correct Answer: pop( ) , push( )
Your Answer: pop( ) , push( )
True/False
Question: The for statement loop can be infinite.
Correct Answer: True
Your Answer: True
True/False
Question: A thread's priority is used to decide when to switch from
one running thread to the next, this is called as the context switch.
Correct Answer: True
Your Answer: True
Multiple Choice Multiple Answer
Question: Which one does not extend java.lang.Number?
Correct Answer: Boolean , Character
Your Answer: Integer , Boolean , Character
Multiple Choice Single Answer
Question: If you do not implement all the methods of an interface
while implementing, what specifier should you use for the class ?
Correct Answer: abtract
Your Answer: abtract
True/False
Question: Running threads can be suspended, which temporarily
suspends its activity.
Correct Answer: True
Your Answer: True
Multiple Choice Single Answer
Question: What are the possible access modifiers while implementing
interface methods?
Correct Answer: public
Your Answer: public
Welcome to the Symbiosis Center for Distance Learning(SCDL) blog. This blog is for the students of SCDL who are doing post graduate diplomas in management from Symbiosis Center for Distance Learning SCDL Pune. Here they can get solved assignments and exam related information. It contains assignments for PGDBA PGDBFS PGDHRM PGDP&HRM PGDIB PGDEXIM, PGDBCL PGDCRMPGDSCM PGDRM, PGDDS PGDIT PGDPM PGDEM PGDTWBM PGDIBM PGDEA PGDID PGDSC PGDPTT PGPAM PGDJMC PGDPC PGCBA PGPF PGCHM PGCDT PGCFMA etc
Wednesday, August 6, 2008
Subscribe to:
Post Comments (Atom)
Search Assignments and Papers Here...
Custom Search
An Appeal to SCDL students
Dear SCDL Student,
We at http://scdlpapers.blogspot.com tries to collect and spread the knowledge in terms of the solved papers and assignments which we are getting through SCDL Alumni.
Now we request you to help other students through mutual sharing. Please send your assignment questions/papers to "mindgrill@gmail.com" . We will publish them on this blog along with your name.
Your help can be boon for many students to clear their exams.
Best of Luck and waiting for your contributions.
Team @ MindGrill
We at http://scdlpapers.blogspot.com tries to collect and spread the knowledge in terms of the solved papers and assignments which we are getting through SCDL Alumni.
Now we request you to help other students through mutual sharing. Please send your assignment questions/papers to "mindgrill@gmail.com" . We will publish them on this blog along with your name.
Your help can be boon for many students to clear their exams.
Best of Luck and waiting for your contributions.
Team @ MindGrill
No comments:
Post a Comment