
INTRO TO C++
Computers
12th Grade - University
Used 27+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?