Search Header Logo

8.12 C++ Test on Classes

Authored by Cynthia Hardesty

Computers, Instructional Technology

9th - 12th Grade

Used 26+ times

8.12 C++ Test on Classes
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A ________ is blue print that defines certain characteristics and behavior. It is simply a representation of different types of objects.

Class

Object

Attribute

Characteristics

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

an object is a /an instance of _______________

class

C++

object

iostream.h

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A function can have _____ inside the parenthesis

loops

Arguments/Parameters

Braces

Types

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A function that has no return type starts with:

int

void

Arguments

Braces

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A function that returns a whole number starts with the word

int

void

string

{ }

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

function is executed when it is

defined

prototyped

declared

called

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A function that changes the values of an object's attributes in a Class is also known as a:

string function

setter

getter

changer

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?