Module 2 - Unit 1 - Using Data Types and Units Flashcards

1
Q

What is the notational system in computing?

A

Notational system is one used to represent different quantities or characters. Notational systems used to represent values and quantities include decimal, binary and hexadecimal.

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

What is the decimal notation?

A

Decimal is based on the principle of expressing ten different numbers using a single digit in the range of 0 to 9. It is our day-to-day numbering system.

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

How would you explain place value?

A

Place value is the value of what a digit holds in an array of digit (numbers) based on the position that it is in. The rightmost value of the digit is the smallest and increases in value as it goes left. In decimal, the same digit on the left is ten times more to its right.

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

What is the binary notation?

A

Binary is a numbering system where each single digit can express only two values, in the range 0 to 1. The place value of each digit is two times more as it goes left.

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

What is the hexadecimal notation?

A

The hex notation system enables you to express 16 different numbers using a single digit in the range of 0-9 and A-F. A is 10, B is 11, C is 12, D is 13, E is 14, F is 15. Every 16 digit, the count in the array of digit increases by 1.

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

How to convert binary to decimal?

A

Each digit in an array of 1s and 0s has a value 2 times more than the right starting from the rightmost digit ‘1’. To get 1, the base 2 is powered by a 0 such that 2**0 = 1.

For example, in a array of 5 digits,

24, 23, 22, 21, 2**0 = 16, 8, 4, 2, 1

If all is 1 such that 11111, then the value in decimal is 31 by adding all the numbers; otherwise if it is all 0, then the value would be 0. If it is 11000, then the value will be 24.

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

How to convert hexadecimal to decimal?

A

Each digit in an array of 1s and 0s has a value 16 times more than the right starting from the rightmost digit ‘1’. To get 1, the base 16 is powered by a 0 such that 16**0 = 1.

For example, in a array of 5 digits,

164, 163, 162, 161, 16**0 = 65536, 4096, 256, 16, 1

If all is 1 such that , then the value in decimal is 69905 by adding all the numbers; otherwise if it is all 0, then the value would be 0. If it is 11000, then the value will be 69632.

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

How to convert a decimal to a binary?

A

1) Divide the number by 2
2) Get the integer quotient for the next iteration
3) Convert the remainder digit to a binary digit
4) Repeat until the number becomes zero

Example,

To convert 31 to binary:

42/2: quotient=21, remainder=0, bit=0
21/2: quotient=10, remainder=1, bit=1
10/2: quotient=5, remainder=0, bit=0
5/2: quotient=2, remainder=1, bit=1
2/2: quotient=1, remainder=0, bit=0
1/2: quotient=0, remainder=1, bit=1

Hence the binary number (from the bottom up) is:
(101010)2

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

How to convert a decimal to a hexadecimal?

A

1) Divide the number by 16
2) Get the integer quotient for the next iteration
3) Convert the remainder digit to a hex digit
4) Repeat until the quotient becomes zero

Example,

To convert 1234 to hexadecimal:

1234/16: quotient=77, remainder=2, hex=2
77/16: quotient=4, remainder=13, hex=D
4/16: quotient=0, remainder=4, hex=4

Hence the hexadecimal number (from the bottom up) is: (4D2)16

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

What measuring unit do you use to measure computer data in its smallest form?

A

Bit, a.k.a binary.

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

How large is a byte?

A

8 bits.

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

What is the size of Kilo, Mega, Giga, Tera and Peta?

A
Kilo = 1000 or 10^3
Mega = 1,000,000 or 10^6
Giga = 1,000,000,000 or 10^9
Tera = 1,000,000,000,000 or 10^12
Peta = 1,000,000,000,000,000 or 10^15
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is the more accurate notation to describe bytes in binary terms?

A
Kibi = 1024 or 2^10
Mebi = 1,048,576 or 2^20
Gibi = 1,073,741,824 or 2^30
Tebi = 1,009,511,627,776 or 2^40
Pebi = 1,125,899,906,842,624 or 2^50
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is a throughput rate?

A

It measures in bits the rate at which data transfers between computers or in the computer. It is always base 10 and can be expressed in bytes.

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

