APCSP.CodeHS with JS.Vocab Units 1-5 (20)

Build your Mastery score
multiple choiceMultiple Choice & FRQ
call kaiCall Kai
Card Sorting

1/19

20 Terms

1
New cards

algorithm

a process or set of rules to be followed in calculations or other problems solving operations

2
New cards

sequencing

logic structure where instructions are executed in order, one after another, one at a time. Often called linear.

3
New cards

flowchart

a simple diagram with symbols showing the "flow" of a process

4
New cards

parameter

a variable that defines a procedure or sets the conditions of an operation

5
New cards

procedure

a named collection of steps in an algorithm that can be reused anytime it is needed without restating the detailed procedures (abstraction)

6
New cards

comments

an annotation in the code of a computer program

7
New cards

selection

algorithmic structure that uses "if...then" to tell computer how to select a step or to tell the sequence that should be executed.

8
New cards

if statement

type of selection statement that only executes when a certain criteria is met.

9
New cards

if else statement

a more thorough version of an if statement that stipulates what is to happen when a certain criteria is not met.

10
New cards

operators

symbols that imply a comparison in conditional selection statements.

11
New cards

branching

instruction in a computer program that can cause a computer to begin executing a different sequence of instructions.

12
New cards

conditionals

only executes if a certain designated condition is true.

13
New cards

Boolean values

binary values (usually denoted true and false), intended to represent the truth values of logic and Boolean algebra.

14
New cards

nesting

where different logic structures sequence, selection and loops are combined or nested in one another.

15
New cards

iteration

repetition - one complete step of a loop, repeated until a certain condition is met

16
New cards

loop

the repetition of some code

17
New cards

indefinite loop

when it is unknown how many times a loop will iterate, usually we are waiting for an event to occur such as "repeat until...."

18
New cards

definite loop

executes a predetermined set of times for a loop to be repeated

19
New cards

Moore's Law

developed by Gordon Moore, who accurately predicted that the number of transistors that could fit on a chip would roughly double every one to two years. This law has helped innovators predict and develop technology efficiently for the past 50 years.

20
New cards

logic gate

a hardware abstraction that is modeled by a Boolean function