
computer quiz
Authored by PDCS Server
Computers
12th Grade
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
37 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of an if statement in C++?
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is the correct syntax for an if statement in C++?
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How does an if statement determine which code block to execute?
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In C++, what will the following code print if x is 5? if (x > 0) cout << "Positive";
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What keyword is used to specify an alternative block of code in an if statement when the condition is false?
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following correctly checks if x is not equal to 0 in an if statement?
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of this code snippet if x is 5 and y is 10? if (x > y) cout << "X"; else cout << "Y";
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?
Similar Resources on Wayground
40 questions
Internet Technology Protocols Quiz
Quiz
•
12th Grade
40 questions
QuizD
Quiz
•
9th - 12th Grade
40 questions
EE092206
Quiz
•
11th - 12th Grade
42 questions
How the Internet Works
Quiz
•
9th - 12th Grade
35 questions
Microsoft Word
Quiz
•
6th - 12th Grade
42 questions
ภาษาซี
Quiz
•
9th - 12th Grade
32 questions
MTA- Windows Operating System 3
Quiz
•
9th - 12th Grade
35 questions
Cerca amb Google
Quiz
•
7th - 12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade