4. Validation rules and input masks
validation rules and input masks
To help me with the validation rules and input masks on this video, I used the Microsoft reference site.
Tutorials in the series:
To help me with the validation rules and input masks on this video, I used the Microsoft reference site.
An If statement is a control structure. We use if statements to programme an automatic response from a computer. Think about an every day device such as a fire alarm in your house. An if statement is programmed into the device memory to beep loudly if it detects carbon monoxide. Look at the flow chart below. more »
Concatenation is something my students always find a little confusing at first. Concatenation is about joining different pieces of information into one print function. Example 1 To help us better understand this let’s look back at the example of how Python treats strings and integers differently. Do you remember the example below? If not run more »
Computational Thinking Puzzles In this puzzle, you need to think computationally to finish each level. Once you get to the more advanced stages, you have to use functions to give less instruction but repeat code. Click here to try Light-Bot 2.0 Click here to try light-bot 1 Click here to try gold collector Click here to try Dock The more »
Just a bunch of useful links that you could use while revising for the OCR Computer Science GCSE Online textbook @ https://en.wikibooks.org/wiki/GCSE_Computer_Science Specification@ https://www.ocr.org.uk/Images/558027-specification-gcse-computer-science-j277.pdf Extra Resources @ https://www.cambridgegcsecomputing.org/ https://www.bbc.co.uk/bitesize/examspecs/zmtchbk https://app.memrise.com/course/1315567/gcse-ocr-computer-science/ https://www.cram.com/flashcards/computer-science-ocr-gcse-11506218 https://teach-ict.com/2016/GCSE_Computing/OCR_J277/OCR_J277_home.html https://www.youtube.com/channel/UCsBxhDfwURg-vQASN2ZeHwg https://www.mrfraser.org/ GigaFlop
Input allows a user to add data to a variable for use later in the programme. This is great if you want to ask the user for anything such as their age or anything else! by default Python always assumes all input data is a string datatype. To change this wrap the input function within more »