Lesson 0 Flashcards
What is Computational thinking?
thought processes involved in expressing solutions as computational steps or algorithms that can be carried out by a computer
What is the essence of computational thinking?
abstraction and automation
Name the 5 steps in computational thinking
- Decomposition
- Pattern recognition
- Abstraction
- Algorithms
- System integration (implementation
What is decomposition
Taking a complex problem and breaking it into more manageable sub-problems
What is Pattern regocnition?
finding similarities, or shared characteristics of problems. Allows a complex problem to become easier to solve.
What is abstraction?
Determine important characteristics of the problem and ignore characteristics that are not important. Use these characteristics to create a representation of what we are trying to solve.
What are algorithms?
Step-by-step instructions of how to solve a problem. Identifies what is to be done, and the order in which they should be done. A finite sequence of defined instructions typically to solve a class of problems or to preform a computation.
What is System integration?
assembly of the parts above into the complete solution
What is the difference between high level languages and low level languages?
Much easier to program in high level languages. They are shorter and easier to read. They are portable (can run on different kinds of computers with little to no modifications).
What programs process high level languages into low level languages?
Interpreters and compilers
What is an interpreter?
reads a high-level program and executes it, meaning that it does what the program says. It processes the program a little at a time, alternately reading lines and performing computations.
What is a compiler
Reads the program and translates it completely before the program starts running. In this case, the high-level program is called the source code, and the translated program is called the object code or the executable. Once a program is compiled, you can execute it repeatedly without further translation.
What is a token?
basic elements of a language, such as words, numbers, and chemical elements.
What is the structure of a syntax?
The way the tokens are arranged.
What is parsing?
Figuring out what the structure of a sentence is.