
Term-long Review
Authored by Farah Habib
Computers
University
Used 8+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
32 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT an advantage of proper encapsulation?
Encapsulation helps to enforce constraints
Encapsulated code uses less memory when executed
Encapsulation provides a more abstract view of classes
All of the above are advantages encapsulation provides
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
_____ helps deal with complexity by hiding unnecessary details.
Abstraction
Access modifiers
Encapsulation
Privacy screens
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
private, public, and protected are examples of __________
Attribute modifiers
Method modifiers
Access modifiers
Static modifiers
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these variable assignments is valid?
int x = 5.7;
double x = "5";
char x = "A";
String x = "5";
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If A is a subclass of B, then which of the following is true:
Objects of type B can be stored in variables of type A
Objects of type A can be stored in variables of type B
Both of the above are true
None of the above is true
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
To treat an object of type A as an object of type B, this must be true:
A implements the interface B
B is a descendant class of A
Both of the above can be true
None of the above are true
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
'Upcasting' a variable is a safe operation that does not require an explicit typecast statement.
True
False
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
31 questions
Quiz#8: Elements of Film Form
Quiz
•
University
28 questions
C multiple choices
Quiz
•
University
28 questions
Chapter13: Assessment
Quiz
•
7th Grade - Professio...
35 questions
SCRATCH
Quiz
•
4th Grade - University
30 questions
IT security - 3
Quiz
•
9th Grade - University
27 questions
Mock Test
Quiz
•
University
27 questions
Data Structures Midterm Exam WRI
Quiz
•
University
28 questions
PROGRAMACION WEB
Quiz
•
5th Grade - University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
10 questions
Probability Practice
Quiz
•
4th Grade
15 questions
Probability on Number LIne
Quiz
•
4th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
6 questions
Appropriate Chromebook Usage
Lesson
•
7th Grade
10 questions
Greek Bases tele and phon
Quiz
•
6th - 8th Grade
Discover more resources for Computers
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
20 questions
Endocrine System
Quiz
•
University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
30 questions
W25: PSYCH 250 - Exam 2 Practice
Quiz
•
University
5 questions
Inherited and Acquired Traits of Animals
Interactive video
•
4th Grade - University
20 questions
Implicit vs. Explicit
Quiz
•
6th Grade - University
7 questions
Comparing Fractions
Interactive video
•
1st Grade - University
38 questions
Unit 8 Review - Absolutism & Revolution
Quiz
•
10th Grade - University