
APP Quiz 1
Authored by Lakshminarayanan R
Computers
University
Used 4+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be the output of the following code?
int x = 5;
if (x++ == 5) {
System.out.println("x was 5");
} else {
System.out.println("x was not 5");
}
System.out.println("x is now " + x);
x was 5, x is now 6
x was not 5, x is now 6
x was 5, x is now 5
x was not 5, x is now 5
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the type of variable ‘b’ and ‘d’ in the following Java snippet?
int a[], b;
int []c, d;
‘b’ and ‘d’ are int
‘b’ and ‘d’ are arrays of type int
‘b’ is int variable; ‘d’ is int array
‘d’ is int variable; ‘b’ is int array
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What will be the output?
5 and Class B
10 and Class A
5 and Class A
10 and Class B
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What will be the output of the following Java program?
Compilation error
Runtime error
5 6 5 6
5 6 5
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following is a type of polymorphism in Java Programming?
Multiple polymorphism
Compile time polymorphism
Multilevel polymorphism
Execution time polymorphism
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What will be the result of the following code?
Static method
Instance method
Compilation error
Runtime error
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What will be the output of this ?
1
120
0
125
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
8 questions
Arquitetura de computadores (Aula 2)
Quiz
•
University
12 questions
Javascript
Quiz
•
University
9 questions
Los periféricos del computador
Quiz
•
1st Grade - Professio...
10 questions
Quizizz
Quiz
•
University
10 questions
Repaso F1007B (Bloque 3)
Quiz
•
University
10 questions
Programación II Parte 5
Quiz
•
University
10 questions
ECM3434 Business Analysis 1 - Data Modelling
Quiz
•
University
9 questions
CHAPTER 5 ONLINE QUIZ
Quiz
•
University
Popular Resources on Wayground
7 questions
History of Valentine's Day
Interactive video
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
15 questions
Valentine's Day Trivia
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Computers
18 questions
Valentines Day Trivia
Quiz
•
3rd Grade - University
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
23 questions
Subject Verb Agreement
Quiz
•
9th Grade - University
5 questions
What is Presidents' Day?
Interactive video
•
10th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
20 questions
Mardi Gras History
Quiz
•
6th Grade - University
10 questions
The Roaring 20's Crash Course US History
Interactive video
•
11th Grade - University
17 questions
Review9_TEACHER
Quiz
•
University