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

You can use the 'close()' method to close a file.
What is the difference between a function and a procedure?
A function returns a value while a procedure does not.
Question: How can you identify examples of logic errors?
Answer: Logic errors can often be identified by tracing the program's logic on paper or using a debugger to step through the code and find where the incorrect behavior is occurring.
Question: What are some common mistakes that lead to syntax errors?
Answer: Common mistakes that lead to syntax errors include using incorrect punctuation, using misspelled words, and using incorrect data types or structures.
What is Iteration in programming?
Iteration is the process by which a program repeats a block of code until a certain condition is met.
What are the structural components of a program?
The structural components of a program include variable and type declarations, command sequences, selection, iteration, data structures, and subprograms.
Why is it important to understand how a variable's value changes?
To identify and fix errors in code that can cause unexpected results.
What are the three types of programming errors?
Logic, syntax, and runtime errors.
What happens if validation is not implemented?
If validation is not implemented, data can be inaccurate or unreliable, which can lead to errors and problems in the system.
What is the purpose of accepting user input?
To make programs more interactive and dynamic.
How can you close a file in Python?