
APQuiz-G
Authored by MR ARORA
Computers
University
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Predict the output
5 6 5 6
Error
5 5 6 6
5 6 6 5
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Predict the Output.
2
0
error
3
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which exception is thrown when java is out of memory?
MemoryError
OutOfMemoryError
MemoryOutOfBoundsException
MemoryFullException
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Predict the Output
1
Memory Error
Compilation Error
5
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of these keywords are used for the block to be examined for exceptions?
try
catch
throw
finally
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Predict the output.
Derived class
Test class
Compilation Error
Runtime Error
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is FALSE about finally block?
For each try block, there can be only 1 finally block.
finally block will not be executed if program exits by calling System.exit();
If an exception is not handled in the catch statement, before terminating the program, JVM executes the finally block
finally block contains important code segment and so the code inside finally block is executed with/without the presence of try block in java code.
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
CS1010 Lab 02
Quiz
•
University
10 questions
Digital Electronics - Memory Devices
Quiz
•
University
10 questions
CSNP-04103 Chapter 6 - Functions
Quiz
•
University
10 questions
TIU Quiz-9
Quiz
•
University
10 questions
Classification in Machine Learning2
Quiz
•
University
10 questions
Programación II Parte 5
Quiz
•
University
10 questions
Operating System and Computer Architecture Quiz
Quiz
•
University
10 questions
Clasificación de Bases de Datos
Quiz
•
10th Grade - University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade