Chapter 11 Computer science AS LEVEL

Quiz
•
Other
•
11th Grade
•
Easy
bryan bryan
Used 1+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of a loop in programming?
To execute a block of code once
To stop the execution of a program
To repeat a block of code multiple times
To store multiple values
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In pseudocode, indentation is optional and has no impact on the logic.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following pseudocode
x ← 5
y ← 2
OUTPUT x MOD y
1
2
4
3.5
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you open a file for reading in pseudocode?
data = OPENFILE("data.txt", "READ")
OPENFILE "data.txt" FOR READ
FILE data = READ "data.txt"
OPEN "data.txt" AS READ
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the pseudocode output?
num ← 4
IF num > 2 AND num < 6 THEN
OUTPUT "Valid"
ELSE
OUTPUT "Invalid"
ENDIF
Valid
Error
Invalid
4
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What happens in a REPEAT UNTIL loop?
The loop only runs if the condition is true
The loop works like a FOR loop
The loop never runs
The loop runs at least once before checking the condition
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of a PROCEDURE in pseudocode?
It is used for loops
It replaces a variable
It performs a task but does not return a value
nothing
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Rec.AV1 - Pensamento Comp. 1 ano

Quiz
•
1st Grade - University
12 questions
Team 44893 Techno Rebels Robot Design Quick Quiz 4/30/2021

Quiz
•
KG - Professional Dev...
10 questions
Pemrograman Pseudocode Kelas X SMK

Quiz
•
10th Grade - University
10 questions
Fingerprint Review

Quiz
•
10th - 12th Grade
11 questions
Asphalt 8

Quiz
•
5th - 12th Grade
15 questions
Perangkat Pasif Jaringan Serat Optik

Quiz
•
11th Grade
12 questions
Topic 1 : Introduction to Embedded System

Quiz
•
1st Grade - Professio...
15 questions
Quiz de Programação e Robótica

Quiz
•
9th Grade - University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Other
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
6 questions
Rule of Law

Quiz
•
6th - 12th Grade
15 questions
ACT Math Practice Test

Quiz
•
9th - 12th Grade
18 questions
Hispanic Heritage Month

Quiz
•
KG - 12th Grade
28 questions
Ser vs estar

Quiz
•
9th - 12th Grade
10 questions
Would you rather...

Quiz
•
KG - University