More results...

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
post
page
Python IDE Dashboard
Author: Administrator

Self-modifying code in LMC

In computer science, self-modifying code is code that alters its own instructions while it is executing. Getting code that overwrites itself can seem dubious, rather risky and hence unrecommended. However in some cases, it is a technique that can be

Drone Display

Drone displays/light shows are performed by synchronized and choreographed collections of drones that position themselves to recreate various aerial formations. Each drone is equipped with LED lights that can change colour during the display. The first drone display was presented

Wired & Wireless Connection Methods

Take the Quiz! (open full screen) Can you recognise the different types of cables used in IT? Do you know what are the main wireless technologies used to connect IT equipment? Take the quiz to check your knowledge of wired

LED Dice Logic Gates Diagrams

LED Dice Our aim is to create an LED Dice using a breadboard and 7 LEDs disposed as follows: We will then use three buttons/switches to control the 7 LEDs of the dice to recreate the following patterns: Octal Number

Stopwatch Class (JavaScript)

In this challenge we will create an interactive stopwatch using HTML, CSS and JavaScript. The aim of this blog post is to use Object Oriented Programming to create our own Stopwatch class. Step 1: Stopwatch Class and its constructor First

Poker Card Game (JavaScript)

In this challenge we will create a one-player game of poker based on the rules of Texas Hold’em Poker. In a game of Texas Hold’em Poker, for each round, five “community cards” are dealt face-up on the “board”. Each player

Stacks and Queues in LMC

In this post we will investigate how to implement a queue and a stack data structure using low-level programming. We will use an upgraded version of Little Man Computer (LMC) that supports indirect addressing to to do. Implementing a Queue

Algebraic Pyramid Challenge

For the purpose of this challenge we will use algebraic pyramids pointing downwards (or upside down pyramids!). The idea of this mathematical puzzle is to fill in all the bricks of a pyramid based on the following rule: To work

Bracket Validator

The aim of this Python Challenge is to write a script to validate an arithmetic expression by checking that it has a valid sequence of opening and closing brackets. Let’s consider the following arithmetic expressions to decide whether they contain

Proportions and cross products

A proportion is simply a statement that two ratios are equal. The following are examples of proportions: 1/4 = 25/100 8/24 = 1/3 40/60 = 2/3 Proportions are often use in Maths to simplify a fraction or to represent a