Unit 8 - Logic and Languages Flashcards
What is meant by the term “Line Numbers”?
A number assigned to each line of code
What is meant by the term “Syntax Highlighting”?
When pieces of syntax such as variables are highlighted
What is meant by the term “Breakpoints”?
A point in the code where the programmer tells the code to stop running
What is meant by the term “Stepping”?
When a programmer goes through code one line at a time, typically to find errors
What is meant by the term “Watching Variables”?
When a programmer watches a table that displays the current value of all variables in order to see if they have the wrong value at any point
What is meant by the term “Error Diagnostics”?
Comments that discern where syntax errors are in the code, typically accompanied by line numbers
What is meant by the term “Run-Time Environment”?
Allows IDEs to run code internally and tell the programmer why it may crash
What is meant by the term “Input Validation”?
Checking input meets certain rules, e.g. the type of data
What is meant by the term “Anticipating misuse”?
Preventing too many entries of a password to make it harder for hackers to guess
What is meant by the term “Authentication”?
Entering data twice or checking from an alternative source
Explain the usage of sub programs
Crrating reusable code where bugs can be easily fixed
What is meant by the term “Naming conventions”?
Good use of variables and sub program names to make programs easier to read
What is meant by the term “Indentation”?
A gap at the start of a line to idicate that a section of code is linked to another
What is meant by the term “Commenting”?
A message left by the programmer explaining what the code does and how it accomplishes this
What is meant by the term “Syntax Error”?
A point where the code is not conforming to the rules of the language it was written in
What is meant by the term “Logical error”?
Where the code runs in an unintended way
What are the 4 types of test data?
Normal Data : Fits within all parameters with ease
Boundary Data: Just above or below the requirements
Invalid Data: Doesn’t fit within the parameters at all
Erroneous Data: Wrong type
Give 3 examples of high level programming languages
Python
Java
C++
Give an example of a query language
SQL
Give 2 exampls of Markup languages
HTML
XML
Give an example of a low level programming language
Assembly language
What is meant by the term “Machine code”
Code that is read by machines but very difficult for people to read
Name 3 advantages of low level languages
Faster run time
Less RAM intensive code
Manipulates specific hardware components
What do compilers and interpreters do?
Translates a high level language into machine code