computer science Flashcards
revision
3 companies that use python
-youtube
-google
-netflix
variable definition
storage location of information-can change
constant definition
storage location of memory-cannot be changed
3 programming constructs:
-sequence
-selection
-iteration
sequence
sequence is the order in which instructions occur and are processed.
selection
Selection is the process of making a decision. The result of the decision decides which path the program will take next.
4 symbols used in flowcharts
-start/stop
-process
-decision
-input/output
shape of start/stop
oval
shape of process
rectangle
shape of decision
diamond
shape of input/output
parallelogram
3 logic gates
-AND
-OR
-NOT
logic gate
is a series of transistors connected together to give one or more
outputs
decomposition
breaking down of a given task into simple steps
abstraction
picking out the important bits of info-ignoring details that don’t matter
Computational thinking-
taking a complex problem and breaking it down into a series of small, problems.
algorithm
a list set of instructions, used to solve problems or perform tasks