Quiz C++

Quiz C++

1st - 5th Grade

10 Qs

quiz-placeholder

Similar activities

Network and Server Attacks

Network and Server Attacks

1st - 5th Grade

10 Qs

Comments in Python

Comments in Python

5th - 8th Grade

10 Qs

CDUI - Bases HTML CSS - Niveau 1

CDUI - Bases HTML CSS - Niveau 1

3rd Grade

13 Qs

Python Unit 1: Input/Output Review

Python Unit 1: Input/Output Review

5th - 12th Grade

7 Qs

6th Grade Media Quiz

6th Grade Media Quiz

KG - University

15 Qs

HTML & Web Design

HTML & Web Design

5th - 9th Grade

12 Qs

Interactive 1.1 - Networking and the Internet

Interactive 1.1 - Networking and the Internet

4th - 8th Grade

6 Qs

for---Loop

for---Loop

3rd Grade - University

13 Qs

Quiz C++

Quiz C++

Assessment

Quiz

Computers

1st - 5th Grade

Medium

Created by

Rizanawati Zana

Used 11+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

system()

main()

start()

program()

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a correct comment?

** Comment **

/* Comment */

*/ Comments */

{ Comment }

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The process of creating a new variable without value

instantiation

assigning

naming

declaration

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command moves the shown text to the next line?

\t

\r

\n

\s

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

After running the following code, determine the value of each of the following arithmetic expressions :


x=10, y =7, z=2;

x + 2 * y – z;

82

14

22

12

6.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Evaluate the following expressions to true or false

!((-4.2<3.0) && (10<20))

True

False

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT a comparison operator in C++ language?

<=

=

==

>=

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?