
PL1 PRELIM EXAM
Authored by John Miranda
Computers
University
Used 7+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
50 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the "cout" object in C++?
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the answer in this statement; age >=18 && age <=100 if the age is 12?
True
False
N/A
Undefined
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you comment a single-line in C++?
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which keyword is used to define a constant in C++?
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the "new" operator in C++ do?
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the "endl" in C++?
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function is used to get the length of a string in C++?
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?