Writing an Algorithm in Plain English

A friend from another country has never played Snakes and Ladders. You are not allowed to show them, only tell them, in words, exactly what to do. Could you write instructions so clear that they could play the whole game without asking a single question?

A colourful Snakes and Ladders board on a red cloth, with dice, a dice cup and small counters beside it.
A Snakes and Ladders board with dice and counters. The game has simple rules, which makes it perfect for practising writing an algorithm.

Image source: File:Snakes and Ladders board.jpg (Wikimedia Commons)

In this post:

  • What a narrative algorithm is
  • Breaking a big task into smaller subtasks
  • Writing clear steps, with Snakes and Ladders as the example
  • Playing a game that follows an algorithm one step at a time
  • Sorting subtasks, spotting unclear steps and writing your own

Narrative algorithms

An algorithm is a set of step-by-step instructions for doing a task. A narrative algorithm is one written in ordinary sentences, like a story told in order, usually with numbered steps. (In the next posts you will draw algorithms as flowcharts instead.)

A good algorithm is:

  • Clear: each step means one thing only. “Move a bit” is unclear; “move forward 3 squares” is clear.
  • In the right order: you cannot move your counter before you roll the die.
  • Complete: it covers every situation that can happen (what if you land on a snake?).
  • Finite: it has a clear start and a clear end, so it does not go on forever.

Step 1: divide the task into subtasks

Big tasks are easier if you first split them into smaller jobs, called subtasks, and then write the steps for each one. For example, getting ready for school could be split into: get washed, get dressed, eat breakfast and pack your bag. Each subtask has its own steps.

Try it: which main task does each subtask belong to?

Drag (or tap) each subtask into the main task it belongs to.

Boil the water
Make a music playlist
Choose a date and place
Check whether someone has reached the last square
Roll the die
Mix in the cocoa and sugar
Collect money for snacks
Climb a ladder when you land at its foot

Plan a class lime

Make a cup of cocoa

Play Snakes and Ladders

Step 2: write the steps

Here is a narrative algorithm for Snakes and Ladders on a 30-square board. Notice how it covers the start, every turn, the ladders and snakes, the winner and the order of turns:

  1. Both players place their counters just before square 1. The youngest player goes first.
  2. The player whose turn it is rolls the die.
  3. Move the counter forward by the number rolled. If that would take it past square 30, it stays where it is.
  4. If the counter lands at the foot of a ladder, move it up to the top of the ladder.
  5. If the counter lands on a snake’s head, move it down to the end of the snake’s tail.
  6. If the counter is on square 30, that player wins and the game ends.
  7. If the player rolled a 6, they roll again (go back to step 2). Otherwise, it is the other player’s turn (go back to step 2).
Look at steps 4, 5, 6 and 7. Each starts with If. They are decisions: something happens only when a condition is true. And step 7 sends you back to step 2, which is a loop. You will draw decisions and loops in flowcharts later in this course.

Activity: play by the algorithm

Try it: Snakes and Ladders, one step at a time

Click Do the next step to carry out the algorithm one step at a time. The step being carried out is highlighted. Watch how the game follows the steps exactly, just like a computer would.

The algorithm

  1. Both counters start before square 1. Blue goes first.
  2. Roll the die.
  3. Move forward that many squares (stay put if it would go past 30).
  4. Foot of a ladder? Climb up.
  5. Snake’s head? Slide down.
  6. On square 30? You win, and the game ends.
  7. Rolled a 6? Roll again. If not, the other player’s turn. Go back to step 2.

Activity: spot the unclear step

Try it: fix the algorithm

Click the best answer. You get feedback straight away; only your first click counts towards your score.

1. “Move your counter some squares.” What is wrong with this step?

2. An algorithm says: “1. Move your counter. 2. Roll the die.” What is the problem?

3. An algorithm for the game never says what happens when someone reaches square 30. What is missing?

4. Which step is clearest?

Watch: what is an algorithm?

This short video explains what an algorithm is, with everyday examples.

Video: Computer Science Basics: Algorithms – LearnFree – https://www.youtube.com/watch?v=kM9ASKAni_s

Your turn: write a narrative algorithm

Choose one task and write a numbered narrative algorithm for it. First list the subtasks, then write the steps for each. Swap with a partner: can they follow your steps exactly, without asking a question?

  • How to play noughts and crosses (tic-tac-toe)
  • How to make a cheese sandwich
  • How to find the larger of two numbers
  • How to top up a phone with credit

Self-check quiz

Click the best answer. You get feedback straight away; only your first click counts towards your score.

1. An algorithm is…

2. A narrative algorithm is written…

3. Splitting “get ready for school” into wash, dress, eat and pack is called…

4. Why must an algorithm be finite?

