Complex Question Types in Java Program
Quiz by Imelda Zapanta
Feel free to use or edit a copy
includes Teacher and Student dashboards
Track each student's skills and progress in your Mastery dashboards
- edit the questions
- save a copy for later
- start a class game
- automatically assign follow-up activities based on students’ scores
- assign as homework
- share a link with colleagues
- print as a bubble sheet
- Q1
Match the image to the correct Program IDE
linking://Java IDE|#a07aab60-64ef-4701-b033-a5d4d04a1d76/question/dadf694010f9056cdbcb997787cf5ff3aa77609a.png:C++ IDE|#a07aab60-64ef-4701-b033-a5d4d04a1d76/question/2f498d27c8e6d952aacbfbbd83e0d60bc343b7de.png:VB IDE|#a07aab60-64ef-4701-b033-a5d4d04a1d76/question/6b308ead636bce9c7067e3fc89af828f5aba0a2e.png
30sTLE_ICTJAVA11-12MCT-Ie16 - Q2
Group the following images according to their classification
sorting://Java IDE|#a07aab60-64ef-4701-b033-a5d4d04a1d76/question/cd9454aa4af171c424e334feb7358eee5bf50908.png,#a07aab60-64ef-4701-b033-a5d4d04a1d76/question/629f1202e2e92cc9aa4314d2e0bcfd9645540896.png:VB IDE|#a07aab60-64ef-4701-b033-a5d4d04a1d76/question/4ebc5153767b1985c1358422a5d2b4cdb11fb989.png,#a07aab60-64ef-4701-b033-a5d4d04a1d76/question/d51b0859059836e807021a2674703d54edde667b.jpg
30sTLE_ICTJAVA11-12PCO-IIa25 - Q3
Which of the following is smallest integer data type ?
byte
short
char
int
30sTLE_ICTJAVA11-12CFJA-IIbe-38 - Q4
videoq:4f82EYG81c0: 05:00//What is printed by the following statement?System.out.print(“Hello,\nworld!”);
Hello, \nworld!
<first line>Hello,
<second line>world!
Hello, world!
“Hello, \nworld!”
30sTLE_ICTJAVA11-12MCT-Ie16 - Q5
Arrange the following Steps in Programming
ordering://Program Design|1:Coding|2:Compilation and Execution|3:Debugging|4:Testing|5:Program Documentation|6
30sTLE_ICTJAVA1 1-12PCO-Ii-23 - Q6
Sort the following whether it is a Java Reserved Words or Identifier
sorting://Reserved Word|static,private,enum:Identifier|studName,myActivity,sum
30sTLE_ICTJAVA11-12CFJA-IIbe-38 - Q7
Match the following Java Program terms with their example
linking://data type|float:variable|average:keyword|public
30sTLE_ICTJAVA11-12CFJA-IIbe-38 - Q8
In Java, a try block should immediately be followed by one or more _______________ blocks.
freetext://Catch
30sTLE_ICTJAVA11-12CFJA-IIfi-39 - Q9
Give one(1) example of Java Data type.
freetextm://byte:short:int:long:float:double
30sTLE_ICTJAVA11-12CFJA-IIbe-38 - Q10
Which statement is true in java language?
multiplem://A public member of a class can be accessed in all the packages.:A private member of a class cannot be accessed from its derived class.:A protected member of a class can be accessed from its derived class.
A private member of a class cannot be accessed by the methods of the same class.
30sTLE_ICTJAVA11-12CFJA-IIbe-38 - Q11
What are the six steps in Programming?
jumble://Program Design,Coding,Compilation and Execution,Debugging,Testing.
Program Documentation
30sTLE_ICTJAVAT11-12PCOIIb-c-26 - Q12
The blank space in the following sentence has to be correctly filled :
Members of a class specified as _______________ are accessible only to methods of that class.
scrambled://Private
30sTLE_ICTJAVA11-12POADIIId-g-31 - Q13
A class has always a constructor (possibly automatically supplied by the java compiler).
boolean://True
30sTLE_ICTJAVA11-12CFJA-IIbe-38 - Q14
Which of the following will the output of the above code be?
#################
&&&&&&&&&
===============
#################
&&&&&&&&&&
===============
&&&&&&&&&&&
30sTLE_ICTJAVA11-12CFJA-IIbe-38