
Pre Test PF
Quiz
•
Computers
•
University
•
Medium
ROZAIDA (PMU)
Used 1+ times
FREE Resource
Enhance your content
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the 'if' statement in programming?
Defining functions
Printing output
Looping
Conditional execution
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When is the 'else' statement executed in relation to the 'if' statement?
When the 'if' statement is not present
When the condition in the 'if' statement is true
When the 'if' statement is commented out
When the condition in the 'if' statement is false
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Explain the concept of nested if-else statements in programming.
Nested if-else statements can only have one if statement inside another.
Nested if-else statements are used to create loops in programming.
Nested if-else statements provide a way to handle complex decision-making scenarios by nesting one if-else statement inside another.
Nested if-else statements are not supported in most programming languages.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
1. What is the advantage of using a switch case statement over multiple if-else statement?
Switch case statements are less flexible.
Switch case statements are harder to read and understand.
Switch case statements are more efficient.
Switch case statements are not supported in all programming languages.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Choose the correct identifier.
(QAA2509P)
‘QAA2509P
QAA25_09P
“QAA2509P”
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Determine the syntax error based on coding below:
Int main(){
Int a=12, b=9, total;
total=a+b
Cout<<” the total is:”<<total<<endl;
a. Using a wrong symbol in output stream
a. Missing colon in line 3
a. Missing semicolon in line 3
a. Declaring variable in one line
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Identify the CORRECT syntax to declare a variable name baby of string type.
string baby;
string baby:
string “baby”;
string ‘baby’;
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
10 questions
Quizizz PythonStart text1
Quiz
•
University
15 questions
Datos. Tipos de datos y operadores
Quiz
•
University
11 questions
Week 3
Quiz
•
University
10 questions
Weekly Contest #3 - TechXNinjas
Quiz
•
University
10 questions
2C DBMS Theory Quiz 1
Quiz
•
University
10 questions
Chapter 11.1 Windows Desktop and File Explorer
Quiz
•
KG - Professional Dev...
17 questions
ALGORITMA
Quiz
•
8th Grade - University
10 questions
Python01
Quiz
•
University
Popular Resources on Wayground
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
MINERS Core Values Quiz
Quiz
•
8th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade
10 questions
How to Email your Teacher
Quiz
•
Professional Development
15 questions
Order of Operations
Quiz
•
5th Grade
Discover more resources for Computers
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
7 questions
Central Idea of Informational Text
Interactive video
•
4th Grade - University
20 questions
Physical or Chemical Change/Phases
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
39 questions
Unit 7 Key Terms
Quiz
•
11th Grade - University
7 questions
Transition Words and Phrases
Interactive video
•
4th Grade - University
18 questions
Plotting Points on the Coordinate Plane
Quiz
•
KG - University
5 questions
Declaration of Independence
Interactive video
•
4th Grade - University
