NTOPR151 L1

NTOPR151 L1

University

21 Qs

quiz-placeholder

Similar activities

Understanding Java Classes and Inheritance - UNIT 1

Understanding Java Classes and Inheritance - UNIT 1

University

25 Qs

Java Programming Quiz

Java Programming Quiz

University

20 Qs

Mastering Object-Oriented Programming in Java

Mastering Object-Oriented Programming in Java

University

20 Qs

Java Basics Quiz for CH/PT Students

Java Basics Quiz for CH/PT Students

University

16 Qs

Java Inheritance & Polymorphism Quiz

Java Inheritance & Polymorphism Quiz

University

25 Qs

Advanced Java MCQs

Advanced Java MCQs

University

20 Qs

KUIZ DIAGNOSTIK

KUIZ DIAGNOSTIK

11th Grade - University

20 Qs

Networking Quiz

Networking Quiz

University

26 Qs

NTOPR151 L1

NTOPR151 L1

Assessment

Quiz

Information Technology (IT)

University

Hard

Created by

Tina Niekerk

Used 3+ times

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?

Discover more resources for Information Technology (IT)