1A_C++ OOP Quiz

1A_C++ OOP Quiz

Professional Development

20 Qs

quiz-placeholder

Similar activities

Linking in Coding

Linking in Coding

Professional Development

15 Qs

C++ Lambda Expression

C++ Lambda Expression

University - Professional Development

20 Qs

Ultrasonic

Ultrasonic

Professional Development

15 Qs

PSC Quiz1

PSC Quiz1

University - Professional Development

20 Qs

C programming_Shivank

C programming_Shivank

Professional Development

20 Qs

CodeHS - Intro to Python - Conditionals Quiz

CodeHS - Intro to Python - Conditionals Quiz

9th Grade - Professional Development

15 Qs

De todo

De todo

1st Grade - Professional Development

16 Qs

SD_Final Quiz

SD_Final Quiz

Professional Development

20 Qs

1A_C++ OOP Quiz

1A_C++ OOP Quiz

Assessment

Quiz

Computers

Professional Development

Easy

Created by

Mel Bautista

Used 1+ times

FREE Resource

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

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?