NTOPR151 L1

NTOPR151 L1

University

21 Qs

quiz-placeholder

Similar activities

Java Quiz I

Java Quiz I

University

17 Qs

Quiz#1 IT ERA

Quiz#1 IT ERA

University

16 Qs

Quiz# 1 Applications of ICT

Quiz# 1 Applications of ICT

University

20 Qs

Systems, Applications, Programming, and Embedded Software

Systems, Applications, Programming, and Embedded Software

8th Grade - University

20 Qs

Level 3 Final Exam Review 2

Level 3 Final Exam Review 2

University

21 Qs

Desenvolvimento sis 2tri

Desenvolvimento sis 2tri

12th Grade - University

20 Qs

Object-Oriented Programming and Java Basics Quiz

Object-Oriented Programming and Java Basics Quiz

University

16 Qs

Java Programming Quiz

Java Programming Quiz

University

18 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?