Test 1

Quiz
•
Computers
•
University
•
Easy
Gabe Vandzura
Used 5+ times
FREE Resource
49 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
// This is a comment
The above comment line may be replaced with the comment line given below
\* This is a comment *\
T
F
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The variable name score.1 is a valid variable name in Visual C++?
T
F
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
#include <iostream>;
There is syntax error in the above preprocessor directive.
T
F
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
While declaring a named constant, the semicolon (;) is not used at the end of the line.
T
F
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The expression following the word case in the switch statement cannot be a variable.
T
F
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
int value;
value = 9.99; // floating point value is assigned to integer variable
After execution of the above statement, 9 will be stored in the variable value after the value is trucated.
T
F
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
int item = 7;
cout << "The value in item = " << "item" << endl;
The above code will display:
The value in item = 7
T
F
Create a free account and access millions of resources
Similar Resources on Wayground
45 questions
IP MIDTERM

Quiz
•
University
50 questions
HTML

Quiz
•
8th Grade - University
50 questions
FINAL TEST FOR JAVA PROGRAMMING 2

Quiz
•
University
49 questions
TSW II intercorso

Quiz
•
University
50 questions
Web Designing-2025

Quiz
•
University
49 questions
Test 2

Quiz
•
University
44 questions
Round 1 Code2duo

Quiz
•
University
50 questions
Technical Quiz 2022-23

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