A-level Physics (Advancing Physics)/Digital Storage/Worked Solutions

From testwiki
Revision as of 01:13, 31 July 2017 by imported>PokestarFan (top: clean up & typo fixing using AWB)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

1. An image transmitted down a SVGA video cable is 800 pixels wide, and 600 pixels high. How many pixels are there in the image?

800×600=480000 pixels

2. A grayscale image is encoded using 3 bits. How many possible values can each pixel have?

23 = 8

3. The characters in a text document are numbered from 0 - 255. How many bits should each character be encoded with?

There are 256 possible values.

b=log256log2=8

4. A page contains 30 lines of text, with an average of 15 characters on each line. Each character is represented by 4 bits. How many megabytes of uncompressed storage will a book consisting of 650 pages like this fill on a computer's hard disk?

Total number of characters = 650 x 30 x 15 = 292 500

Total amount of information = 292500 x 4 = 1 170 000 bits

1170000 bits=11700008 bytes=146250 bytes=14625010242 Mbytes0.14 Mbytes

5. A 10 cm wide square image is scanned into a computer. Each pixel is encoded using 3 channels (red, green and blue), and each channel can take on 256 possible values. One pixel is 0.01 mm wide. How much information does the scanned image contain? Express your answer using an appropriate unit.

10cm=0.10.01×103 pixels=10000 pixels

Total number of pixels = 10 0002 = 100 000 000 pixels

b=log256log2=8 bits per. channel per. pixel=8×3 bits per. pixel=24 bits per. pixel

Total information = 24 x 100 000 000 = 2 400 000 000 bits = 300 000 000 bytes

30000000010242286 Mbytes (This is why we usually compress images before storage, or at least use fewer bits per. pixel.)

Template:BookCat