INTRO TO C++

INTRO TO C++

12th Grade - University

20 Qs

quiz-placeholder

Similar activities

Quiz 2 - CS110

Quiz 2 - CS110

University

15 Qs

C - Strings

C - Strings

University

20 Qs

Python Strings & Lists

Python Strings & Lists

11th - 12th Grade

20 Qs

Final Review - Unit 2

Final Review - Unit 2

9th - 12th Grade

15 Qs

C++ programming

C++ programming

7th - 12th Grade

20 Qs

HTML & CSS quiz

HTML & CSS quiz

6th Grade - Professional Development

21 Qs

C++ Unit 1 Review

C++ Unit 1 Review

9th - 12th Grade

15 Qs

Java Control and Loop -2

Java Control and Loop -2

University

20 Qs

INTRO TO C++

INTRO TO C++

Assessment

Quiz

Computers

12th Grade - University

Medium

Used 27+ times

FREE Resource

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
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?