Syed: IGCSE Computer Science: Program Logic

Quiz
•
Computers
•
9th Grade
•
Medium
Syed M
Used 9+ times
FREE Resource
33 questions
Show all answers
1.
DROPDOWN QUESTION
1 min • 5 pts
Write a program that asks the user to input a number, if the number is less than 10, it outputs the message "Too small" otherwise, "Valid".
OUTPUT ("Enter a Number")
(a)
(b)
OUPUT ("Too small")
(c)
OUPUT ("Valid")
(d)
2.
DROPDOWN QUESTION
1 min • 5 pts
Complete the code that finds the smallest number input by the user, using the WHILE loop.
(a)
Number ←1
(b)
(c)
(d)
(e)
ENDIF
ENDWHILE
3.
DROPDOWN QUESTION
1 min • 5 pts
Complete the code that finds the largest number input by the user, using the WHILE loop.
(a)
Number ←1
(b)
(c)
(d)
(e)
ENDIF
ENDWHILE
4.
DROPDOWN QUESTION
1 min • 5 pts
Complete the code that finds the average of the numbers input by a user:
(a)
Total←0
Number ← 1
(b)
OUTPUT("Enter a number or 0 to stop")
(c)
(d)
(e)
ENDWHILE
OUTPUT (Total/Count)
5.
DROPDOWN QUESTION
1 min • 5 pts
Complete the code that checks if a number input by the user is higher than 1 and less than 10.
OUTPUT("Enter a Number between 1 and 10")
(a)
(b)
OUTPUT("Number is between 1 and 10.")
(c)
OUTPUT ("Number is not between 1 and 10.")
(d)
6.
DROPDOWN QUESTION
1 min • 5 pts
Complete the code to print the first 10 natural numbers.
(a)
(b)
OUTPUT(i)
(c)
ENDWHILE
7.
DROPDOWN QUESTION
1 min • 5 pts
Complete the code to display all even numbers between 1 and 20.
i ← 2
WHILE i <= 20 DO
(a)
(b)
ENDWHILE
Create a free account and access millions of resources
Similar Resources on Wayground
35 questions
Unit 9.1 - Textual Programming

Quiz
•
8th Grade - University
30 questions
PYTHON AI

Quiz
•
9th Grade
30 questions
AP CS A Unit 3 2020-2021

Quiz
•
9th - 12th Grade
35 questions
Computer Studies Quiz ok

Quiz
•
7th Grade - University
30 questions
HTML Coding

Quiz
•
9th Grade
29 questions
UJIAN DIAGNOSTIK ASAS SAINS KOMPUTER 2021

Quiz
•
1st - 12th Grade
32 questions
Arduino

Quiz
•
7th - 12th Grade
30 questions
BCHS Y9 Python Topic 6 Quiz

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

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade