Docsity

Computer Science Data Representation Exam Questions and Answers, Exams of Nursing

Toggle sidebar
bg1
OCR COMPUTER SCIENCE J277 DATA
REP EXAM QUESTIONS WITH
CORRECT ANSWERS
Explain why computers use binary. - ANSWERSComputers use circuits which can be
on or off (1), represented by 1 and 0 (1)
Computers operate using logic gates (1) which only have two states, true or false (1).
Calculate the denary value of 01101001 - ANSWERS105
Convert the denary number 78 to binary - ANSWERS01001110
How many bytes would the following message require to store with extended ASCII?
Bring hat! - ANSWERS10 bytes (space and exclamation mark each have their own
ASCII values).
Explain one limitation of ASCII - ANSWERSASCII only uses 7 bits (or 8 for extended
ASCII)
So it can only represent 128 (or 256) characters.
This is not enough to represent characters in other alphabets, e.g. Russian, Arabic, etc.
Convert the hexadecimal 3C into binary. - ANSWERS0011 1100
Convert denary 42 into hexadecimal - ANSWERS2A
Explain why colour codes are given in hexadecimal rather than binary. -
ANSWERSEasier to read / remember than binary (1) Less chance of making an error if
inputting in hex (1) as two digits represent 8 bits (1).
Define the meaning of resolution. - ANSWERSThe concentration of pixels within a
specific area (1).
Explain how adding more colours to an image affects the file size. - ANSWERSAn
additional two colours would increase the bit depth / colour depth / (1) to 2 bits per
pixel / doubling the image size (1).
Give 2 examples of image metadata. - ANSWERSAnswers will include: Data created /
date modified / author / filename / file type / bit depth / GPS location (1) or any other
reasonable metadata likely to be included with images.
pf2

Partial preview of the text

Download Computer Science Data Representation Exam Questions and Answers and more Exams Nursing in PDF only on Docsity!

OCR COMPUTER SCIENCE J277 DATA

REP EXAM QUESTIONS WITH

CORRECT ANSWERS

Explain why computers use binary. - ANSWERSComputers use circuits which can be on or off (1), represented by 1 and 0 (1) Computers operate using logic gates (1) which only have two states, true or false (1). Calculate the denary value of 01101001 - ANSWERS Convert the denary number 78 to binary - ANSWERS How many bytes would the following message require to store with extended ASCII? Bring hat! - ANSWERS10 bytes (space and exclamation mark each have their own ASCII values). Explain one limitation of ASCII - ANSWERSASCII only uses 7 bits (or 8 for extended ASCII) So it can only represent 128 (or 256) characters. This is not enough to represent characters in other alphabets, e.g. Russian, Arabic, etc. Convert the hexadecimal 3C into binary. - ANSWERS0011 1100 Convert denary 42 into hexadecimal - ANSWERS2A Explain why colour codes are given in hexadecimal rather than binary. - ANSWERSEasier to read / remember than binary (1) Less chance of making an error if inputting in hex (1) as two digits represent 8 bits (1). Define the meaning of resolution. - ANSWERSThe concentration of pixels within a specific area (1). Explain how adding more colours to an image affects the file size. - ANSWERSAn additional two colours would increase the bit depth / colour depth / (1) to 2 bits per pixel / doubling the image size (1). Give 2 examples of image metadata. - ANSWERSAnswers will include: Data created / date modified / author / filename / file type / bit depth / GPS location (1) or any other reasonable metadata likely to be included with images.

Explain the effect of increasing the bit depth on the quality of the sounds file. - ANSWERSIncreasing the bit depth will mean that sound is sampled more accurately / this will require more data per sample (1) which will improve the quality of the sound (1) Explain the effect of increasing the sample rate on the size of the sound file. - ANSWERSIncreasing the sample rate will increase the number of samples taken each second (1) which will increase the file size (1) Ray will record 30 seconds of audio with the following settings: Bit depth: 16-bits sample rate: 10 KHz Calculate the file size in bytes of the recording if it is uncompressed. - ANSWERS10,000 x 16 x 30 = 4,800, /8= 600,000 bytes. Ray needs to make sure his recording can be sent by email. Suggest a suitable file format for the file and explain why this is a suitable format. - ANSWERSMP3 format. (1) It is compressed, (1) will become a much smaller file, will therefore take up less bandwidth (1) on his connection and take less time to transmit. (1) Also some email recipients will be unable to receive large files (1) of for example more than 5MB. Explain one key feature of lossy compression and one key feature of lossless compression. - ANSWERSWith lossy compression some of the original data is lost. (1) This (often) allows for a greater level of compression (1). The data that is lost will typically not be noticeable (1). With lossless compression the compressed file has exactly the same data as the original (1), with a reduced file size (1). No loss in data means no loss in quality (1)