the fundamentals of data representation

studied byStudied by 1 person
0.0(0)
Get a hint
Hint

Describe the concept of bases in the context of Denary, Binary, and Hexadecimal.

1 / 36

encourage image

There's no tags or description

Looks like no one added any tags here yet for you.

37 Terms

1

Describe the concept of bases in the context of Denary, Binary, and Hexadecimal.

Bases refer to the number of different digits or combination of digits used in a number system. Denary uses 10 digits (0-9), Binary uses 2 digits (0, 1), and Hexadecimal uses 16 digits (0-9, A-F).

New cards
2

Define a bit and a nibble in the context of units of information.

A bit is the smallest unit of data in computing, representing a binary digit (0 or 1). A nibble consists of 4 bits.

New cards
3

How is a byte related to bits and nibbles?

A byte consists of 8 bits or 2 nibbles.

New cards
4

Do you know the sequence of units in increasing order from bit to petabyte?

Bit, nibble, byte, kilobyte, megabyte, gigabyte, terabyte, petabyte.

New cards
5

Describe the process of converting Denary to Binary.

List binary place values, place a one under the largest fitting value, subtract and repeat until the number becomes 0. The ones below the values represent the binary equivalent.

New cards
6

Explain the significance of binary in computer science.

Computers use binary because they operate using switches that can be either on (1) or off (0), making it a fundamental system for digital electronics.

New cards
7

How is the value of a binary number calculated from its digits?

Multiply each digit by the corresponding power of 2 based on its position, then sum the results to get the denary equivalent.

New cards
8

Define Kilobyte, Megabyte, Gigabyte, and Terabyte in terms of bytes.

Kilobyte = 1000 bytes, Megabyte = 1000 kilobytes, Gigabyte = 1000 megabytes, Terabyte = 1000 gigabytes.

New cards
9

Describe the process of converting binary to hexadecimal.

Group binary digits into nibbles of 4, convert each nibble to denary, then convert denary to hexadecimal using the conversion table, and finally combine the hex digits.

New cards
10

How do you convert a hexadecimal number to binary?

Split the hex number into individual values, convert each hex value to decimal, then convert each decimal to binary, and finally combine all digits to form one binary number.

New cards
11

Define binary shifts in multiplication and division.

In binary, shifting all digits to the left multiplies the number by 2^(number of places), while shifting to the right divides by 2^(number of places).

New cards
12

Do a binary addition example using the provided table.

Performing binary addition involves adding two binary digits along with any carry from the previous addition, following the rules outlined in the table.

New cards
13

How does shifting in binary multiplication work?

To multiply a binary number, shift all its digits to the left and fill gaps with 0s. For example, to multiply by 4, shift all digits two places to the left.

New cards
14

Explain the impact of losing a '1' during binary shifting.

Losing a '1' during shifting in binary multiplication/division can lead to incorrect or inaccurate results, affecting the final value.

New cards
15

Describe the process of converting denary to hexadecimal.

Convert denary numbers to binary, group binary digits into nibbles of 4, then convert each nibble to denary, and finally convert denary to hexadecimal using the conversion table.

New cards
16

How can binary shifting be used for division?

In binary division, shifting all digits to the right divides the number by 2^(number of places), providing a simple method for division operations.

New cards
17

Explain the concept of nibbles in binary conversion.

Nibbles are groups of 4 binary digits used when converting binary to hexadecimal, simplifying the conversion process by breaking down the binary number into manageable parts.

New cards
18

Do a binary multiplication example using shifting.

Perform a binary multiplication by shifting all digits to the left, multiplying the number by 2^(number of places) as per the shifting rules in binary operations.

New cards
19

Describe ASCII character encoding

ASCII is a character encoding standard that uses 8-bit characters to represent 128 characters, including control codes, punctuation, uppercase and lowercase letters, and numeric digits.

New cards
20

Define Unicode character encoding

Unicode is a character encoding standard that uses 16-bit or 32-bit characters to represent a much larger number of characters, including emojis, and shares the same codes as ASCII up to 127.

New cards
21

How are character codes in ASCII grouped?

Character codes in ASCII are grouped and run in sequence, where each character has a specific numerical value, making it possible to determine the values for other characters based on this sequence.

New cards
22

What is a pixel in image representation?

