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
What does the "cout" statement do in C++?
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 Wayground
11 questions
Quiz 2: C++ Basics

Quiz
•
University
15 questions
Java

Quiz
•
University
15 questions
Code Craft : Java & Web Quiz"

Quiz
•
University
10 questions
ECE-C Quiz _3

Quiz
•
University
15 questions
python basics

Quiz
•
11th Grade - University
10 questions
Basics Of C Programming

Quiz
•
University
10 questions
C Viva

Quiz
•
University
15 questions
Coding club Summit Online Quiz

Quiz
•
University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade