Quiz C++

Quiz C++

1st - 5th Grade

10 Qs

quiz-placeholder

Similar activities

Intro to Python

Intro to Python

KG - University

10 Qs

Python Programming Quiz

Python Programming Quiz

5th Grade

10 Qs

Programming - Test Data

Programming - Test Data

3rd - 11th Grade

10 Qs

Making your own Webpage

Making your own Webpage

5th Grade

10 Qs

Data Types in Python

Data Types in Python

1st - 5th Grade

14 Qs

Programming C++

Programming C++

3rd - 5th Grade

10 Qs

Basic Python Quiz 3

Basic Python Quiz 3

5th Grade

14 Qs

Databases - Validating Data

Databases - Validating Data

3rd - 12th Grade

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