T-Level DPDD: Selection Programming Concepts Quiz
Quiz
•
Computers
•
11th Grade
•
Practice Problem
•
Hard
Sara Burton
FREE Resource
Enhance your content in a minute
31 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT one of the three basic forms of control in programming?
Sequence
Iteration
Selection
Compilation
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of an If statement in programming?
To repeat a block of code multiple times
To execute a piece of code based on a condition
To define a function
To declare a variable
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What happens if the condition in an If statement is false?
The code inside the If statement is executed
The program terminates
There is no code to execute
The program enters an infinite loop
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following statements is true about the flowchart for an If statement?
It includes a loop back to the beginning
It has a concept of 'otherwise'
It either runs the code or does not
It always executes the code inside the If statement
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the maximum number of extra pieces of code that can be run with an If statement?
One
Two
Three
Four
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the `if` statement in the example Python code?
To check if the password is less than 8 characters
To check if the password is more than 8 characters
To check if the password contains special characters
To check if the password is equal to 8 characters
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What message is displayed if the password is less than 8 characters?
Password is too long
Password is too short
Password is correct
Password is invalid
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
35 questions
Mid Tes HTML Quiz
Quiz
•
11th Grade
26 questions
Excel 2016 Interface
Quiz
•
9th - 12th Grade
30 questions
Komputer Jaringan Dasar
Quiz
•
1st Grade - Professio...
26 questions
HTML
Quiz
•
10th - 12th Grade
30 questions
Fundamentals of Computers
Quiz
•
5th Grade - University
29 questions
LATIHAN SAS - PRODUKTIF XI TKJ mandiri
Quiz
•
11th Grade
27 questions
Number Systems in Computer Science
Quiz
•
11th Grade
29 questions
Unreal Engine 4 - Widget Blueprints
Quiz
•
9th Grade - University
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
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th 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
