CS3: Fundamentals Of Data Representation Flashcards

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

What is the difference between Denary, Binary & Hexadecimal?

A

+ Denary [Base 10]: The standard English number system
+ Binary [Base 2]: The number system used in computers
+ Hexadecimal [Base 16]: A number system used to abbreviate Binary code in a computer system

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

Why is Hexadecimal often used in programming?

A

+ It is easier to memorise for programmers
+ It is easier to read
+ Can be used to represent specific colour shades

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

What are the ways Quantities of Binary code can be represented?

A

+ As a single binary digit : A BIT
+ As a group of four bits : A NIBBLE
+ As a group of eight bits : A BYTE
+ As a group of 1000 bytes : A KILOBYTE
+ As a group of 1000 kilobytes : A MEGABYTE
+ As a group of 1000 megabytes : A GIGABYTE
+ As a group of 1000 gigabytes : A TERABYTE

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

How do you add Binary Numbers?

A

+ 0 + 0 = 0
+ 1 + 0 = 1
+ 1 + 1 = 10

10110110
01011101
————
0001 0001 0011

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

What is a Binary shift?

A

+ A binary shift is when you move all the digits in a binary sequence to the left or right
> Shifting the digits to the left multiplies the number (in denary) by two
> Shifting the digits to the left divides the number (in denary) by two

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

What is a character set?

A

+ A character set is used to represent all of the possible characters in a system
+ There are two character sets…
> 7-Bit ASCII
> Unicode

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

What is the difference between Unicode & ASCII?

A

+ ASCII is a way of representing all the characters of the English language, including numbers & special symbols
> Each character in ASCII is represented by 7 bits of binary code
+ Unicode is a way of representing all characters in all languages. This is for languages with other thousands of characters, such as the Arabian language & Japanese Kanji
> Each character in Unicode is represented by 2 bytes (16 bits) of binary code
+ The first 127 digits of ASCII are the same as the first 127 digits of Unicode

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

What is a pixel?

A

A pixel is a single square of colour in a bitmap image

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