What does the "cout" statement do in C++?
Programming I Quiz 1

Quiz
•
Computers
•
University
•
Hard
Daryl Arbis
Used 3+ times
FREE Resource
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
it receives user input
performs arithmetic operations
displays output in the console
declares a variable
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which C++ syntax is used to add a single-line comment?
/* comment */
// comment
# comment
-- comment
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not a valid C++ variable name?
myVariable
123variable
_variable
variable123
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What data type is used to store whole numbers in C++?
float
char
int
double
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which C++ data type is used to store characters?
char
string
int
float
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of the expression "5 + 3" in C++?
8
53
15
2
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which arithmetic operator is used for division in C++?
/
*
%
+
Create a free account and access millions of resources
Similar Resources on Quizizz
15 questions
Java

Quiz
•
University
10 questions
C Viva

Quiz
•
University
15 questions
JavaScript Basics

Quiz
•
12th Grade - University
12 questions
C Basics

Quiz
•
University
16 questions
A "C" Event-the backbone of modern coding.

Quiz
•
University
15 questions
Coding club Summit Online Quiz

Quiz
•
University
11 questions
Quiz 1

Quiz
•
University
15 questions
Python

Quiz
•
6th Grade - University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade