












Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!













End Of Topic Assessment Section 8: Logic and Languages Tuesday 11 th February L1 โ Logic diagrams and truth tables L2 โ Defensive design L3 โ Errors and testing L4 โ Translators and facilities of languages L5 โ The integrated Development Environment
IDEs IDEs are Integrated Development Environments
IDEs The following screenshot shows some of the features of an IDE
Syntax highlighting Syntax highlighting is where the colour of the text changes to show different parts of the program What do each of the colours mean below?
Syntax highlighting Booleans (false, true), Keywords (while, not, if, else) Type conversions (str, int) Strings โ e.g. "Are you higher or lower in age? " All other operators, variables and functions names
Error diagnostics Error diagnostics help a programmer to find where they have made a mistake
Error diagnostics
Variables
Run-time environment The run-time environment allows a programmer to test their program while it is running
Plenary With a partner, take it in turns to explain each of the following terms related to IDEs:
Plenary Editors โ Use to write and edit programming code Line numbers โ Give a number to each line of code, this is useful when the IDE refers to lines of code Syntax highlighting โ Different colours for code that has different meanings, such as keywords, strings or variables Breakpoints, stepping and watching variables โ The ability to pause code when running and then run each line of code separately whilst watching the values stored in variables as they change Error diagnostics โ Comments from the IDE that help in finding the cause of syntax errors Run-time environment โ The facility of the IDE that allows programs to be run