How is computer speed measured?

A

It is measured in hertz, describing the number of instruction cycles the processor can perform in a second

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

What are the common data types?

A

i) Integer,
ii) floating number,
iii) boolean values,
iv) characters,
v) strings

17
Q

How do computers represent letters, symbols or numbers?

A

Computer uses an organization method called a character set, where each letter or symbol is represented by bits. These bits are usually referred to in decimals for it to be readable.

18
Q

ASCII character set

A

Design in 1963, it stands for “American Standard Code for Information Interchange”, each character is represented by a seven bit binary number.

19
Q

Unicode character set

A

Design in the late 80s, it purpose is to create a universal character set. It comprises of:

i) a set of code charts that handle visual reference
ii) a data encoding method
iii) a set of standard character encodings
iv) a set of reference data files
v) character properties
vi) rules to handle normalization, rendering, display order

20
Q

Information security control

A

A mechanism designed to protect an information asset or processing system. It ensures that data is contained within the information processing system and is only accessible with authorization

21
Q

What are the number of ways security control can be implemented?

A

i) Backup
ii) Access Control - Permissions, usage restrictions, data encryption, firewall
iii) High availability: Having access during failures, fault tolerant

22
Q

Intellectual Property

A

A valuable information asset that an organization owns

23
Q

Copyright

A

An automatic legal protection granted to certain types of work indicating that the copyright holder owns the right to control the use of the work, including rights of publication, distribution, or sale.

24
Q

Trademark

A

As copyright is not given tot he selection of a name, if a company wants to promote its goods it will normally trademark its name and/or logo. A trademark must be distinctive within the industry in which the company is selling goods and services.

25
Q

Patent

A

A legal protection for some kind of invention. Unlike copyright, a patent can apply to an idea so long as the idea is original (or novel), useful, and distinctive or non-trivial.

It can be a complex matter as different countries have different standards for accepting patents, and they are registered for a limited time only.

26
Q

What is Data?

A

Data is the raw values collected by the system. The system must have some way of tagging or normalizing these values, similar to the way that data is defined with different types, so that they can be used for comparisons.

27
Q

What is information?

A

Information is some level of summarization of the individual data points

28
Q

What are insights?

A

Insights are things that inform meaningful business decisions

29
Q

How to obtain data?

A

Via data capture and collection

30
Q

How to obtain information from data?

A

Via data correlation, a method where connections and links between data points is found

31
Q

How to produce insights from information?

A

Via meaningful reporting, information is presented in a way where humans can analyze and interpret

32
Q

Which notation system supports presenting the largest numbers using the fewest digits: Binary, Decimal and hexadecimal?

A

Hexadecimal. Each hex digit can store 16 bits of information. A single decimal digit stores 4 bits while binary obviously stores 1 bit.

33
Q

`What is the decimal number 75 in binary and hexadecimal?

A

0100 1011 in binary and 4B in hex. Hex notation is often indicated using 0x to precede the hex digits, so you may see this written like 0x4b. to work out the answer without a calculator, write out the place values for each notation system. Fo binary you’d have columns for 64, 32, 16, 8, 4, 2 and 1 and put a 1 in each column you need to add up to 75 and a 0 in the others. For hex you only need 16 and 1 (75 divided by 16 is 4 remainder 11, which is represented as “B” in hex).

34
Q

Which data type provides for whole numbers only?

A

Integer.

35
Q

What is the difference between the char and string data types?

A

Char stores a single textual character in a fixed length field (typically 1 byte). A string is a variable length field for storing a sequence of characters.

36
Q

What type of legal protection could be obtained for a novel software algorithm?

A

Patent provides the best protection as it can enforce ownership even if someone tries to write the algorithm in a slightly different way. Software code is often protected both by patent and by copyright however.

37
Q

What data protection technology could you implement in order to restrict the type of activity that users could employ on digital products that they have purchase or rented?

A

Digital Rights Management (DRM).

38
Q

What part of the process of data analytics is most closely supported by meaningful reporting?

A

Insights are the “end product” of the analytic process. Humans need a suitable reporting format to make best use of insights.