Computer Science Midterm

0.0(0)
Studied by 9 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/66

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 11:54 PM on 1/25/24
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

67 Terms

1
New cards

bit

a zero or one in binary (binary digit)

2
New cards

byte

eight bits

3
New cards

binary number

a base 2 number with two possible different digits

4
New cards

overflow error

error that is created when trying to represent a number that is too large

5
New cards

round off error

error from attempting to represent a number that is too precise, so the value is rounded

6
New cards

Abstraction

a simplified representation of something more complex

7
New cards

analog data

data with values that change continuously/smoothly overtime (ex. music, colors of a painting, position of a sprinter during a race)

8
New cards

digital data

data that changes discretely through a finite set of possinle values

9
New cards

sampling

a process of creating digital representation of analop data by measuring the analog at regualr intervals (aka samples)

10
New cards

lossless compression

reducing the number of bits needed to represent something without losing any information

11
New cards

lossy compression

reducing the number of bits needed to represent something, but information is lost or thrown away

12
New cards

intellectual property

create materials on the computer, you own them

13
New cards

Creative Commons

a license that allows you to freely use materials created by others

14
New cards

user interface

the inputs and outputs that allow a user to interact with a piece of software

15
New cards

input

data that is sent to the computer for processing

16
New cards

output

data that is sent from the program to a device

17
New cards

program statement

a command/instruction (code statement)

18
New cards

program

a collection of program statements

19
New cards

sequential programming

program statements run in order, from top to bottom with no user interaction

20
New cards

event driven programming

some program statements run when triggered by user interaction

21
New cards

documentation

a written description about how the piece of code works/how it was developed

22
New cards

comment

a form of program documentation written into the program to be read by people (doesn’t affect how program runs)

23
New cards

pair programming

collaborative programming style where two programmers switch between teh roles of writing teh code and tracking/planning the progress

24
New cards

debugging

the process of finding and fixing problems in the code

25
New cards

expression

a compination of operations and values that evaluates to a single value

26
New cards

variable

a reference to a value (or value that results from evaluating an expression) that can be used respeatedly throughout a program

27
New cards

assignment operator

allows a program to change the value represented by a variable (=)

28
New cards

global variables

permanent, can be used anywhere in your code

29
New cards

local

temporary, can only be used in the part of the code where it was created (inside onEvent)

30
New cards

boolean value

data that is typed in that is either true or false

31
New cards

comparison operators

>, <, <=, >=, ==, ≠ indicate a boolean expression

32
New cards

logical operators

&&, || (OR) !! (NOT)

33
New cards

boolean expression

evaluates to either true or false

34
New cards

MOD operator

divides two numbers and returns the remainder (long division!!)

35
New cards

conditional statement

if/else statement requires you to define an expression that evaluates to true or false

36
New cards

syntax error

code doesn’t follow the rules of the programming language

37
New cards

logic error

your code follows the rules of the programming language, but doesn’t do what you intend

38
New cards

function

a named group of programming instructions

39
New cards

function call

a command that executes the code within a function

40
New cards

metadata

data about data

41
New cards

bar chart

count how many times each value in the column appears and make a bar at that height

42
New cards

histogram

all number are grouped into “buckets” but otherwise similar to bar charts

43
New cards

crosstab chart

counts how many times combinations of values appears

44
New cards

scatterplot

shows compbinations of values from two columns

45
New cards

open data

sharing data with others so they can analyze it

46
New cards

citizen science

research where some of the data collection is done by members of the public using own computing devices which leads to solving scientific problems

47
New cards

crowdsourcing

practing of obtaining input or information from a large number of people via the internet (new models of collaboration)

48
New cards

big data

the size of the datasets impact how much information can be extracted (collect huge amounts of data so we can learn even more from it)

49
New cards

machine learning

AI

50
New cards

racism

prejudice, discrimination, or antagonism directed against a person or people on the basis of their membership in a particular racial or ethnic group, typically one is minority or marginalized

51
New cards

list

an ordered collection of elements

52
New cards

element

an individual value in a list that is assigned a unique index

53
New cards

index

a common method for referencing the elements in a list or string using numbers

54
New cards

while loop

uses a boolean condition to repeadeatdly run a block of code (runs until the boolean expression becomes false)

55
New cards

for loop

condenses the parts of the while loop into a shorter statement (similar to the while loop, once the boolean expression becomes false, the loop ends)

56
New cards

iteration

a repetive portion of an algorithm which repeats a specified number of times or until a given condition is met

57
New cards

infinite loop

occurs when the ending condition will never evaluate to true (boolean expression never equal false)

58
New cards

traversal

traversing through a list one element at a time (uses for loop)

59
New cards

filter

create a subset of elements from the original list

60
New cards

reduce

reduce the list down to a single element

61
New cards

argument

the value passed to the parameter

62
New cards

parameter

a variable in a function definition

63
New cards

return

used to return the flow of ocntrol to the point where function was called and to return the value/expression

64
New cards

library

a collection of functions that can be used in many different programs

65
New cards

application program interface (API)

specifications for how the functions in a library behave and how it can be used

66
New cards

procedural abstraction

provides a name for a process that allows the function to be used only knowing what it does, but not how it does it

67
New cards

modularity

the subdivision of a computer program into seperate subprograms