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

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.
How do you respond to user input appropriately?
By providing feedback and handling errors gracefully.
What is the concept of passing data into subprograms?
Passing data into subprograms means providing information or values to a subprogram before it is executed.
What happens when no return statement is used in a function?
When no return statement is used in a function, it returns a default value based on its data type. For example, a function with a data type of 'int' returns 0 by default.
What is the purpose of global variables in subprograms?
Global variables in subprograms are used to store values that can be accessed by all the functions or modules in the program.
What are some techniques for improving the readability of code?
Using comments, using descriptive names for variables, constants, and subprograms, and using indentation to make the code structure clear.
What is iteration?
It is a control structure that allows a program to repeat a set of instructions until a certain condition is met.
What is the purpose of the modulus operator?
The purpose of the modulus operator (%) is to find the remainder when one number is divided by another.
How can you determine the value of a variable at a specific point using a trace table?
By following the execution of the program and recording the changes in the variable's value.
What is the difference between a parameter and an argument?
A parameter is a value defined in the subprogram's header, while an argument is an input value passed in when the subprogram is called.
What is an output parameter in subprograms?