
NTOPR151 L1
Authored by Tina Niekerk
Information Technology (IT)
University
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
21 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
The data items of an object are also known as _____________.
Fields
Functions
Themes
Instances
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
You send messages or information to an object through the _____________.
Fields
Methods
Classes
Type
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
A program or class that instantiates objects of another predefined class is a _____________.
Client class
Super class
Object
Protector
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
The body of a class is always written _____________.
In a single line, as the first statement in a class
Within parentheses
Between curly braces
As a method call
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Most class data fields are _____________.
Private
Public
Static
Final
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
The concept of allowing a class's private data to be changed only by the class's own methods is known as _____________.
Structured logic
Object orientation
Information hiding
Data masking
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Suppose you declare an object as Book myJournal;. Before you store data in myJournal, _____________.
You must also explicitly allocate memory for it
You do not need to explicitly allocate memory for it
You only need to explicitly allocate memory for it if it has a constructor
You cannot explicitly allocate memory for it
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?