Python is an example of a coding language that doesn’t use CASE statements. Complete the code below to include a conditional statement that calculates the grade boundaries of a test (these are example boundaries):
Combining your selection statements with the parameters that are passed into a sub-routine can mean that you can make your sub-routines more efficient.
The code below sends the number 5 into the sub-routine to output the ASCII Art image. Update the program so that it generates a random number between 1 & 5 and outputs a corresponding image.
The Selection Constructs Scribbl.it Notes provide a structured way for you to revise topic areas in a visual way. You don’t have to be an artist as it’s all been drawn out for you (or you can use this as inspiration to create your own!). Print the notes, then colour in areas of importance, add doodles and colour, then add more detail to the notes page being as creative as possible.
There are known benefits to using Scribbl.it Notes (whether structured like these, or independently created):
Scroll to the bottom to download