1A_C++ OOP Quiz

1A_C++ OOP Quiz

Professional Development

20 Qs

quiz-placeholder

Similar activities

Linked List

Linked List

Professional Development

15 Qs

WOMANIA PRELIMS

WOMANIA PRELIMS

Professional Development

25 Qs

QUIZ-5 static, String and StringBuffer

QUIZ-5 static, String and StringBuffer

Professional Development

20 Qs

C second module quiz

C second module quiz

Professional Development

25 Qs

PSPC1

PSPC1

Professional Development

20 Qs

Condition

Condition

Professional Development

20 Qs

GAGC-Dotnet-SET2

GAGC-Dotnet-SET2

Professional Development

15 Qs

Menus, Dialog Boxes and Methods

Menus, Dialog Boxes and Methods

10th Grade - Professional Development

17 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?