1.4 data types, structures and algorithms(unfin) Flashcards

(24 cards)

1
Q

primitive data types

A

integer
real/floating point
character
string
Boolean

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

abstract data types

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

composite data types

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

static vs dynamic

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

binary

A

types:
-positive integers
-sign and magnitude
-floating points

operations:
-addition, subtraction
-shifting: AND, OR, XOR

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

ASCII

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

Unicode

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

arrays

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

records

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

lists

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

tuples

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

linked list

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

graphs

A

-directed
-undirected

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

stack

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

tree

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

binary search tree

17
Q

hash table

A

stored as array, with a key map to a unique index

collision: when two keys produce the same hash value, the item will be placed in the next available space

use: commonly use for indexing, as it allows quick access

19
Q

Boolean expressions with logical operators

20
Q

rules to simplify boolean expressions

21
Q

logic gates

22
Q

d-type flip flops

22
Q

half adder

23
Q

full adder