Author: Administrator

Debugging and refining an algorithm – Q&A

Question 1[4 marks] Zara has created the following program in her computer science lesson. The aim of this program is to find out if the user is old enough to vote or not, the voting age being 18 years old.

Refining Algorithms – Q&A

Question 1[3 marks] Somjay has created the following program in his computer science lesson. The aim of this program is to generate and display five random “lucky” numbers every time this program is executed. Here is his Python code: print("Your

Discount Price Calculator – Q&A

Question 1[10 marks] Oksana has created the following program in her computer science lesson. The aim of this program is to calculate the price after discount of a list of products bought by a customer. Here is her Python code:

Mode Algorithm using a Hash Table

In this challenge we will compare two methods used to calculate the mode value of a list of numbers. In Maths, The mode is the value that appears most often in a set of data. For instance, considering the following

Job Scheduling Algorithms – Q&A

Question 1[20 marks] One of the main purpose of the Operating System is to control the hardware and more specifically the CPU. The CPU performs all the jobs/processes requested by the different applications. A scheduler is a program of the

Disk Scheduling Algorithms

A hard drive is a magnetic storage device consisting of several disks (a.k.a. platters) where data is stored. Each disk is divided into many concentric circular tracks. Each track contains several sectors where data is stored. When the Operating System

Information Board: Javascript Challenge

In this challenge we are creating an information board that displays key messages on a LED screen that consists of 4 rows of 20 characters. We have created the HTML, and CSS code to render the board on the screen

The 4 Stages of the Compilation Process

Can you identify and describe the 4 stages of the compilation process? Task 1: Drag and Drop Complete the fill in the gaps activity below to label the 4 stages of the compilation process with for each stage their input

Network Design – Drag & Drop

Can you identify some of the main hardware components that you will find in a small Client-Server Local Area Network? Before competing this activity, you may want to read more about network design concepts. Task 1: Network Design Drag and

Traffic Lights Controller using Logic Gates

In this challenge, we will design, create and test a logic gates circuit to control a traffic lights made of 3 LEDs (Red Amber Green). This challenge is designed to be completed with a logic board such as the Logic