3.5.1 + 3.5.2 - Fundamentals of Data Representation Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

define what a set of natural numbers are

A

a set containing all positive whole numbers AND zero

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

what is the symbol for a set of natural numbers?

A

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

for the following, would they be natural numbers or not (and give what it is otherwise)

1) pi
2) -2
3) 5

A

1) no - irrational
2) no - integer
3) yes

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

define what a set is

A

an unordered collection of data which contains each item no more than once

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

define what an integer is

A

any whole number (positive and negative)

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

what is the symbol for a set of integers?

A

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

give 5 examples of integers

A

2, -9, 3, 55, 100

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

define what a rational number is

A

any number which can be expressed as a ratio or fraction

- with numerator and denominator both being whole numbers

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

what is the symbol for rational numbers (and why)

A

- as another name for them are quotients

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

give 3 examples of rational numbers

A

2/3, 74, -22.1

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

define what a real number is

A

any number, integers, fractions, irrational and rational numbers

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

give 3 examples of real numbers

A

-310, pi, 22/23

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

define what an irrational number is

A

numbers which cannot be written exactly as a fraction in which the numerator and denominators are both whole numbers

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

what is the symbol for irrational numbers?

A

it has no symbol

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

what is the symbol for a real number

A

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

define what an ordinal number is

A

integers used to describe the numerical

positions of objects in relation to others

17
Q

give 2 examples of an ordinal number

A

2nd, 12th

18
Q

how do arrays utilize ordinal numbers?

A

arrays index items using ordinal numbers

19
Q

what kind of number should you use to count the number of certain objects you have?

A

natural numbers

20
Q

what kind of number should you use to measure a value?

A

real numbers

21
Q

what is a cardinal number?

A

the number which says what the value of a position in a list is

so in the list
2 8 5 3 0

the 2nd position = ordinal number
but the cardinal number is 8

22
Q

convert 67 (denary) to binary

A

01000011 (little 2 on bottom or mark lost)

23
Q

convert AE to denary

A

174

24
Q

convert 88 to hexadecimal

A

58 (little 16)

25
Q

convert to denary:

a) 9E
b) 7F
c) F3

A

a) 158
b) 127
c) F3

26
Q

describe what letters and numbers are used for what in hexadecimal

A

0-9 den = 0-9 hex

10-15 den = A-F hex

27
Q

hexadecimal is a …… for binary

A

shorthand

28
Q

why is hexadecimal used as a shorthand for binary?

A
  • more compact
  • easier to convert
  • easier to write/represent
    (ie. less digits used)