2223 F4 ICT UT1 Keypoints LAM
2223 F4 ICT UT1 Keypoints LAM
1. Information processing, IT personnel, Data type, raw data vs. information, application software and system
software, stored program, CAPTCHA
IT personnel
System Analyst • Design the system to fulfill the business needs and the
requirements provided by end users.
• Analyse the time, cost and feasibility of building the
system.
• Responsible for the research, planning, and implementation
of the information system according to the requirements
defined by end users.
Data type
Data type Example
Text / Character Email address abc@gmail.com
Number Salary 28000
➔ Integer Age 18
➔ Real Marks / Price 45.5
Date / Time Date of birth 30/5/1996
Boolean Marital status Y/N or True/False
Example:
Field Name Example Data type
Name Chan Yan Yan text
Class 1A text
Class Number 01 text
phone 21345555 Number
Membership ID 011203 text
** Why does the field “SID” use the text as a data type instead of number?
→ To prevent leading zero problem.
Basic fact used for reference, calculation, Something has been processed and it's
interpretation, and drawing conclusions meaningful to people
No structure Structure
Meaningless Meaningful
25041994 25/04/1994
usually written by low level languages usually written by high level languages
maintain system resources for application run on the platform provided by system software
software
general purpose software used for operating specific purpose software used by user to
computer hardware perform specific task
• Stored programs
o set of instructions designed to accomplish particular tasks or jobs
o can do tasks automatically, repeatedly
o e.g: microwave oven, refrigerator, washing machine
microwave oven
refrigerator
washing machine
• pencil (x Stored programs)
CAPTCHA
Purpose:
• To prevent a robot program to crack login name and password and access service many
times
• Ensure the client is a human user, not a robot program
2. Conversion of numbering system (unsigned value, sign-and-magnitude value, 2’s complement), how to
check overflow, bit pattern [Example: 3A(16) convert to binary number _________________. ]
B
Overflow:
(-VE) + (-VE)
(+VE) + (+VE)
3. Data validation (e.g Type check, range check, format check, length check, fixed value check, check digit
etc) and data verification / primary key/ type of error / parity check
Validity check
Function Example
(有效性檢驗)
Existence check/ Ensure that all necessary fields are E.g. In Yahoo email Sign in. The
Presence check/ present. user name must be appeared.
Completeness check/
(欄位完整性檢查)
Fixed value check Ensure that the data is one of the values in The gender of a student must be
(固定數值檢查) a predefined (已預設的) list. either ‘Male’ or ‘Female’.
Type check Ensure that the data types are correct. The students’ examination marks
(類別檢查) should be numbers but not
characters, while their names
should be characters but not
numbers.
E.g. : student exam mark: 87
(Not Eighty-seven)
Field length check Ensure that the data has the correct A domestic telephone number in
(欄位長度檢查) number of characters or digits Hong Kong must have 8 digits.
E.g.Tel: 23236690
Range check Ensure that the data value is within a E.g.1: The mark of a test should
(範圍檢查) predefined (已預設的) range. range from 0 to 100.
E.g.2: The age of HK citizen
should range from 0 to 130.
Format check Ensure that the format of data follows The e-mail address must be a
(格式檢查) some known patterns. combination of a user name and a
domain name with the symbol ‘@’
in between.
E.g.: info@plkchc.edu.hk
Consistency check Ensures that the data must be reasonable The end date must come after the
(合理性檢查) when compare with other fields. start date
Uniqueness check Ensures that the data must be unique for Each user only can apply once to
(獨一性檢查) the fields. make sure no duplicate input.
Data verification
• A control used to check whether the inputted data matches that in the source document.
1. Input data twice
• Input the data twice by one operator
• Example: input the password twice → Allows the system to check the second entry
against the first one
2. Double data entry
• Two operators input the same data
• Compares two files and report any discrepancies/ differences between them
3. Confirmation
• Ask user to check manually whether the inputted data is free of errors.
/ Type of error
• Sources of error
o Data source error: provides incorrect data
o Transcription error:
▪ Molly→ M0lly
o Transposition error
▪ LAM ---->LMA
o Truncation error
▪ Will happen when some number values is ignored (e.g.: pi=3.1415….)
/ Parity check
2019-DSE-ICT-1A-Q10,11
10. A device is sending 8-bit data in a network where the last bit is a parity bit. One of the following
received data has an error. Which one is it? Even / odd
A. 0010 0010 2 Even
B. 1111 0000 4 Even
C. 0011 0011 4 Even
D. 1010 0111 5 odd
- Dis:
5. Concepts of video: Frame rate, frame size (resolution) , line number, the meaning of HD Ready(720p),
Full HD (1080p), 4K(2160p), progressive scan(p) and interlaced scan(i), calculation of file size. Using of
AVI and MP4
Full HD 1920 x 1080
4K 3840 x 2160
Example 2:
Calculate the compressed video file size in MB.
Frame size = 1280×720 / Frame rate = 24 fps /
Colour depth = High colour / Duration = 1 min 36 sec
Compression ratio = 8.2:1
Q1:
Compare AVI and MP4. Give a benefit of using each format to store the
videos.
AVI:
Ans 1→ it is no compression (XXXX it is not correct!!!)
Ans 2 → it has a better video quality
1. suggest two methods to reduce the video file size, without adjusting the
duration of the video
o reduce frame size / reduce frame rate / reduce colour depth
MP4 file format → reduce the video file size → increase compression ratio
6. Concepts of graphic: bitmap graphic vs. vector graphic, resolution, colour depth, calculation of file size.
Using of BMP/JPG/GIF/RAW/PNG
• bitmap graphic
o The saw-teeth / zig-zag shape will be shown when enlarging the bitmap graphic
o It is a collection of colour dots called pixels (像素) arranged in rows and columns.
• vector graphic
o There is no saw-teeth / zig-zag shape when enlarging the graphic.
o It is presented by mathematical formulae,
Using of BMP/JPG/GIF/RAW/PNG
Example: Compared with JPG and PNG, give a benefit of using each format
to store the graphic.
JPG: lossy compression → file size is smaller
PNG: lossless compression → reduce file size but it can keep the quality
of the image/ support transparent
7. Concepts of audio: sampling rate, sampling size, number of channels, calculation of file size. Using of
WAV/FLAC/MP3
Example 1:
Calculate the audio file size in MB.
Sampling size = 16 bits / Sampling rate = 44.1kHz /
Number of channels = Mono / Duration = 1 minute
= 5.04 MB
WAV (better quality because no compression) /FLAC (Lossless compression, high quality, relatively
larger file size, support streaming) / MP3 (lossy compression → smaller file size)
2017-1B-Q4(c)
c) (i) John cannot use ASCII to represent the data in STUDENT. Why not?
Ans: ASCII code does not include codes of Chinese characters. (1)
王小鳳
(ii) John needs to use Unicode instead of Big-5 code to represent the data in STUDENT. Why?
Ans: Unicode includes characters of different languages. While big5 cannot(1) /
The simplified Chinese characters can be represented by Unicode however Big-5 code
cannot (1)
(iii) Compare the storage size requirements of Unicode and Big-5 code.
Unicode can store more characters of different languages (0.5), more storage capacity should be
required in Unicode than that is big-5 code (0.5)
9. Concepts of digitalization, application and merits of converting analogue data to digital data.
Question
1. Which of the following actions involves the conversion of analog to digital data?
(1) Using software to convert a spreadsheet into a PDF file.
(2) Using software to convert speech to text.
(3) Using a digital camera to take photos.
A. (1) and (2) only
B. (1) and (3) only
C. (2) and (3) only
D. (1), (2) and (3) only