A pixel is the smallest unit in an image, defined by a color and represented in binary, with each pixel having a specific position.

New cards
23

Describe bitmapped images

Bitmapped images are composed of pixels, where each pixel is represented by a unique binary number corresponding to a color, arranged in a two-dimensional matrix to form the image.

New cards
24

Define colour depth in image representation

Colour depth refers to the number of bits used to represent a pixel, determining the range of colors that can be displayed in an image.

New cards
25

How is the number of colors in an image calculated based on colour depth?

The number of colors in an image is calculated as 2 raised to the power of the number of bits used for the color depth of each pixel.

New cards
26

What is the formula for calculating image file size in bits?

Image file size (in bits) = width in pixels ร— height in pixels ร— color depth in bits.

New cards
27

Describe sound representation

Sound is analog and does not follow the digital binary representation like images or characters.

New cards
28

Describe the process of converting analogue signals to digital form for storage and processing by a computer.

Analogue signals are sampled to digitalize sound, where a sample represents a measure of amplitude at a specific point in time. This process involves determining the sampling rate (number of samples per second in hertz) and the sample resolution (number of bits per sample). The size of a sound file in bits can be calculated by multiplying the sampling rate, sampling resolution, and the length of the sound in seconds.

New cards
29

Explain the concept of compression and differentiate between lossy and lossless compression methods.

Compression is a technique used to reduce file size. Lossy compression involves removing some data to make the file smaller, typically removing data that is least likely to be noticed. The original file cannot be fully restored from the compressed version. In contrast, lossless compression retains all information by identifying patterns in the data, allowing repeated data items to be stored once with instructions on how to restore them. The original file can be completely restored in lossless compression.

New cards
30

What are the reasons for compressing files?

File compression reduces size, enabling faster transmission, requiring less bandwidth, and lowering the cost of cloud storage.

New cards
31

Define Huffman coding and explain how it achieves lossless compression.

Huffman coding utilizes a binary tree to assign binary codes to data elements, like characters. It reduces the binary code length for longer data elements, placing them higher in the tree. Typically, right-hand paths are represented by 1 and left-hand paths by 0. This method achieves lossless compression by identifying patterns in the data and assigning shorter binary codes to frequently occurring elements.

New cards
32

How is the number of bits calculated for a phrase using a Huffman binary tree?

To calculate the number of bits for a phrase using a Huffman binary tree, one must refer to the tree structure to determine the binary code length for each character. By following the tree, the total number of bits needed for the phrase can be calculated based on the assigned binary codes for each character.

New cards
33

Describe how to calculate the number of bits for a phrase before compression using ASCII.

Count the number of characters in the phrase, including spaces, and multiply this number by 7.

New cards
34

Do in Run Length Encoding (RLE), how is data compressed?

RLE compresses data by specifying the number of times a character or pixel repeats, followed by the value of the character or pixel.

New cards
35

Define Run Length Encoding (RLE) in the context of data compression.

RLE is a lossless compression technique that represents data by indicating the repetition count of a character or pixel followed by the character or pixel value.

New cards
36

How can you calculate the total number of bits needed for a character in a phrase in the context of compression?

Multiply the number of bits by the frequency of the character to get the total number of bits needed for that character in the whole phrase.

New cards
37

Describe the process of calculating the total number of bits for the entire phrase in the context of compression.

Add together the total number of bits needed for each character in the phrase to determine the number of bits for the entire phrase.

New cards

Explore top notes

note Note
studied byStudied by 12 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 3 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 3 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 16 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 300 people
Updated ... ago
5.0 Stars(2)
note Note
studied byStudied by 16 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 7 people
Updated ... ago
5.0 Stars(2)
note Note
studied byStudied by 1263 people
Updated ... ago
5.0 Stars(5)

Explore top flashcards

flashcards Flashcard45 terms
studied byStudied by 8 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard46 terms
studied byStudied by 242 people
Updated ... ago
4.0 Stars(2)
flashcards Flashcard44 terms
studied byStudied by 2 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard42 terms
studied byStudied by 28 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard20 terms
studied byStudied by 13 people
Updated ... ago
5.0 Stars(2)
flashcards Flashcard21 terms
studied byStudied by 21 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard332 terms
studied byStudied by 171 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard230 terms
studied byStudied by 107 people
Updated ... ago
5.0 Stars(1)