Higher ComputingComputer SystemsHomework 2

Higher Computing – Computer Systems (2)

  1. There are two main ways that negative numbers can be represented in a computer system. Name both of them.

Signed bit and Two’s Complement

  1. What are the 3 steps in converting a positive whole number into Two’s Complement.

Write down the +ve version of the number, flip the bits, add 1

  1. What is the name of the process used to represent real numbers?

Floating point representation

  1. What is a mantissa? Give an example.

The ‘number’ = .1101011

  1. What is an exponent? Give an example.

The ‘power’ = x21101

  1. How can you increase the precision of the number being stored?

Increase the number of bits available for the mantissa

  1. What range of numbers can be represented in floating point if 4 bytes is available for the mantissa and 1 byte for the exponent (ignore two’s complement).

0 to 4 294 967 295 (232)

or .1111 1111 1111 1111 1111 1111 1111 1111 x 21111 1111

  1. What is a:
  2. Charactera letter number of nonprintable keystroke
  3. Character setall the characters that can be represented on a standard keyboard
  4. Control characterASCII code 0-32 – nonprintable characters
  5. What does ASCII stand for?

American Standard Code for Information Interchange

  1. How many characters can true ASCII represent?

128

  1. Give a reason for your answer to 10.

True ASCII only uses 7 bits

  1. What is Unicode?

Another method of representing text in a computer

  1. State one advantage of Unicode over ASCII?

More languages/characters can be represented

  1. What is the name given to ASCII where it uses 8 bits?

Extended ASCII

  1. In ASCII what range of numbers (decimal will do) represent all the control characters?

0 - 32

  1. Any information displayed on a computer screen is made up of tiny dots. What are these called (Full name please)?

Picture Elements

  1. What does each of these tiny dots represent in a computer?

1 bit

  1. In a black and white bit-mapped graphic describe how any image is constructed referring to ‘bits’ in your answer.

Bits represented as black are coded as 1’s and bits represented as white are coded 0’s

  1. Describe ‘Bit-Depth’

The number of bits used to represent a colour

  1. Why is it necessary to compress files particularly graphic files?

To save storage space/make file transfer faster

  1. What is the name given to the type of graphic where objects are drawn on the screen?

Vector

  1. What Bit-depth is needed to represent ‘True Colour’?

24

  1. Name a lossless compressed graphic file type.

Gif

  1. An A4 page (10x8) is to be scanned at 300dpi in 65,536 colours. What is the storage requirement of the resulting file? Express your answer in Megabytes showing all working.

No. of pixels per square inch= 300x300

No of square inches= 10x8

No of pixels= 10x8x300x300 = 7200000 pixels.

Total memory= 7200000x16 = 115200000 bits

115200000/8= 14400000 Bytes

14400000/1024= 14062.5 Kilobytes

14062.5/1024= 13.73 Megabytes