8.12 C++ Test on Classes

8.12 C++ Test on Classes

9th - 12th Grade

15 Qs

quiz-placeholder

Similar activities

Java Fundamentals

Java Fundamentals

11th Grade

17 Qs

STM20263 Topic 5 -  User Defined Function

STM20263 Topic 5 - User Defined Function

9th Grade

15 Qs

X Comp Quiz

X Comp Quiz

10th Grade

17 Qs

C# lesson10

C# lesson10

1st - 10th Grade

10 Qs

J277 Programming - Data Types

J277 Programming - Data Types

9th - 11th Grade

11 Qs

Functions in C++

Functions in C++

11th Grade

20 Qs

APCSA Arrays

APCSA Arrays

9th - 12th Grade

20 Qs

Java

Java

11th Grade

10 Qs

8.12 C++ Test on Classes

8.12 C++ Test on Classes

Assessment

Quiz

Computers, Instructional Technology

9th - 12th Grade

Medium

Created by

Cynthia Hardesty

Used 26+ times

FREE Resource

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

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?