Search Header Logo

1A_C++ OOP Quiz

Authored by Mel Bautista

Computers

Professional Development

Used 1+ times

1A_C++ OOP Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the language used for programming that is widely known for its object-oriented features and is an extension of the C programming language?

C

C++

Java

Python

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which C++ feature is used to get input from the user via the standard input device (usually the keyboard)?

getInput()

cin

input()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which feature in C++ allows programmers to add comments to the code to explain or annote sections to the code?

strings

print()

Comments

annotations

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What C++ feature is used to display output on the screen, typically using the standard output stream?

display()

write()

cout

print()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is the correct syntax to declare a variable in C++?

int x = 10;

var x = 10;

let x = 10;

declare int x = 10;

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operator is used to assign a value to a variable?

=

==

++

--

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data type is used to store a single character in C++?

char

int

float

bool

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?