Computer Science - Representing Characters and Images in a computer + graphics π» Flashcards
(42 cards)
What is a character set?
The set of symbols that may be represented by a computer at a particular time.
What are the two main internationally agreed character sets?
ASCII and Unicode
What does ASCII stand for?
American Standard Code for Information Interchange.
Initially, how many bits did ASCII use and how many characters could it represent?
It used 7 bits out of the 8 bit byte, which meant it could represent 128 different characters (2β·)
How many bits does the extended ASCII use and how many characters can it represent?
It uses all 8 bits and can represent up to 256 characters (2βΈ)
In ASCII, upper case letters are stored as the numbers:
65 to 90
In ASCII, lower case letters are stored as the numbers:
97 to 122
In ASCII, numeric digits are stored as the numbers:
48 to 57
In ASCII, the space character is stored as the number:
32
What is unicode?
Unicode is an international standard character set which uses 16 bits to represent the character set.
What is the goal of unicode?
The goal of unicode is to specify a code matching every character needed by every written human language, It aims to be understood by all computer platforms.
The first 256 characters of unicode areβ¦
Identical to ASCII
What are graphics?
Graphics are the display of images and drawings on the computer. It is digitized, meaning that it is turned into a sequence of numbers understandable by the computer.
What is a pixel?
A tiny square of colour, many of these together can form a digital image.
What is βpixelβ short for?
It is short for βpicture elementβ
How does a computer know what colour a pixel is?
Each pixel has a specific number which tells the computer what colour the pixel should be.
What is the process of digitization?
The process that takes an image and turns it into a set of pixels.
A computer monitor is made up ofβ¦
A computer monitor is made up of millions of tiny squares (pixels)
The more pixels, theβ¦
The more pixels, the better an image looks
What are the two types of graphics?
Bitmapped/raster graphics and Vector graphics.
What is a bitmap?
A bitmap is a method for storing images using pixels.
Why are bitmap graphics called bitmap graphics?
Because it is a βmapβ of where the βbitsβ of information are stored.
The information in bitmap graphics are stored asβ¦
The information in bitmap graphics are stored as a sequence of numbers defining the colour of each pixel.
In a simple black and white image, what does a bitmap need to know?
It needs to know if a pixel is βonβ or βoffβ, which can be stored as a 0 or a 1.