C++ Basics

C++ Basics

9th - 10th Grade

18 Qs

quiz-placeholder

Similar activities

Structure of a Webpage

Structure of a Webpage

10th Grade

20 Qs

حاسب 2

حاسب 2

10th Grade

15 Qs

Kuis Dadakan ;)

Kuis Dadakan ;)

10th Grade - University

15 Qs

ÔN TẬP WHILE & IF

ÔN TẬP WHILE & IF

10th Grade

13 Qs

Pre Test Word

Pre Test Word

10th Grade

20 Qs

Ôn tập chương I (Tin 9)

Ôn tập chương I (Tin 9)

9th Grade

17 Qs

ÔN TẬP CUỐI KỲ II TIN 8

ÔN TẬP CUỐI KỲ II TIN 8

8th - 11th Grade

17 Qs

Email Lớp 6

Email Lớp 6

6th Grade - University

17 Qs

C++ Basics

C++ Basics

Assessment

Quiz

Computers

9th - 10th Grade

Practice Problem

Medium

CCSS
6.EE.B.8

Standards-aligned

Created by

Kenji Nomura

Used 211+ 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

1 min • 1 pt

Which line of code would you use to multiply 7 times 3 and store the answer in a variable named Result?

Result = 7 * 3;
7 / 3 = Result;
7 * 3 = Result;
Result = 7 / 3;

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which line of code would you use to print the value of a variable named Result to the screen?

cout << Result << endl;
cin >> "Result" >> endl;
cin >> Result >> endl;
cout << "Result" << endl;

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

... variables store whole numbers (-4, 3, 51, etc). 

Float
Logical
Character
Integer

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the word (command) used to display/print numbers and text on the screen?

cout

print

display

cin

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is a variable?

A box(memory location) where you store values

A type of graphics

A value

A type of memory

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does <= mean?

less than

greater than

less than or equal to

greater than or equal to

Tags

CCSS.6.EE.B.8

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

start()

system()

main()

program()

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?