INTRO TO C++

INTRO TO C++

12th Grade - University

20 Qs

quiz-placeholder

Similar activities

PH kelas 10 Bab 1

PH kelas 10 Bab 1

9th - 12th Grade

18 Qs

Javascript Conditional Statements

Javascript Conditional Statements

9th - 12th Grade

20 Qs

C++ Quiz

C++ Quiz

University

20 Qs

Basic C++ Programming Questions

Basic C++ Programming Questions

University

20 Qs

Loops-2

Loops-2

University

15 Qs

UTS-AP-Okt2023

UTS-AP-Okt2023

University

15 Qs

BAC_Info_Stiinte_01

BAC_Info_Stiinte_01

9th - 12th Grade

20 Qs

HTML tags

HTML tags

9th - 12th Grade

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?