Predict and Run: - Write, run and debug python code in ...



4868267-37147500Python for GCSE Getting Started1:1.1: understand the basic concept of the pythonprogramming language.KeywordDefinitionexample of a high level programming languagetype of programming language which is hard for humans to read butwhich gives you complete control over each aspect of how theprocessor actually operates.a way of describing algorithms using code that can be run on acomputerrunning lines of code in a specific ordertype of programming language which is easy for humans to read butwhich hides some of the detail of how the processor actuallyoperates to simplify writing programs1 high level2 low level3 programming language4 python5 sequencePython for GCSE Getting Started1:1.1: understand the basic concept of the pythonprogramming language.KeywordDefinitionexample of a high level programming languagetype of programming language which is hard for humans to read butwhich gives you complete control over each aspect of how theprocessor actually operates.a way of describing algorithms using code that can be run on acomputerrunning lines of code in a specific ordertype of programming language which is easy for humans to read butwhich hides some of the detail of how the processor actuallyoperates to simplify writing programs1 high level2 low level3 programming language4 python5 sequence be able to assign and use variables1.2:KeywordDefinitionnamed memory location used to store a data value which is set oncethen never changesnamed memory location used to store a data value which canchange while a program runssetting the value of a variablethe name of a variable or constantset of rules to follow when choosing names for variables orconstantsthe data stored inside a variable1 assignment2 constant3 identifier4 naming convention5 value6 variable be able to assign and use variables1.2:KeywordDefinitionnamed memory location used to store a data value which is set oncethen never changesnamed memory location used to store a data value which canchange while a program runssetting the value of a variablethe name of a variable or constantset of rules to follow when choosing names for variables orconstantsthe data stored inside a variable1 assignment2 constant3 identifier4 naming convention5 value6 variable Input and output to the python console1.3:KeywordDefinitionusing data to make calculationsreading data from the user into a programpart of the screen which allows the user to edit python codepart of the screen which allows the user to interact with text basedpython programssending data out from a program to a userread evaluate print loop which allows you to run one line of code at atimeusing different colours to help programmers understand code andspot errors1 console2 editor3 input4 output5 process6 REPL7 syntax highlighting Input and output to the python console1.3:KeywordDefinitionusing data to make calculationsreading data from the user into a programpart of the screen which allows the user to edit python codepart of the screen which allows the user to interact with text basedpython programssending data out from a program to a userread evaluate print loop which allows you to run one line of code at atimeusing different colours to help programmers understand code andspot errors1 console2 editor3 input4 output5 process6 REPL7 syntax highlighting be able to understand and use arithmetic1.4:operatorsKeywordDefinitionmodadd togethersymbol which tells python to perform a maths calculation with twovaluesincrease byexponent (raise to the power)decrease bysubtractdivide1 **2 -3 -=4 /5 %6 +7 +=8 arithmetic operator be able to understand and use arithmetic1.4:operatorsKeywordDefinitionmodadd togethersymbol which tells python to perform a maths calculation with twovaluesincrease byexponent (raise to the power)decrease bysubtractdivide1 **2 -3 -=4 /5 %6 +7 +=8 arithmetic operatorPredict and Run:CodePrediction:Actual result: one of the numbers on each line to make the output 100Debug:CodeLineProblem a program that…Link1) …asks five questions about a sport of your choice2) …displays each line of a nursery rhyme3) Find all the operators in and try replacing them with a different operator ................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download