Data Flashcards
What is BCD?
Binary coded decimal which is a way to represent decimal numbers in binary, where each digit is represented by a nibble(4-bit sequence). eg 364 would be 0011 0110 0100
How would you represent a negative number in binary?
Using either sign and magnitude or twos complement.
What is sign and magnitude?
A form of binary that shows both positive and negative, with the first bit representing the sign of the number. 0 is positive, 1 is negative. eg. 1001 = -1
What is twos complement?
A form of binary that shows both positive and negative numbers, where digits from bit 0 to the start of the set is written as it is and all others are inverted. eg. -12 = 11111100 in twos complement
What is an overflow error?
Where the result of operation is outside of the defined range. eg In binary addition where the addition of two number each in a single byte is larger than a byte and therefore two bytes are needed to store the result.
What disadvantage has sign and magnitude got?
You can’t add + and - symbols together, therefore you end up with a wrong number during binary addition or subtraction using sign and magnitude.
How would you perform a binary subtraction?
Convert the number you’re taking away to the opposite sign using twos compliment. Then add the two together.
What do you do when a carry occurs with two’s compliment arithmetic?
- When you add a positive to a negative you ignore the carry. 2. When adding two negative numbers you will always get a carry. Only ignore it if bit 7 is 0. 3. When adding two positive numbers you shouldn’t get a carry. You check whether your answer is valid using bit 7.
What are subscripts used for in numbers?
The subscript shows what base the number is in.
eg. 10001010 is a denary number but 1000102 is binary
What is a nibble?
half a byte
Name the order for bits to petabytes.
bits
bytes
kilobytes
megabyte
gigabytes
terabytes
petabytes
How many bits are in a byte?
8
How many bytes are in a kilobyte?
1024
What is a character set?
A defined list of characters recognized by the computer hardwareand software. Each character is represented by a unique binary number.
What is ASCII?
The American Standard Code for Information Interchange.
This is one of the two main recognised character sets, which is used on many personal computers.
Each character is represented by a byte.
7 bits are used for all the common characters used on a keyboard (128)
The 8th bit can be used as a check digit or used to further represent another 128 characters meaning ther character set would then have 256 characters.
What is EBCDIC?
The Extended Binary Code Decimal Interchange Code.
This is a character set used by older mainframe computers. This set uses different code to ASCII and therefore can’t ‘talk’ directly to another PC.
This is only really used in big businesses and they are generally the only ones that use mainframes these days.
What is Unicode?
This is one of the two main recognised character sets, which is used on many personal computers.
It uses the same binary code as ASCII does for the 256 characters that ASCII covers, however unicode uses 16 bits, which allows it to cover many other symbols including that of other languages all around the world.
What is structured data?
Data that has a structure using paragraphs and indentation.
The purpose of the structured data is to make it easier to understand, however the more it is formatted the large the file size becomes.
What is free text?
Free text is a type of text that has no formatting applied to it. The only information is data and some spacing information.
This is useful for emails as it keeps the file size small and therefore is sent quickly.
What is transaction data?
Data that is collected automatically as it is generated and stored in a file, to be later processed.
What does data prepared offline mean?
It means that data is typed into a file and later on a process is run that uses the data in the file.
eg. forms with submit buttons
Describe a keyboard that would be used for manual input of data.
All keyboards have QWERTY keyboards and so are very efficient if the user has had relevant training.
A lot of work goes into designing keyboards ergonomically, which means they are designed in way that takes into account the limitations of human beings.
There also has to be consideration for health and safety due to Repetitive Strain Injury becoming more common.
Describe touch sensitive keyboards and concept keyboards that would be used for manual input of data.
Both concept and touch senstive keyboards have keys which are made up of touch sensitive areas on a plastic cover.
They also are easy to use for individuals that aren’t computer literate as they keys can simply be images. The use of images can also speed up data input and reduce need of training.
The plastic cover can also be useful in settings where there is an excess amount of dust or dirt as it can stop it getting under keyboard keys and jamming the keys.
Describe touch screens that would be used for manual input of data.
A touch screen enables a user to touch their VDU screen to make selections.
This could be used in places where people need to find out information but may have no computer skills. They could also be used where fast decision have to be made.