5. In the Snakes and Ladders algorithm, which step is a decision?

6. Which word makes the order of narrative steps clear?

Related posts on islandclass.org

For later, in Forms 4–5 (CSEC IT): these go deeper and are for when you reach CSEC Information Technology.

Next: Flowchart Symbols

Syllabus link: Forms 1–3 ICT curriculum, Module 5, Objective 5.8 – develop a narrative solution to a given task.

Attributions to media used in this post:

Updates

2026/10/21

- Fixed the activity code so its buttons keep working.

© 2026 Vedesh Kungebeharry. All rights reserved.

Computer Crime: Identity Theft, Fraud, Phishing and Hacking

Look closely at the email below. It looks official, it uses a well-known logo and it says your account is in danger. Would you click the link? What clues tell you it is a trick?

A made-up email that claims to be from the Wikipedia Foundation. It says there has been a recent login to your account from a new device and asks you to reset your password through a link.
A made-up example of a phishing email, created to teach people the warning signs. The sender’s address is not Wikipedia’s real address, and the link goes to a look-alike website.

Image source: File:Example phishing email.svg (Wikimedia Commons)

In this post:

  • What computer crime (cybercrime) is
  • Identity theft, credit card fraud, phishing and hacking, plus cyber-extortion and cyber-terrorism
  • How serious each crime is, from one person to a whole country
  • The consequences, in Trinidad and Tobago and around the world
  • A phishing spotter, a sorting activity, a role-play and a quiz

What is computer crime?

A computer crime (or cybercrime) is any crime that uses a computer, phone or network, or that targets them. Some are old crimes done in a new way, like stealing money. Others only exist because of computers, like breaking into a network.

CrimeWhat it isExample
Identity theftStealing someone’s personal details (name, date of birth, ID number, passwords) and pretending to be them.A criminal uses your mother’s details to open a loan in her name.
Credit card fraudUsing someone else’s card or card number to buy things without permission.A card number is stolen from a fake shopping site and used to buy goods online.
PhishingFake emails, texts, calls or websites that trick people into giving away passwords, card numbers or money. Text-message phishing is sometimes called smishing.A text says “Your bank account is locked. Log in here to unlock it.”
HackingGetting into a computer, account or network without permission.Guessing a classmate’s password and reading their messages, or breaking into a company’s computers.
Cyber-extortionThreatening to harm a person or business (lock or leak their data) unless they pay.Ransomware locks a hospital’s files and demands payment.
Cyber-terrorismAttacking important computer systems to cause fear or serious damage, often for political reasons.An attack that shuts down a country’s power or water systems.
Hacking a friend’s account “as a joke” is still hacking. Logging in to someone else’s account without permission is against the law in Trinidad and Tobago, even if you only look around.

How serious is it? Levels of computer crime

All computer crimes cause harm, but some reach much further than others. One way to judge how serious a crime is: ask how many people are harmed, how badly, and whether it was planned.

LevelWho is harmedExamples
PersonalOne person or one familySomeone’s social media account is hacked; a grandparent loses money to a phishing call
OrganisationA whole business, school, bank or hospital, and everyone who uses itA company’s customer records are stolen; ransomware shuts down a school’s computers
National and internationalA whole country, or several countries at onceAttacks on power, water, government or banking systems; criminal gangs stealing from people in many countries

Consequences

  • For victims: lost money, damaged credit, stress and embarrassment, lost files and photos, and a lot of time spent fixing things. Businesses can lose customers and their good name.
  • For criminals: computer crimes are against the law. In Trinidad and Tobago, the Computer Misuse Act makes it an offence to get into or damage computer systems and data without permission. Offenders can be fined or sent to prison, and fraud and identity theft are crimes too.
  • Around the world: a criminal in one country can attack people in another, so police forces work together across borders. Many countries have their own cybercrime laws, and some people who commit cybercrime are extradited (sent to another country) to face trial.
  • For everyone: banks and businesses spend more on security, and those costs are passed on to customers.

Protect yourself

  • Never share passwords, PINs or one-time codes, not even with someone who says they are from your bank. Real banks do not ask for them.
  • Check the sender’s address and hover over links before clicking. When in doubt, go to the official website or app yourself.
  • Use strong, different passwords and turn on two-step verification.
  • Keep personal details (ID numbers, address, date of birth) off social media.
  • If something goes wrong, tell a trusted adult straight away. They can contact the bank, the platform and the police.

Watch: understanding spam and phishing

This video explains how phishing messages work and the warning signs to look for.

Video: Understanding Spam and Phishing – LearnFree – https://www.youtube.com/watch?v=NI37JI7KnSc

Activity: spot the phishing clues

Try it: find the 7 red flags

