More results...

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

File Size Calculations – Q&A

Question 1[3 marks] How many of the above text files can we store on a 1.44MB floppy disk? Each text file contains 6,000 characters and is encoded using ASCII: 8 bits per character. ✔ ✘ ↻ A Question 2[3 marks]

OOP – Inheritance – Q&A

Question 1[2 marks] Class File:​ private filename​ //Constructor for the File class procedure new(strFilename):​ filename = strFilename​ public procedure rename(strFilename)​ if strfilename!="":​ filename = strFilename​ Class MP3 inherits File:​ private title​ private artist​ private duration​ //Constructor for the MP3 class

OOP – Encapsulation – Q&A

Question 1[2 marks] class Padlock: private key private locked //Constructor for the Padlock class: procedure new(str_key,bool_locked): key = str_key locked = bool_locked public function unlock(combination): if combination==key: locked = False return True else: return False public procedure lock(): locked =

Maths Puzzles…

The aim of this challenge is to write a few algorithms to solve the following Maths puzzles: In order to solve these puzzles, we will use an iterative approach using nested loops to test all possible combinations of two numbers

Brunel’s Engineering Algorithms

Isambard Kingdom Brunel (1806-1859) was an English civil engineer who is considered one of the greatest figures of the Industrial Revolution. Brunel achieved many engineering firsts thanks to his hard-work, his engineering knowledge, his innovative mind and his renowned problem

The Climbing Stairs Puzzle

Imagine a staircase with n steps. As you are climbing up this staircase, you either climb one or two steps at a time. The aim of this computing puzzle is to find out, using an algorithm, in how many distinct

French Cuisine – Entity Relationship Diagram (ERD)

French Cuisine is a 5-star restaurant serving a selection of carefully selected French recipes in a cosy atmosphere. Their menu is organised into 4 categories as follows: Starters, Main Meals, Deserts & Drinks. In the dining area, there are 21

10/02/22 Computing Challenge

As this post was published on the 10th of February 2022 (10/02/22), we would like to use a Python algorithm to solve the following arithmetic puzzle: Let’s consider a string consisting of 10 characters “2”: string = “2222222222” This computing

EasyFlights – Entity Relationship Diagram (ERD)

EasyFlights is an international airline company operating all over the world. As part of a total rollout of all their IT systems, they would like you to suggest the most suitable ERD to be used to design the relational database

web2.0 – Entity Relationship Diagrams (ERD)

Have you ever created a website using HTML, CSS and JavaScript? These three languages are client-side languages which run on your computer through the web-browser and are used to create static websites. HTML is used to add content to a