Week 1 Flashcards
What is data
Values without context or structure
What does information mean in relation to data?
values with context or structure
What is a “type”; give examples
a category for values (int, str, float, bool)
What does value mean in relation to python
objects / words / number - data that python works with.
What are compound values; give examples
combinations of data values (lists, tuples, dictionaries
Name 5 types of simple data used in python
int, str, float, bool, complex numbers, bytes
What is programming
a sequence of instructions that specify how to perform a computation
What are the characteristics of pseudo code
- written in simple English.
- describes how the program works.
- can not be executed by a computer.
- easy for humans to read and understand.
What is an algorithm
step by step instructions that will solve a problem, when followed exactly.
What is meant by bugs in programming
programming errors
What is debugging
tracking down and correcting errors
What is a syntax error
errors in the structure of the program, this is checked first.
What is a run time error
errors that occur only when the program is running (i.e. after syntax errors have been checked)
What is a semantic error
you will not get the result you wanted, but the program will run.
What is meant by input
to get data from a keyboard, file or network