Basic C++ Programming Questions

Basic C++ Programming Questions

University

18 Qs

quiz-placeholder

Similar activities

JS QCM DEV101

JS QCM DEV101

University

21 Qs

Quiz 2 Progdas

Quiz 2 Progdas

University

20 Qs

C++ 1st ONLINE QUIZ

C++ 1st ONLINE QUIZ

University

13 Qs

Basic Java

Basic Java

University

15 Qs

Web Technologies(A6602)

Web Technologies(A6602)

University

20 Qs

Computer Quiz

Computer Quiz

7th Grade - University

15 Qs

Basic Java Quiz

Basic Java Quiz

University

15 Qs

HTML and CSS Review

HTML and CSS Review

3rd Grade - Professional Development

17 Qs

Basic C++ Programming Questions

Basic C++ Programming Questions

Assessment

Quiz

Computers

University

Easy

Created by

Wayground Content

Used 13+ times

FREE Resource

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 }

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?