INTRO TO C++

INTRO TO C++

12th Grade - University

20 Qs

quiz-placeholder

Similar activities

WML & WAP

WML & WAP

University

20 Qs

Programming: Which Loop?

Programming: Which Loop?

9th - 12th Grade

20 Qs

Software Engineering Quiz 1

Software Engineering Quiz 1

University

20 Qs

Arduino Loop

Arduino Loop

2nd Grade - University

20 Qs

Python List

Python List

4th Grade - University

15 Qs

GAD Review - Game Industry

GAD Review - Game Industry

9th - 12th Grade

22 Qs

1.1.1 The structure and function of the processor

1.1.1 The structure and function of the processor

11th Grade - University

15 Qs

CIS2303 Week 4_5 Ch_3

CIS2303 Week 4_5 Ch_3

University

18 Qs

INTRO TO C++

INTRO TO C++

Assessment

Quiz

Computers

12th Grade - University

Practice Problem

Medium

Used 27+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

The value 132.54 can represented using which data type?

Void
Int
Double
Char

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which type of variable would you use to store the number: 3.14? 

void
endln
float
int

3.

MULTIPLE CHOICE QUESTION

30 sec • 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;

4.

MULTIPLE CHOICE QUESTION

30 sec • 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;

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In C++, what is the difference between the = and == symbols?

The = symbol stores a value in a variable. The == symbol compares two values to see if they are equal.
There is no difference.
The == symbol stores a value in a variable. The = symbol compares two values to see if they are equal.
The = symbol can only be used outside of the main ( ) function. The == symbol can be used anywhere.

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

A flowchart is a visual representation of the 

programs 
algorithms
functions 
procedures

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

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

Float
Logical
Character
Integer

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?