Midterm content Flashcards

1
Q

Algorithm:

A

a precise, systematic method for producing a specified result

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

• Algorithm: describes sequence of steps that is

A

Unambiguous, executable, and terminating

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

Rank computer memory from fastest to slowest

A

Registers, Cace, RAM, hard drive

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

Moore’s law

A

Memory on a chip (transistors) will doable every 18 months to two years. Important for processing speeds and price of computers.

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

Operating system:

A

special software that allows other software to run

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

How can you evaluate algorithms

A

Time, space and accuracy

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

simple sort

A

14 memory slots: 42 comparisons

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

Selection sort

A

8 memory slots: 21 comparisons

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

insertion sort

A

8 memory slots: 21 comparisons (on average), depends on how things are organized to begin with

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

Classifiers

A

an algorithm that maps the input data to a specific category - ○ derived from patterns or correlations from data

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

Programs:

A

a way of encoding algorithms in a precise way for computers to understand their instructions

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

High level language has:

A

Complier/Interpreter - takes high level language and translates it and
Assembler translates from assembly language to machine code (0 and 1s)

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

Assembly language

A

specific to computer architecture and operating system

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

Machine code

A

binary instructions that computers can respond to directly

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

Algorithms are made using

A

Sequencing, selection, iteration

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

Sequencing

A

Instructions in a specific order, programs will run in this order

17
Q

Selection

A

allows algorithm to select with instructions to execute depending on conditions

18
Q

Iteration

A

allows algorithm to repeat instructions - loops

19
Q

How are word files stored?

A

Not in ASCII representation, the files are zipped

20
Q

Bug

A

error or flaw in software that makes it produce wrong or unexpected results

21
Q

Colours for computer images

A

Red, green, blue

22
Q

what happens to colour as intensities increase

A

gets lighter

23
Q

Lossless compression of bitmaps

A

Preserves data; Run-length encoding - collapse runs of identical colours; □ Indexed color - build colour palette identify colour within the pallet instead of RGB

24
Q

Loses compression

A

Modify areas with similar colour to the same colour - image does not look the exact same - detectable loss of clarity

25
Q

Vector images

A

Describes each object as a sequence of dots connected by lines or a simple shape, good with hard edges but costly if there is any blur. Can be scaled to any size

26
Q

Keydrame animation

A

Animator positions creations in key frames that form an outline for important movements, in between frames are filled in: tweening