BVSS 2020 P1 Solution
Uploaded by IDKWHYBUTIAM · 3 November 2024
Preview
2 1 Role Description Address bus • • Intermediate or final results produced by the computer; usually in the form of processed data. Memory • • Processes data and follows instructions; consists of an arithmetic logic unit and a control unit. Output • • Stores data, instructions and the results of processing for immediate use. Processor • • Stores large amounts of data that will not be lost when power supply is interrupted. Secondary storage • • Transports data between memory and processor; bi-directional. • Transports required memory location from processor to memory; uni-directional. 2 (a) Magnetic, optical, solid-state. (b) Magnetic Advantages: - Large storage capacity of up to terabytes (TB) of data. - Relatively cheaper than optical and solid-state external storage.
3 Disadvantage: - Vulnerable to drops and mechanical shocks. Optical Advantage: - Large storage capacity of up to gigabytes (GB) of data. Disadvantages: - Data can only be written once for some non-rewritable formats. - Lower maximum storage capacity than magnetic external storage. - Vulnerable to scratches and fingerprints. Solid-state Advantages: - Much faster than magnetic or optical external storage. - Not as vulnerable to drops, mechanical shocks, scratches or fingerprints. - Smaller in size and lighter in weight than magnetic or optical external storage. - Uses very little power and produces no noise. Disadvantage: - Much more expensive than magnetic or optical external storage. 3 Input: Date: date of day; must be a whole number between 1 and 30 inclusive (provided 30 times, once for each day). Rainfall: rainfall for day; must be a number greater than or equal to 0 (provided 30 times, once for each day). Output: The date with the lowest amount of rainfall. Process: Step 1: Assign 0 to a variable called var_date. Step 2: Assign 100 to a variable called var_amount. Step 3: Get the amount of rainfall. Step 4: Check if the amount of rainfall is lesser than the value of var_amount.
4 Step 5: If so, assign the amount of rainfall to var_amount, get the date and assign it to var_date. Repeat Step 3 to Step 5 for each day of the month. Step 6: Display the value of var_date. 4 decomposition incremental modular pattern recognition generalisation 5 (a) NAT (b) GPR (c) K T (note space between K and T) (d) True (e) hello WORLD 6 (a) Number Tries Won Guess OUTPUT 50 5 False 25 4 Guess higher 75 3 Guess lower
5 50 2 True 0 You win (b) To guess an assigned number within 5 tries. (c) Range check and presence check Range check ensures that input data is within the required range of values. Presence check ensures that all the required inputs are provided. 7 A compiler translates source code into machine code com
Content continues in the PDF.
Related notes
- Computing o level notes Notes/Practices · 2023
- BVSS Prelim P1 CPExam Papers · 2024
- CWSS Prelim P1 CPExam Papers · 2024
- CWSS Prelim P1 MSExam Papers · 2024
- BVSS Prelim P1 MSExam Papers · 2024
- computing notesNotes/Practices

