
JPE Quiz 2

Quiz
•
Computers
•
1st - 7th Grade
•
Hard
Trung Dang
Used 3+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What will the following code print when compiled and run?
0 10
10 10
10 0
5 5
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What will the following program print when compiled and run:
It will not compile.
Value is null
Value is ""
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What will the following code print when compiled and run:
d2 val = d2
val = default
d2 val = D1
Exception at run time
4.
MULTIPLE SELECT QUESTION
1 min • 1 pt
Which set of statements result in ClassB and ClassC being derived from ClassA? (Choose two)
class ClassB extends ClassA {}
class ClassB extends ClassC {}
class ClassA extends ClassB {}
class ClassC extends ClassB {}
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Final methods can be overridden ?
True
False
6.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Which of the following access control keywords can be used to enable all the subclasses to access a method defined in the base class? (Choose two)
public
private
protected
No keyword is needed
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
How many times will the output contain 2?
1
2
3
4
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Year 9 Databases Quiz

Quiz
•
7th - 10th Grade
19 questions
Función input() y operadores de cadena

Quiz
•
1st Grade
15 questions
Dasar Algoritma dan Pemrograman

Quiz
•
7th Grade - University
19 questions
Ordinario Informática III

Quiz
•
1st - 5th Grade
20 questions
Test "Java Midlle skill proffi"

Quiz
•
1st - 5th Grade
20 questions
Basic Python Key Terms

Quiz
•
6th - 8th Grade
15 questions
ASK Tingkatan 2 - Bab 003 (3.1.1-3.1.2)

Quiz
•
7th - 9th Grade
16 questions
python 7. r - tipovi podataka, funkcije, metode

Quiz
•
7th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
8 questions
Time Management

Quiz
•
6th Grade
15 questions
Acceptable Use Policy (Quiz)

Quiz
•
6th - 8th Grade
25 questions
Career Vs. Job

Quiz
•
6th - 8th Grade
12 questions
3-5 Digital Citizenship: Appropriate Use

Quiz
•
3rd - 5th Grade
10 questions
Keyboard Typing

Quiz
•
4th Grade
20 questions
Copyright and Fair Use

Quiz
•
6th - 8th Grade
16 questions
Input and Output devices

Quiz
•
5th Grade