
Wk12_PASS(11&12)
Authored by Shu Li
Computers
1st - 3rd Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
40 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What is the output of the code snippet if input = ForLOOP?
fORloop
forloop
ForLoop
Forloop
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What is the output of the code snippet?
10 9 8 7 6 5 4 3 2
10 9 8 7 6 5 4 3 2 1
9 8 7 6 5 4 3 2 1 0
9 8 7 6 5 4 3 2 1
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What is the output of the code snippet?
Car show() called
Toyota show() called
Compiler Error
Runtime Error
Answer explanation
c is a reference of Car type and refers to an object of Toyota class. Runtime polymorphism happens and Toyota method is called
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What is the output of the code snippet?
Car show() called
Toyota show() called
Compiler Error
Runtime Error
Answer explanation
When a function is static, runtime polymorphism doesn't happen.
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Based on the provided code screenshot, what will be the output if you run: System.out.println(CarPark.displayNoOfCar()); ?
2
1
Error occurs
None of the above
Answer explanation
non-static method can access only through object called.
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
How many times will the menu print?
1
0
2
Error happens
7.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
What is the output of the code snippet if mark = 10?
25, 52
25, 51
15, 51
25, 53
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
35 questions
LONG QUIZ - SIA
Quiz
•
2nd Grade
40 questions
สอบกลางโมชั่นอินโฟรกราฟฟิก
Quiz
•
1st Grade
37 questions
Cryptography KS3
Quiz
•
3rd Grade
40 questions
Scratch Coding Assessment
Quiz
•
3rd - 6th Grade
42 questions
basis data query
Quiz
•
1st - 3rd Grade
35 questions
P2_T1: GOOGLE SLIDES TEST
Quiz
•
2nd Grade
40 questions
PTS PPLG 2
Quiz
•
1st Grade
37 questions
UTS Sistem Berkas
Quiz
•
1st - 5th Grade
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
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
22 questions
fractions
Quiz
•
3rd Grade
15 questions
Valentine's Day Trivia
Quiz
•
3rd Grade
18 questions
Comparing Fractions with same numerator or denominator
Quiz
•
3rd Grade
15 questions
Valentines Day Trivia
Quiz
•
3rd Grade
12 questions
Presidents' Day
Quiz
•
KG - 5th Grade
10 questions
History and Traditions of Valentine's Day
Interactive video
•
3rd - 6th Grade