Open the skeleton program that Paper 1 is built around and you will not find one long list of instructions. You will find a dozen named blocks: one that creates the board, one that places the snakes and ladders, one that displays the board, one that makes a move. Nothing forced the author to write it that way, and every real program is written that way, which is a strong hint that something is being gained.
This lesson covers what a subroutine is, why programs are built out of them, and the two channels through which data travels between a subroutine and the code that called it. Parameters carry data in; return values carry it back out. You will also meet local and global variables, which is where the specimen paper puts two of its marks, and you will learn to say precisely what happens when a subroutine is called rather than waving at it.
This topic is mapped out so you can see how the ideas connect.
Open the mind map in the app
Get the Green Bridge CBT app on your phone or computer for the complete IGCSE library: past papers, mark schemes, mind maps, flashcards and audio lessons.
Congratulations on completing the lesson on Subroutines (procedures And Functions). Now that youve explored the key concepts and ideas, its time to put your knowledge to the test. This section offers a variety of practice questions designed to reinforce your understanding and help you gauge your grasp of the material.
You will encounter a mix of question types, including multiple-choice questions, short answer questions, and essay questions. Each question is thoughtfully crafted to assess different aspects of your knowledge and critical thinking skills.
Use this evaluation section as an opportunity to reinforce your understanding of the topic and to identify any areas where you may need additional study. Don't be discouraged by any challenges you encounter; instead, view them as opportunities for growth and improvement.
Work through these questions in the app
Work through these questions in the app
Want to practice mock questions on Subroutines (procedures And Functions)? Download the Green Bridge CBT app to access mock questions and full practice assessments for this topic.
Everything you need to excel in your exams