A _______ is a variable inside an object that make sup part of its internal state.

Object Oriented Programming

Quiz
•
Computers
•
12th Grade
•
Hard
Ian Garraway
Used 2+ times
FREE Resource
13 questions
Show all answers
1.
FILL IN THE BLANK QUESTION
30 sec • 2 pts
2.
FILL IN THE BLANK QUESTION
30 sec • 1 pt
A value that can be passed to a function or class when it is called.
3.
FILL IN THE BLANK QUESTION
30 sec • 1 pt
In OOP, creating an object from a class is a process known as...
4.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
The ability for a class to inherit the methods and attributes of a parent class. Its ‘child’ class can have its own methods and attributes and override methods of its parent class.
Polymorphism
Encapsulation
Attribute
Inheritance
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What makes it possible to create a new child class that shares the attributes and methods of the original (parent) class?
Instantiation
Inheritance
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the following code display when run?
String str1="Melvin";
String str2="Melvin";
if(str1!=str2)
System.out.print("I didn't expect that.");
else
System.out.print("This one is tricky.");
I didn't expect that.
This one is tricky.
7.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Ensuring private attributes can only be amended through public methods. This prevents objects being manipulated in unintended ways.
Polymorphism
Inheritance
Encapsulation
Object Oriented Programming
(OOP)
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
TN +2 LESSON 3 - SCOPING

Quiz
•
12th Grade
15 questions
H466 - Paradigms and High-Level Programming Languages

Quiz
•
12th Grade - University
12 questions
Module 8-Network Layer

Quiz
•
9th Grade - University
8 questions
Object Oriented Programming

Quiz
•
11th - 12th Grade
17 questions
1.4 principles of programming

Quiz
•
6th - 12th Grade
11 questions
Understanding Object-Oriented Programming Concepts (video)

Quiz
•
12th Grade
10 questions
C# Programming Quiz

Quiz
•
12th Grade
10 questions
Unit 23 - Pop Quiz

Quiz
•
12th Grade
Popular Resources on Wayground
25 questions
Equations of Circles

Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)

Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System

Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice

Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers

Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons

Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)

Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade