Basic C++ Programming Questions

Basic C++ Programming Questions

University

18 Qs

quiz-placeholder

Similar activities

Computer Hardware - CPU & GPU

Computer Hardware - CPU & GPU

7th Grade - University

16 Qs

Java Quiz 4

Java Quiz 4

University

15 Qs

Skill Competition Quiz 2024

Skill Competition Quiz 2024

10th Grade - University

20 Qs

Python Quiz

Python Quiz

University

15 Qs

Spreadsheet Fundamentals - Quiz2

Spreadsheet Fundamentals - Quiz2

University

20 Qs

Algoritma Remedial RPL

Algoritma Remedial RPL

University

20 Qs

Coding Karel 2

Coding Karel 2

KG - University

20 Qs

ITE TEST 2

ITE TEST 2

University

20 Qs

Basic C++ Programming Questions

Basic C++ Programming Questions

Assessment

Quiz

Computers

University

Practice Problem

Easy

Created by

Wayground Content

Used 13+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

18 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

iostream

Displays output from the screen and input from the keyboard

Has all the math equations

Counts the time

Checks if the code has a function

2.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

What punctuation is used to signal the beginning and end of code blocks?

{ }

-> and <-

BEGIN and END

( and )

3.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

What is the only function that all C++ programs must contain?

main ()

void ()

system ()

start ()

4.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Which of the following is called insertion/put to operator?

<<

>>

>

<

5.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

C++ is a

high-level language

low-level language

6.

MULTIPLE CHOICE QUESTION

3 mins • 5 pts

Which command moves the shown text to the next line?

\t
\n
\r
\s

7.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Which of the following is a correct comment?

*/ Comments */

** Comment **

/* Comment */

{ Comment }

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?

Discover more resources for Computers