Karteikarten
COMP1 Exam
Karten in diesem Stapel (15)
- 1Give two advantages of hamming codedetects error and corrects it
Do not need to resend the data - 2Give one advantage of using MIDI for storing sound?File Sizes are smaller
its also completely editable - 3What is meant by ownership of a problem?Who is responsible for solving the problem
- 4What is meant by the colour depth of a bitmapped graphic image?The number of bits used to represent the colour value of a single pixel in a bitmapped image
- 5Why is there no distortion in vector graphic images, when resized?Object is recalculated when enlarged
- 6A 256-colour bitmap has a width of 200 pixels and a height of 60 pixels. Calculate how many bytes are needed to store the bitmap dataUse equation of : colour depth * width * height
256 colour bit map is 8 colour depth, because 2 to the power of 8 is 256
so 8 * 200 * 60
divide by 8 to convert bits into bytes because there are 8 bits in a byte - 7What's meant by sampling resolution?The number of bits available to store the amplitude measurement
- 8What's meant by sampling rate?The number of times the amplitude is measured per second
- 9What is meant by the given of a problem?The initial situation
- 10Name the five stages of a system life cycle in order.Analysis>Design>Implementation>Testing>Evaluation
- 11What Data Type would you choose for the following scenario and why? D. A telephone number such as 0122456789String, because if you use integer it will get rid of the '0' at the beginning.
- 12Explain how a "call by reference" parameter differs from "call by value" parameterByVal creates a copy of the passed parameter and is discarded when the procedure/function ends, so original value of parameter does not change.
ByRef on the other hand changes the value of the parameter once the procedure/function ends.
Also a call byref parameter is a pointer referring to the address in the main memory - 13Name and explain three different types of testing errors?Compilation error is where the program cannot compile your source code due to a syntax error
Run-time error is when the program runs but crashes at some point or gets stuck in a loop - 14What does BRGC stand for and where is it used?Binary Reflected Gray Code
No, its used in angular movement systems where angular positions need to be known - 15What is the purpose of check digit?to check whether data is valid, reasonable or sensible.
Informationen
- Beschreibung
- Karteikarten am COMP1 Exam, erstellt von Antoin am 26/05/2015.
- Erstellt von
- Antoin
- Aufrufe
- 0
- Bewertung