1/13
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced |
---|
No study sessions yet.
What is computer science a study of?
Computer software
Algorithms, abstractions, and efficiency
Theoretical foundation of computation
What is an algorithm?
A set of steps to complete a task
What are the requirements of an algorithm
Precise
Repeatable
Predictable in outcomes
Executable by different people
Has an end
What is the programming process?
Input: Ingest info from the real world.
Process Data
Output: Send data back to the real world.
Important: Output is dependent on input.
What are the elements of an algorithm?
Sequence (steps flow)
Selection (choice)
Iteration (repetition)
What is the difference between Algorithms and programming languages?
Algorithms are written in natural language.
Programming Languages are written with strict rules
Define: Compile
Take a piece of code that a human can understand and turn it into something a computer can run.
Define: Compiler
Compiles all of the code of a computer at once.
Define: Interpreter
Compiles code line by line
Define: IDE
An application used to help someone create code.
Define: Literals
Actual data values
Define: Operators
+, -, , /, %, *, etc
Define: Comment
A part of the code ignored by Python, intended to help a human reader
Define: Function
A named sequence of instructions that perform a collective purpose.