C++ Basics

C++ Basics

9th - 10th Grade

18 Qs

quiz-placeholder

Similar activities

Video Editing Exam

Video Editing Exam

9th Grade

20 Qs

Praktek Perkakas Dasar 1

Praktek Perkakas Dasar 1

9th Grade

20 Qs

básico de Code

básico de Code

10th - 12th Grade

14 Qs

Spreadsheet

Spreadsheet

8th Grade - University

20 Qs

BTT 3.1. Anakartlar

BTT 3.1. Anakartlar

9th Grade

18 Qs

Grade 9 Quiz # 1 Q2

Grade 9 Quiz # 1 Q2

9th Grade

20 Qs

BAB BK

BAB BK

10th Grade

20 Qs

PRAKARYA KELAS 9

PRAKARYA KELAS 9

9th Grade

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()

Create a free account and access millions of resources

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?