unit 2 csp vocab Flashcards

1
Q

flow pattern

A

a pattern showing the order in which individual statements or instructions are executed/evaluated.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

sequential execution

A

each command in a program script executed in the order in which it is listed in the program

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

parameter

A

A parameter is a special kind of variable in computer programming language that is used to pass information between functions or procedures.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

arguments

A

actual information passed in a function

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

procedure

A

the script that performs a task and is referenced within a larger body of source code (function or sun-routine)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

comments

A

text note added to code to provide explanations

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

remix

A

a modified and shared version of an uploaded project

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

selection

A

a programming construct where a program of code is run only if a condition is met (if, else statements)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

If statement

A

They let a program make decisions while it’s running. they tell the computer what to do with certain info.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

If-else statement

A

Tells the computer that if the condition is true, do this. Else, if the condition is false, do another thing.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Nested conditional

A

an if-else statement inside another if else statement

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

operators

A

a character that represents a mathematical or logical action or process

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

control flow

A

the order in which the computer executes statements in a script

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

branching

A

the practice of creating copies of programs or objects in development to work in parallel versions (taking the original version and working on a part or making diff changes to each)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

conditionals

A

a way for computers to make decisions based on conditions

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Boolean value

A

a logical data type that can have only two values, true or false

17
Q

switching

A

process that forwards packets coming in one port to a port leading towards the destination

18
Q

nested

A

when one programming constructing is inside another

19
Q

iteration

A

repeating steps/instructions over and over again

20
Q

Loop

A

a sequence of instruction that is continually repeated until a condition is met

21
Q

indefinite loop

A

lacks a functional exit so it repeats forever

22
Q

definite loop

A

the loop where you know the exact number of times it will loop before

23
Q

repetition

A

the process of looping or repeating sections of a computer program

24
Q

unsolvable problem

A

where no algorithm can ever be written to find the solution

25
Q

halting problem

A

a program can be written that can predict whether or not any other program halts after a finite number of steps.

26
Q

scalability

A

the measure of a system’s ability to increase or decrease in performance and cost in response to changes in application and system processing demands

27
Q

Big-O notation

A

a way to measure an algorithm’s effiiciency

28
Q

sequential search

A

a method for finding an element within a list

29
Q

binary search

A

an efficient algorithm for finding an item from a sorted list of items

30
Q

logarithmic behavior

A

function grows slowly as input values get larger

31
Q

moore’s law

A

the observation made by Gordon Moore in 1965 that the number of transistors on a microchip doubles every 2 years

32
Q

Heuristics

A

a method of solving a problem that proves to be quicker or more efficient than traditional methods