CS Chap #1 (Sub-topic 1.1: Data Representation) Flashcards

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

Binary

A

number system is base 2, using only bits 0 and 1.

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

One’s Complement and Two’s Complement

A
  1. Invert all number. ( 1 becomes 0, 0 becomes 1).
  2. After One’s Complement add one to the solution.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Hexadecimal

A

number system is base 16, using only digits 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, and F.( A=10, B=11, C=12, D=13, E=14 and F=15)

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

Binary Coded Decimal (BCD)

A

number system that uses 4 bits to represent each denary digit

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

ASCII code

A

Coding system for all the characters on a keyboard and control codes.

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

Unicode

A

Coding system which represents all the languages of the world (first 128 characters are the same as ASCII code).

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

Kibibyte, Mebibyte, Gibibyte, Tebibyte, Pebibyte

A

2^10, 2^20, 2^30, 2^40, 2^50

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

Kilobyte (KB), Megabyte (MB), Gigabyte (GB), Terabyte (TB), Petabyte (PB).

A

10^3, 10^6, 10^9, 10^12, 10^15

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

How to convert form Hexadecimal to Binary?

A

Use four bits in decimal to represent one hexadecimal value. (Vice versa for Binary to Hexadecimal)

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

Uses of Hexadecimal

A

Memory Dump, Error Messages, HTML Colour, IP Address

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

Uses of BCD

A

When denary numbers need to be electronically coded and/or displayed.

e.g.
- to operate displays on an electronic calculator
- Date and time stored in BIOS of PCs
- Financial applications
- Identification of latitude and longitude (e.g. cell towers)
- Barcodes

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

Difference between ASCII and Unicode

A

ASCII- 7-bit system (128 character),
Unicode- extended character set for ASCII that has 1,000s of characters (first 128 of both are the same)

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

Advantages of Unicode

A
  • Much larger number of characters or group of characters
  • Contains some non western european characters
How well did you know this?
1
Not at all
2
3
4
5
Perfectly