compsci 2

0.0(0)
studied byStudied by 5 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/38

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

39 Terms

1
New cards

analog (continuous):

good for highly variable data

2
New cards

digital (discrete):

good for reproducibility

3
New cards

bits

 (base 2)

4
New cards

digits

 (base 10)

5
New cards

 integer

binary number with sign bit

6
New cards

 real

scientific notation → two integers

7
New cards

 text

each character as 8-bit ASCII code

8
New cards

Galileo pioneers the use of experimentation to validate observed theories and as as result is considered the father of modern science

true

9
New cards

An algorithm is a step-by-step sequence of instructions for carrying out some task

true

10
New cards

Suppose you have been given a list of 100 names and you need to find a particular name on the list. Using sequential search, it is possible that you may have to look at every location before finding the name on the list.

true

11
New cards

sequential search

can be fine for small lists, but it is not super fast and efficient

12
New cards

Suppose you have been given a list of 100 names and you need to find a particular name on the list. Using Binary Search, it is possible that you may have to look at every location before finding the name on the list.

false

13
New cards

Binary search

more efficient that sequential

14
New cards

JavaScript statements within a Web page are executed by an interpreter that is embedded in the browser software.

true

15
New cards

The three recurring themes that define the discipline of computer science are

Hardware, Software, and Theory

16
New cards

Since an analogue representation of data uses a continuous, potentially infinite, range of values, reproducing analog data exactly can be difficult

true

17
New cards

3 high level characteristics of computational thinking

decomposition, abstraction, pattern matching

18
New cards

if there were 32 people in the room, how many rounds of Bday comparisons would it take to find the oldest

5

19
New cards

Binary number that represents the decimal value of 13

1101↓2

20
New cards

The steps of the scientific method

OHDEAR

21
New cards

O

Observation

22
New cards

H

Hypothesize

23
New cards

D

design

24
New cards

E

experiment

25
New cards

A

analyze

26
New cards

R

revise

27
New cards

odd number

ends in 1

28
New cards

even number

ends in 0

29
New cards

accuracy is a measure of how close an experiment result is to the expected result

true

30
New cards

abstraction is the ability to ignore irrelevant details and focus only on the aspects that are essential to designing a solution

true

31
New cards

Binary search is an example of 0(log N) algorithm, where the numbers of items in the list to be searched is N.

true

32
New cards

assembly languages

use words

33
New cards

machine languages

use binary number sequences

34
New cards

java script

in the head, gives the function of what the page should do, kind of like behind the scenes work

35
New cards

HTML

written in the body, is what is displayed in the page

36
New cards

parallel processing occurs when a computers computational task is split across multiple CPU’s, allowing for computations to be performed simultaneously

true

37
New cards

The Turing test was proposed by Alan Turing to determine whether an AI machine has been constructed

true

38
New cards

binary #’s

only 1’s and 0’s

39
New cards

decimal #’s

all numbers