
IGCSE Quiz -- Focus on SQL, Programming, and Hardware
Authored by Marc Rios
Computers
10th Grade
Used 1+ 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 following pseudocode:
SET Total = 0
FOR i = 1 TO 5
SET Total = Total + i
NEXT i
Answer explanation
This pseudocode initializes Total to 0 and uses a FOR loop to add each number from 1 to 5 to Total, resulting in 15.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which pseudocode statement assigns the value 10 to a variable named x?
Answer explanation
In pseudocode, assignment can be written in various forms depending on the convention, but all these options correctly assign 10 to x.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the output be for this pseudocode: SET x = 3 IF x > 0 THEN OUTPUT 'Positive' ELSE OUTPUT 'Negative' ENDIF
Answer explanation
Since x is 3, which is greater than 0, the IF condition is true, and 'Positive' is output.
4.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Which of these are valid pseudocode loop structures?
Answer explanation
FOR, WHILE, and REPEAT are all valid loop structures in pseudocode, while IF is a conditional statement.
5.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Complete this pseudocode to output numbers 1 to 10: FOR i = 1 TO ___ OUTPUT i NEXT i
Answer explanation
The FOR loop needs a start value of 1 and an end value of 10 to output numbers 1 to 10.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of a primary key in a database?
Answer explanation
A primary key ensures each record in a table is uniquely identifiable.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which SQL query selects all students from a table named 'Students' where the grade is 'A'?
Answer explanation
The correct syntax uses SELECT * to retrieve all columns, FROM specifies the table, and WHERE filters by grade = 'A'.
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
47 questions
Các loại mạng
Quiz
•
KG - 10th Grade
50 questions
K10 - Giữa HK II
Quiz
•
10th Grade
50 questions
Algoritmika 1.
Quiz
•
10th Grade - University
50 questions
Ôn tập KTGK2 Tin 11
Quiz
•
9th - 12th Grade
45 questions
Introduction to Typing
Quiz
•
7th - 12th Grade
45 questions
X TKJ-INSTALASI SISTEM OPERASI
Quiz
•
1st Grade - University
48 questions
Algorithms
Quiz
•
9th - 11th Grade
50 questions
Sistem Operasi & Perakitan Komputer
Quiz
•
10th 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
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