NTOPR151 L1

NTOPR151 L1

University

21 Qs

quiz-placeholder

Similar activities

Mid Exam

Mid Exam

12th Grade - University

20 Qs

M2-3_W4

M2-3_W4

University

20 Qs

OSS (QUIZ 1) Introduction to Operating Systems

OSS (QUIZ 1) Introduction to Operating Systems

University

20 Qs

Data Security

Data Security

12th Grade - University

17 Qs

Systems, Applications, Programming, and Embedded Software

Systems, Applications, Programming, and Embedded Software

8th Grade - University

20 Qs

FINALS summative test in TRENDS

FINALS summative test in TRENDS

12th Grade - University

20 Qs

Quiz tentang Blok Scratch

Quiz tentang Blok Scratch

9th Grade - University

20 Qs

Quiz Stand Website

Quiz Stand Website

University

20 Qs

NTOPR151 L1

NTOPR151 L1

Assessment

Quiz

Information Technology (IT)

University

Practice Problem

Hard

Created by

Tina Niekerk

Used 3+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?