01101001 0 and 255 65,535 binary data 8 bits bits odd least significant text files transistor 511 even Byte most significant The key electronic component that you will find in any computer system is called a . The CPU of…
When your browser displays a webpage on screen it uses 3 different programming languages called HTML, CSS and JavaScript. We call the combination of these three languages “client-side web technologies”. Each of the three language has its own syntax and…
The birthday paradox is based on a counter-intuitive fact that in any class of 23 students or more, there is a higher probability of having at least two students sharing the same bithday. Considering that there are 366 different possible…
A range of video games use elastic collision formulas to predict the change of velocity of two objects when a collision occurs. Elastic collision occurs when two objects are colliding and the total kinetic energy of the two objects remains…
The Monty Hall problem is a counter-intuitive brain teaser based on probabilities. This puzzle is named after Monty Hall, the TV presenter of “Let’s Make a Deal”, an American TV show (known as “Deal or No Deal” in the UK)…
In this challenge, we are going to write al algorithm to convert a decimal (aka Denary) number between 0 and 255 into binary using 1 Byte (=8 bits). Before attempting this challenge you may practise your denary to binary conversion:…
A computer system consists of both hardware (the physical components of the computer) and software: the programs that run on this hardware. There are three main categories of software: Operating Systems: software that controls the computer hardware: The operating system…
Before completing this task, you will need to familiarise yourself with the following 2 algorithms used to find the shortest path between two nodes of a weighted graph: Dijkstra’s Short Path Algorithm A* Algorithm Dijkstra’s Short Path Algorithm For each…
The TCP/IP Stack is a model that governs how data is transmitted from one computer to another via an IP network such as the Internet. Internet communication includes using a web browser to access a webpage from a websever, sending…
The following algorithm is inspired by a poem by Brian Bilston called “snow poem”. On this poem, each word represents a snowflake gently and randomly falling from the sky. On the last verse of this poem, you can see how…