This is a made-up phishing email. Click every part that looks suspicious. Some parts are normal, so think before you click!

From: TT-Bank Security <security@tt-bank-alerts.example.net>
Subject: URGENT!!! Your account will be CLOSED
Date: Monday, 9:14 a.m.


Dear Valued Customer,

We detected unusual activity on your account. You must verify your details within 24 hours or your account will be closed forever.

Click here to verify: http://tt-bank.secure-login.example.com

Please enter your full card number, PIN and password on the next page.

Thank you for banking with us.
Customer Securty Team

Found: 0 of 7 red flags

    Activity: which level?

    Try it: sort the crimes by level

    Drag (or tap) each crime into the level that best describes who is harmed.

    Hackers steal thousands of customer records from a supermarket chain
    An attack shuts down the electricity network across a country
    Ransomware locks every computer in a secondary school
    Someone tricks a grandfather into reading out his bank PIN on the phone
    A criminal gang sends the same phishing texts to people in twenty countries
    A student’s gaming account is hacked and their items are stolen

    Personal

    Organisation

    National / international

    Group activity: act it out

    In groups of three or four, write and act out a short scene (two to three minutes) about one computer crime from this post. Your scene must show:

    1. How the crime happens (for example, the phishing text arriving).
    2. The warning signs the victim notices, or misses.
    3. The consequences for the victim and for the criminal.
    4. What the victim should do: who they tell and how they protect themselves next time.

    After each scene, the class decides: which level was this crime (personal, organisation or national), and how could it have been prevented?

    Self-check quiz

    Click the best answer. You get feedback straight away; only your first click counts towards your score.

    1. A fake text pretending to be from your bank, asking for your password, is…

    2. Using someone else’s personal details to pretend to be them is…

    3. Logging in to a friend’s account without permission, “just for fun”, is…

    4. Which of these is a national-level computer crime?

    5. Your bank will never ask you to send…

    6. Threatening to leak or lock a company’s data unless it pays is…

    Related posts on islandclass.org

    There is no older post on islandclass.org about computer crime for Forms 1–3 yet, so this post is the main lesson. The previous post, on malware, spam and firewalls, goes well with it.

    For later, in Forms 4–5 (CSEC IT): these go deeper and are for when you reach CSEC Information Technology.

    Next: Writing an Algorithm in Plain English

    Syllabus link: Forms 1–3 ICT curriculum, Module 4, Objective 4.11 – assess various levels of computer crime.

    Attributions to media used in this post:

    Updates

    2026/10/17

    – Example web address shown as plain text so it can’t be clicked.

    2026/10/21

    – Fixed the activity code so its buttons keep working.

    © 2026 Vedesh Kungebeharry. All rights reserved.

    Threats to Your Computer and Data: Malware, Spam and Firewalls

    You download a “free” game from a website you have never heard of. The next day, your computer is slow, adverts keep popping up and your friends get strange messages from you. What happened, and how could you have stopped it?

    In this post:

    • What malware is, and six common types: viruses, worms, Trojans, spyware, adware and ransomware
    • What spam is and why it is risky
    • How antivirus software and firewalls protect you
    • Simple habits that keep your data safe
    • A malware matcher, an inbox sorter, a firewall activity and a quiz

    What is malware?

    Malware is short for malicious software: programs written on purpose to harm a computer, spy on its user, or steal or lock up data. People often call all malware “viruses”, but a virus is just one type.

    TypeHow it worksClues it might be there
    VirusAttaches itself to a normal file or program. It spreads when someone opens that file or shares it with others.Files that suddenly will not open or are damaged; the computer crashes
    WormCopies itself from computer to computer across a network, without anyone opening a file.A whole network slows down; lots of computers have problems at once
    Trojan horsePretends to be something useful, like a free game or app, but secretly does harm once you install it.A new program you did not mean to install; settings change on their own
    SpywareSecretly watches what you do. A keylogger records every key you press, including passwords.Accounts get logged into by someone else
    AdwareFloods you with unwanted adverts and may change your browser’s home page.Pop-ups everywhere; a strange search page
    RansomwareLocks your files (often by scrambling them with encryption) and demands money to unlock them.A message saying your files are locked and you must pay
    Remember the Trojan horse: in an old Greek story, soldiers hid inside a giant wooden horse that looked like a gift. The city pulled it inside, and at night the soldiers climbed out. Trojan malware works the same way: it looks like a gift but hides something harmful.

    How does malware get in?

    • Opening email attachments or links from people you do not know
    • Downloading “free” or cracked games, movies and apps from unofficial websites
    • Plugging in a USB flash drive that has malware on it
    • Not installing updates, so old weaknesses stay open
    • Clicking pop-ups that say “Your computer is infected! Click here!”

    Spam

    Spam is unwanted junk messages sent to huge numbers of people at once, by email, text or social media. Most spam is advertising, but some carries malware or tries to trick you into giving away information (you will learn more about these tricks, called phishing, in the next post). Email services have spam filters that move most of it into a Spam or Junk folder. Never reply to spam, and do not click its links. Replying tells the sender your address is real.

    Your defences

    DefenceWhat it does
    Antivirus (anti-malware) softwareScans files, downloads and USB drives for known malware. It quarantines (locks away) or deletes anything harmful. It must be updated often so it can recognise new malware. Windows includes one, called Microsoft Defender.
    FirewallChecks the data travelling between your computer or network and the internet. It lets safe traffic through and blocks traffic that breaks its rules, like a security guard at a gate. A firewall can be software on your computer or a separate device on a network.
    UpdatesFix weaknesses in the operating system and apps that malware could use to get in.
    BackupsKeep copies of important files on another drive or in the cloud, so even ransomware cannot take them away for good.
    Smart habitsDownload only from official app stores and websites, think before you click, and ask an adult if something seems wrong.
    Two Windows screenshots. On the left, Windows Security lists a severe current threat called Ransom:Win32/WannaCrypt with a Start actions button. On the right, a message says a file could not be moved because it contains a virus or potentially unwanted software.
    Microsoft Defender, the antivirus built into Windows, has found the WannaCrypt ransomware (left) and stops the file from being used (right). WannaCry, as it is often called, attacked hundreds of thousands of computers around the world in 2017.

    Image source: File:Windows defender detects and block a ransomware from being executed.png (Wikimedia Commons)

    A diagram with three computers on the left labelled LAN, a red brick wall in the middle labelled Firewall, and many computers on the right labelled WAN.
    A firewall sits between a local network (LAN), such as a school’s, and the wider internet (WAN), checking the traffic that passes between them.

    Image source: File:Firewall.png (Wikimedia Commons)

    Watch: let’s learn about malware

    This video from a security company’s series for children explains what malware is and how to stay safe from it.

    Video: Safer Kids Online – Let’s learn about malware! – ESET North America – https://www.youtube.com/watch?v=eNBx9kbgdDY

    Activity: name that malware

    Try it: which type of malware is it?

    Read each description and choose the type of malware.

    A “free” game that secretly lets a stranger control your computer
    Records every key you press and sends your passwords to someone else
    Locks all your photos and demands money to unlock them
    Spreads across a school network by itself, from computer to computer
    Fills your screen with pop-up adverts
    Hides inside a document and spreads when the file is shared and opened

    Activity: sort the inbox

    Try it: spam or genuine?

    Drag (or tap) each message into the right box.

    From your teacher’s school address: “Reminder: projects are due on Friday.”
    “Your account will be closed. Download the attached file to fix it.”
    “Cheap watches, 90% off, buy now!!!” from an address you do not know
    “CONGRATULATIONS!!! You won a new phone! Click here to claim within 1 hour!”
    “Hi, it’s your cousin. Here are the photos from Sunday’s lime.” (You were at the lime.)
    From the school library: “The book you reserved is ready to collect.”

    🗑️ Spam or risky

    📥 Probably genuine

    Activity: be the firewall

    Try it: allow or block?

    Your school’s firewall has two rules: allow normal web browsing and school email; block unknown programs trying to connect in from the internet, and known dangerous websites. What should it do with each connection?

    A student opens the school’s homework website
    An unknown computer overseas tries to connect to the office computers
    A teacher sends an email through the school email system
    A program tries to reach a website on the list of known malware sites
    A student researches hurricanes on a well-known encyclopedia site
    A strange program on a laptop keeps trying to send data out to an unknown address at night

    Self-check quiz

    Click the best answer. You get feedback straight away; only your first click counts towards your score.

    1. Malware is…

    2. Which malware spreads across a network all by itself?

    3. Which malware pretends to be a useful program?

    4. Spam is…

    5. What does a firewall do?

    6. Why must antivirus software be updated often?

    Related posts on islandclass.org

    For later, in Forms 4–5 (CSEC IT): these go deeper and are for when you reach CSEC Information Technology.

    Next: Computer Crime: Identity Theft, Fraud, Phishing and Hacking

    Syllabus link: Forms 1–3 ICT curriculum, Module 4, Objective 4.10 – identify threats to computer data and security.

    Attributions to media used in this post:

    Updates

    2026/10/21

    – Fixed the activity code so its buttons keep working.

    © 2026 Vedesh Kungebeharry. All rights reserved.

    Careers in ICT

    Someone built the app you used this morning. Someone fixed the school’s Wi-Fi. Someone designed the website where you checked the cricket score. Could one of those people be you in ten years’ time?

    A person typing on a silver laptop at a light wooden desk. The screen shows lines of program code in a text editor.
    A programmer at work. Writing code is only one of many jobs in ICT. Some ICT jobs are mostly about people, design or keeping systems safe.

    Image source: File:Programmer at work (Unsplash).jpg (Wikimedia Commons)

    In this post:

    • What a career in ICT is
    • Ten ICT jobs and what each person actually does
    • Skills, subjects and qualifications that help
    • A career finder, a matching activity, a career research task and a quiz

    What is an ICT career?

    An ICT career is a job where you mainly use, build, fix or protect computers, networks, software or information. Almost every business, school, hospital, bank and government office in Trinidad and Tobago needs ICT workers, so these skills can take you into almost any field you enjoy, from sport to music to medicine.

    Ten ICT jobs

    JobWhat they doA day might include…
    Software engineerPlans, designs and builds large software systems, often in a team.Meeting the client, planning how parts of an app fit together, testing
    Programmer (developer)Writes, tests and fixes the code that makes programs and apps work.Writing code, finding and fixing bugs
    Computer technicianSets up, repairs and maintains computers, printers and other hardware.Replacing a broken screen, installing RAM, removing a virus
    Web designer / web developerDesigns how websites look and builds them so they work on phones and computers.Choosing colours and layouts, building pages, fixing broken links
    Network administratorSets up and looks after an organisation’s network and internet connection.Adding new users, fixing slow Wi-Fi, checking cables and routers
    Cybersecurity analystProtects systems and data from hackers and malware.Watching for attacks, testing for weak spots, training staff
    Database administratorOrganises and protects large collections of data, such as student or patient records.Making backups, controlling who can see what
    Data analystTurns numbers into useful information with charts and reports.Cleaning data in a spreadsheet, presenting findings
    IT support (help desk)Helps people who are having problems with their computers or software.Answering calls, resetting passwords, explaining patiently
    Game developerDesigns and programs video games.Planning levels, coding characters, testing for fun and fairness
    Close-up of a technician’s hands working on the green circuit board of an opened computer, with a red cable and tools nearby.
    A computer repair technician at work on the inside of a computer. Technicians need steady hands, patience and good problem-solving skills.

    Image source: File:Computer repair in progress.jpg (Wikimedia Commons)

    What helps you get there?

    • School subjects: Mathematics and English matter for nearly every ICT job. In Forms 4–5, you can take CSEC Information Technology, then CAPE Computer Science or Information Technology in Forms 6.
    • After school: colleges and universities in Trinidad and Tobago, such as UWI, UTT and COSTAATT, offer certificates, diplomas and degrees in computing and IT.
    • Certificates: many technicians and network workers also take industry exams, such as CompTIA A+ (computer repair) or Cisco networking certificates.
    • Skills you can build now: problem-solving, teamwork, clear communication, patience, creativity and curiosity. Making Scratch games, helping family with their phones and designing posters all count!

    Watch: a software engineer talks about the job

    In this short video from a series about careers with computer science, a software engineer at MBARI, an ocean research institute, talks about their work. As you watch, notice how computing connects to another interest: the ocean.

    Video: Careers with Computer Science: Software Engineer at MBARI – CodeAI – https://www.youtube.com/watch?v=FBTWICxTG08

    Activity: career finder

    Try it: which ICT careers suit you?

    Tick everything you enjoy, then click the button to see ICT careers that match.

    Activity: who does what?

    Try it: match the job

    Choose the ICT job that matches each task.

    Replaces the cracked screen on a laptop
    Writes the code for a new school app
    Makes a bakery’s website look good on phones
    Fixes the Wi-Fi when nobody in the office can connect
    Spots a hacker trying to break into a bank’s system
    Answers a call from someone who forgot their password
    Designs the levels and characters in a video game

    Research task: my ICT career poster

    Choose one ICT career (the career finder can help). Research it using at least two trustworthy websites, or by interviewing someone who does the job. Then make a poster or a one-page report in a word processor that answers these questions in your own words:

    QuestionMy answer
    What is the job called?
    What does this person do in a normal day?
    Where could they work in Trinidad and Tobago or the Caribbean?
    Which subjects and qualifications help?
    Which skills or personal qualities do they need?
    Why would (or wouldn’t) I enjoy this job?
    My sources (website names or the person I interviewed)

    Self-check quiz

    Click the best answer. You get feedback straight away; only your first click counts towards your score.

    1. Who would you call to repair a laptop that will not switch on?

    2. A programmer’s main job is to…

    3. Which job protects systems from hackers?

    4. Which CSEC subject leads most directly towards an ICT career?

    5. Which skill is useful in almost every ICT job?

    6. A web designer mainly…

    Related posts on islandclass.org

    For later, in Forms 4–5 (CSEC IT): these go deeper and are for when you reach CSEC Information Technology.

    Next: Threats to Your Computer and Data: Malware, Spam and Firewalls

    Syllabus link: Forms 1–3 ICT curriculum, Module 2, Objective 2.12 – identify possible careers in ICT.

    Attributions to media used in this post:

    Updates

    2026/10/21

    – Fixed the activity code so its buttons keep working.

    © 2026 Vedesh Kungebeharry. All rights reserved.

    Reading a Computer Spec Sheet

    Your cousin is starting university and sends you two laptop adverts with the message: “Which one should I buy?” One says Intel Core i5, 8 GB RAM, 512 GB SSD, 15.6″ Full HD. Would you know what any of that means? By the end of this post, you will.

    In this post:

    • What a computer specification (“spec”) sheet is
    • Processor, RAM, storage, screen and ports: what each spec means and what to look for
    • Older and newer drive connections: IDE and SATA
    • Decoding a real-looking advert, comparing two laptops for a university student, a port-matching activity and a quiz

    What is a spec sheet?

    A computer’s specifications (specs for short) are a list of its main parts and how powerful or how big each one is. Shops print them on adverts, boxes and websites. If you can read a spec sheet, you can tell whether a computer is right for the job before you spend any money.

    The main specs, one by one

    SpecWhat it meansWhat to look forExample
    Processor typeThe brand and family of the processor (CPU), the “brain” that carries out instructions.Within a family, higher numbers are usually more powerful (Core i3 → i5 → i7; Ryzen 3 → 5 → 7).Intel Core i5, AMD Ryzen 5
    Processor speedHow many cycles the processor runs per second, measured in gigahertz (GHz). 1 GHz = 1 billion cycles per second.Higher is faster, but only compare speeds between similar processors. More cores (2, 4, 8…) let it do several jobs at once.2.4 GHz, quad-core
    RAM capacityThe computer’s short-term working memory, measured in gigabytes (GB). It holds the programs and files you have open right now.More RAM lets you keep more open without slowing down. 4 GB is basic; 8 GB is comfortable for school work; 16 GB or more suits video editing and games.8 GB
    Storage (hard disk) capacityHow much the computer can keep when it is switched off: programs, documents, photos and videos. Measured in GB or terabytes (TB). 1 TB is about 1,000 GB.A hard disk drive (HDD) gives lots of space for less money. A solid-state drive (SSD) has no moving parts, so it starts up and opens files much faster.512 GB SSD, 1 TB HDD
    Screen sizeMeasured in inches (″) diagonally, from one corner to the opposite corner.Bigger is easier to see; smaller is lighter to carry.13.3″, 15.6″
    Screen resolutionHow many pixels (tiny dots) the screen has across and down.More pixels means sharper text and pictures. 1366 × 768 is “HD”; 1920 × 1080 is “Full HD”.1920 × 1080
    Backing storage drivesA CD/DVD-RW drive reads discs and can also write (record) to them. RW means rewritable.Most new laptops no longer have one. You can buy an external USB drive if you need it.DVD-RW drive
    SD card readerA slot for the small memory cards used in cameras and some phones.Handy if you take photos with a camera or drone.SD card slot

    Ports: where things plug in

    The left side of a black laptop showing a row of sockets: a VGA port, an Ethernet network port, a DisplayPort and three USB ports, with a small symbol beside each one.
    Ports on the side of a Lenovo ThinkPad T410 laptop from 2011: a VGA port, an Ethernet (RJ45) network port, a DisplayPort and three USB 2.0 ports. Notice the small symbol (pictogram) printed beside each port. They help you find the right one.

    Image source: File:Interfaces on left side of Lenovo ThinkPad T410 laptop (2011) (Wikimedia Commons)

    PortWhat it connectsNotes
    USB (Type-A and the smaller, reversible Type-C)Flash drives, mice, keyboards, printers, phones, chargersThe most common port. More USB ports means fewer adapters.
    HDMIMonitors, TVs and projectors (sound and picture in one cable)The usual way to show your screen on a TV or projector today.
    VGAOlder monitors and projectors (picture only)A blue, D-shaped plug with screws. Many school projectors still use it.
    Network (Ethernet, RJ45)A wired internet or network cableLooks like a wide phone socket. Wired connections are often faster and steadier than Wi-Fi.
    Audio jack (3.5 mm)Headphones, earphones and microphonesSome laptops have one combined jack for both.
    FireWireOlder video cameras and external drivesRarely found on new computers. USB and Thunderbolt replaced it.

    Inside: IDE and SATA

    Hard drives and DVD drives connect to the motherboard using an interface. Older computers used IDE (also called PATA), with a wide, flat ribbon cable. Newer computers use SATA, with a thin cable that sends data faster. Many new laptops go one step further, with a tiny M.2 SSD plugged straight into the motherboard. You will only see “SATA” or “M.2” on a spec sheet when the shop lists the type of drive.

    Activity: decode the advert

    Try it: what does this advert really say?

    Here is an advert for a laptop. Click each button to read what the spec means in plain English.

    SpecAdvert says
    ProcessorIntel Core i5, 2.4 GHz, quad-core
    Memory8 GB DDR4 RAM
    Storage512 GB SSD
    Display15.6″ Full HD (1920 × 1080)
    Ports2 × USB-A, 1 × USB-C, HDMI, audio jack, SD card reader
    Optical driveNone

    Comparing two computers for a university student

    Your cousin, Anya, will study architecture at university. She will write reports, research online, join video classes and, most importantly, use 3D design software that needs a lot of memory. She also has to carry the laptop to classes. Here are the two laptops she is choosing between:

    SpecLaptop ALaptop B
    ProcessorIntel Core i3, 2.1 GHz, dual-coreIntel Core i7, 2.8 GHz, 8-core
    RAM4 GB16 GB
    Storage1 TB HDD512 GB SSD
    Screen14″, 1366 × 76815.6″, 1920 × 1080
    Ports2 × USB-A, VGA, Ethernet, audio jack, DVD-RW drive2 × USB-A, 1 × USB-C, HDMI, audio jack, SD card reader
    Weight1.6 kg1.9 kg
    PriceTT$3,200TT$8,900

    Try it: which laptop?

    Click the best answer. You get feedback straight away; only your first click counts towards your score.

    1. Which laptop is better for Anya’s 3D design software?

    2. Laptop A has more storage. Why might Laptop B still feel faster?

    3. Which spec makes Laptop B’s pictures look sharper?

    4. Anya’s friend only types essays and browses the internet, and has a small budget. Which laptop would you suggest?

    5. Which laptop could Anya plug straight into a wired network?

    There is rarely one “perfect” computer. Start with the job the person needs to do, then check that the processor, RAM, storage, screen and ports can do it, and finally look at weight and price.

    Watch: understanding computer specs

    In this video, a computer teacher explains the specs you see in computer adverts, with examples. The prices and some details in the video are for another country, so focus on what each spec means.

    Video: Understanding the Specs of the Computer | *UPDATED* – Education with Mr Hambury – https://www.youtube.com/watch?v=yLch_8yGbOE

    Activity: which port?

    Try it: choose the port

    Which port would you use for each job?

    Plug in a USB flash drive or a mouse
    Show your slides on a modern TV, with sound
    Connect to an older school projector with a blue plug
    Plug in a wired network cable
    Listen with wired earphones
    Copy photos from a camera’s memory card

    Your turn: check a real computer

    • On a Windows computer, open Settings → System → About to see the processor and RAM. Open File Explorer → This PC to see the storage.
    • On a Chromebook, open Settings → About ChromeOS; on a Mac, click the Apple menu → About This Mac.
    • Write the specs of a school or home computer in a table like the one above. Is it good enough for a university student like Anya? Explain why or why not.

    Self-check quiz

    Click the best answer. You get feedback straight away; only your first click counts towards your score.

    1. What does GHz measure on a spec sheet?

    2. Which part holds the programs and files you have open right now?

    3. How is a 15.6″ screen measured?

    4. Which is usually faster?

    5. Which port connects a laptop to a wired network?

    6. SATA is…

    Related posts on islandclass.org

    For later, in Forms 4–5 (CSEC IT): these go deeper and are for when you reach CSEC Information Technology.

    Next: Careers in ICT

    Syllabus link: Forms 1–3 ICT curriculum, Module 2, Objective 2.11 – evaluate the specifications of a computer.

    Attributions to media used in this post:

    Updates

    2026/10/21

    – Fixed the activity code so its buttons keep working.

    © 2026 Vedesh Kungebeharry. All rights reserved.

    Repetition (Iteration) Constructs

    Consider the following example:

    Find the sum of 10 numbers provided by the user.

    This can be accomplished as follows:

    The above solution is very long as well as difficult to understand , manipulate and communicate .

    Observe that there were many repeated steps in obtaining input from the user.

    The solution can be simplified by looping.

    A general looping construct is shown below:

    The solution can be simply implemented using looping:

    Class Discussion: walk-through of solution is discussed.

    This files used in this post can be downloaded here:

    https://drive.google.com/drive/folders/1KjNcPQATyqh8quxnRjUDbJOgdzGvUY1P?usp=sharing

    Homework:

    Create an algorithm which uses repetition to output  the 12 times table from 1 to 12.

    Updates

    2022-10-6: Added files used in this post.

    © 2020 islandclass.org

    The Selection Construct

    Sometimes we wish to change the order of processing based on certain conditions.

    This can be accomplished by using a selection construct pictured below:

    We will examine this in the following example:

    Jim is a salesman for an auto car company. If his total sales for the week exceeds $10000 he is rewarded a sales commission of 8 percent of the sale, if not he is awarded no commission.

    Create a flowchart algorithm which accepts the total sales and outputs the commission.

    Exercise:

    The problem is modified such that  if the total sales were less than $10000 he would receive a commission of 4 percent. See changes below:

    Jim is a salesman for an auto car company. If his total sales for the week exceeds $10000 he is rewarded a sales commission of 8 percent of the total sales, if not he is awarded a commission of 4 percent.

    Create a flowchart algorithm which accepts the total sales and outputs the commission.

    Draw a flowchart for the modified scenario.

    © 2020 islandclass.org

    Algorithms In Narrative Form

    An algorithm in narrative form is not written in discrete steps.   It is expressed as directions in paragraph form and instructions on how rules should be followed.

    An algorithm in narrative form can be considered a precursor to pseudocode or a flowchart

    Example

    An example is given below for the given problem statement

    Problem Definition: A solution is needed which finds the circumference of a circle.

    Algorithm in narrative form: Prompt the user to enter a non-negative value for the radius and store it. If the radius entered is negative or is not a number, keep on prompting the user and accept values until a suitable value is entered.  Use the formula C=2*3.14* r to calculate and store the circumference. Output the circumference to the user and stop processing.

    In class exercise

    Write an algorithm in narrative form which gives instructions/directions on how to follow the rules in order to play “Snakes and ladders”.

    © 2020 islandclass.org

    WHAT IS AN ALGORITHM? – DEFINITION

    An algorithm is a well-defined, precise, finite set of steps for solving a problem.

    What do those words mean?

    • Well-defined and precise: each step is clear and exact. The person (or computer) following it never has to guess what to do.
    • Finite: the algorithm must end. It cannot go on forever.
    • Steps: the instructions are carried out one at a time, in the correct order.

    Algorithms in everyday life

    You already use algorithms every day. A recipe is an algorithm! Here is an algorithm for making a cup of tea:

    1. Boil some water. (Ask an adult to help with hot water.)
    2. Put a teabag into a cup.
    3. Pour the hot water into the cup.
    4. Wait 3 minutes.
    5. Take out the teabag.
    6. Add milk and sugar if you like.
    A teabag being lifted out of a white cup of tea
    Step 5: take out the teabag. Credit: Pasi Mammela, CC BY-SA 2.0, via Wikimedia Commons

    Notice that the steps are clear, they are in order, and they end with a cup of tea. That makes it an algorithm.

    Ways to write an algorithm

    • Narrative: the steps are written in ordinary sentences, like a story.
    • Pseudocode: the steps are written in short, code-like statements such as IF, THEN and PRINT.
    • Flowchart: the steps are drawn as shapes joined by arrows.

    Here is a simple flowchart for fixing a lamp that does not work. Follow the arrows from the top. The diamond shapes are questions: you go one way for “Yes” and another way for “No”.

    Flowchart: Lamp doesn't work. Lamp plugged in? No: plug in lamp. Yes: Bulb burned out? Yes: replace bulb. No: repair lamp.
    A flowchart for a lamp that doesn’t work. Credit: Booyabazooka (SVG) and Wapcaplet (original PNG), CC BY-SA 3.0, via Wikimedia Commons

    Related lessons on this site

    Quick check

    1. What does it mean for an algorithm to be finite?
    2. Write an algorithm, as numbered steps, for brushing your teeth.
    3. Name three ways to write an algorithm.

    Attributions to media used in this post

    © 2020 Vedesh Kungebeharry. All rights reserved.

    Updates to this post: October 2026 – Added explanations, examples, a flowchart and a quick check.

    A Simple Game! – Part 5

    In this lesson, we create a variable called score and update it when a collision occurs. The code occurs in our “Play game” broadcast while moving the ship.

    We add the following code:

    So that the code becomes:

    We add a variable called Still playing to keep track of our current game state:

    And the score is only reset during initialization when “StillPlaying” is false.

    In the case that the ship is missed after movement was completed,, we simply set “StillPlaying” to false and our score is reset during initialization:

    That’s it for our main logic!

    Here’s the full code for the spaceship:


    Here’s the code for the planet:

    A full implementation with all the bells and whistles can be found here:

    Planet Destroyer

    © 2019  Vedesh Kungebeharry. All rights reserved.