Printable Loopcards | Topic 2: Programming | Edexcel IGCSE Computer Science

What are loop cards?

Loop cards are a great game that can be played individually or as a class. They are perfect for review key vocabulary or questions at the end of a topic or when revising for an exam.

Instructions

  1. Cut out the cards from the paper horizontally (but don't cut them in half!) and then shuffle them.
  2. Now start joining each question on the right hand side of the card to the matching answer on the next card.
  3. Carry on until all the cards loop together and you have competed the game!

Hint: Make sure that you set your paper to portrait to print 4 cards per sheet of A4 paper.

Edit Vocab

The syntax for the greater than operator is '>'. This will return true if the first value is greater than the second value.
Give an example of a program that uses the string data type.
string name = 'John Doe';
What is an output parameter in subprograms?
An output parameter is a parameter that returns a value from the subprogram to the caller, and any changes to the parameter inside the subprogram are reflected outside the subprogram.
What is the result of the expression '5 < 3'?
The expression '5 < 3' is false, as 5 is not less than 3.
How do you write code that accepts user input?
By using input() function in Python or scanf() function in C.
What is addition?
Addition is an arithmetic operator used to add two or more values together.
How can inconsistent formatting affect code readability?
Inconsistent formatting can make the code harder to read and understand, especially for others who are unfamiliar with the code.
How do you debug programs to find errors?
By examining the code and running it step by step to identify where the error occurs.
How can you append data to a text file in Python?
You can open the file in 'append' mode by specifying 'a' as the mode parameter in the 'open()' function, and then use the 'write()' method to append data to the file.
What is the difference between a syntax error and a logic error?
A syntax error is a mistake in the structure of the code, while a logic error is a mistake in the program's logic.
What is the syntax for the greater than operator?