2021 SST S4 Computing Prelim P1 Solutions
Uploaded by IDKWHYBUTIAM · 3 November 2024
Preview
Text from the first pages1 2021 SEC 4 COMPUTING PRELIM PAPER 1 MARKING SCHEME Qn 1 Marking Scheme / Answer (a) Type of bus Description Transports information from memory to processor when reading data from memory Data bus Transports information from memory to processor when writing data to memory Transports information from processor to memory when reading data from memory Address bus Transports information from processor to memory when writing data to memory (b)(i) An input device is a hardware device that allows users to enter data/instructions into a computer (b)(ii) Any two appropriate input device, such as: Web camera, microphone (c)(i) Any sensible answer, such as: Data stored in the RAM is volatile and will be lost once the power supply is interrupted. Since the operating system is required every time the computer is booted up, it is necessary to store it in a non-volatile storage. OR The capacity of the RAM is usually small. The operating system is stored on the hard drive so that the capacity of the RAM is not wasted. (c)(ii) The data and instructions can be quickly accessed by the processors as required.
2 Qn 2 Marking Scheme / Answer Statement IPv4 Address IPv6 Address MAC Address Also known as a physical address. ü Used to direct data transmitted over the Internet to a device. ü ü Used by a switch to forward data to the intended recipient device. ü Represented by more than 4 bytes. ü ü Usually represented in hexadecimal. ü ü Qn 3 Marking Scheme / Answer (a) Any sensible answer, such as: - Benefit: The Internet has enabled diverse cultures to interact and share ideas with each other. Social networking sites have also allowed users to remain connected with friends, family and colleagues even over long distances. - Drawback: Some people use the Internet to reinforce their existing opinions or to spread rumours and misinformation. (b)(i) Creations of the mind that have value but can exist purely as data with no physical form. (b)(ii) The social media influencer is only guilty of plagiarism. Copyright infringement only applies to content that is copyrighted. As the photo is public domain, it is not copyrighted. However, by passing the photo off as his own, he is guilty of plagiarism.
3 Qn 4 Marking Scheme / Answer (a) Any 2 sensible answers; such as: - Trojan horse: A computer program that pretends to be a harmless file or useful application. Once a Trojan horse is run, it does something harmful such as giving intruders unauthorised access to the computer instead. - Virus: A computer program that attaches itself to a normally harmless program and modifies it. - Worm: A computer program that runs automatically and attempts to spread by sending copies of itself to other computers without the need to attach itself to another program first. (b) Updating software regularly will ensure that bugs that were discovered since the last update can be fixed. This will prevent certain malware/worms from exploiting these bugs to compromise the security of the (data on the) computer. Qn 5 Marking Scheme / Answer (a) The ASCII code of the character represented. (b) 3B16 = 3*16 + 11 = 5910 (c) 716 = 1112 D16 = 1310 = 11012 Therefore, 7D16 = 0000 0000 0111 11012 1m for conversion of either 7 or D 1m for combining them into a 2-byte binary number, including leading zeroes. Qn 6 Marking Scheme / Answer (a)(i) A firewall prevents unauthorised access to or from a private network. (a)(ii) The employees must be trusted and expected to keep information found on the network secret. (b)(i) Mr Yeo should choose a wireless network. A wireless networks is more suitable for an expanding company like SSTea Inc as it is easier to add new devices to the network at any time./ Mobility of the employees will be higher, allowing for more dynamic discussions in a small company. OR Mr Yeo should choose a wired network. A wired network is more secure for handling confidential information such as sales numbers or data of customers on their membership programme. / The
4 equipment and wiring required for a wired network is cheaper a small company than a wireless network. (b)(ii) (Wireless network) Any of the following: - Equipment is more expensive. - Speed of transmission is generally slower and lower bandwidth. - Less reliable. - Less secure. (Wired network) Any of the following: - Lower mobility due to fixed network connections. - More cumbersome to add new devices to the network. - Tends to look more disorganised due to cables running across floors. (c) router service set identifier network interface card Wi-Fi (d) Metropolitan Area Network. Answer must be spelt out in full. The abbreviation is not accepted. Qn 7 Marking Scheme / Answer (a) Error 1: Line 3 – FOR day = 1 to 8 Correction: FOR day = 1 to 7 Error 2: Line 9 – OUTPUT hours_worked Corrections: OUTPUT total_hours * hourly_rate (b) It is a constant. The value of hourly_rate does not change in this algorithm. Qn 8 Marking Scheme / Answer (a) This is so that the score can be saved even after the game program is closed. (b) Inputs: text file containing the saved highest score, player's score Output: message to inform the player if they have successfully obtained a new highest score Processes: - comparing stored highest score with player's score - updating the highest score in the text file if player’s score is higher than highest score. (c)(i) Range check/ Format check
5 (c)(ii) Test case condition Test data Normal 10 (any positive integer) Boundary 0 Error -25/ "hello world" (any number that is not a positive integer, or a alphabetical string) (c)(iii) valid = False WHILE valid == False score = get_score() IF score >= 0 valid = True ENDIF ENDWHILE OR valid = False WHILE valid == False score = get_score() IF score consists wholly of digits valid = True ENDIF ENDWHILE (d) Implement code. The developers are required to evaluate the effectiveness of the program in determining and storing the highest score. OR The developers may consider any changes that might increase the code's usability or effectiveness. OR The developers have to work on transitioning from an old program or system to make sure the new code works with the rest of the game program.
6 Qn 9 Marking Scheme / Answer (a)(i) (a)(ii) X = (P AND T) NOR ((NOT T) AND H) OR X = NOT ((P AND T) OR ((NOT T) AND H)) OR (using de Morgan's Theorem) X = (P NAND T) AND (NOT T NAND H) (b) A B C Working Space X B AND C NOT (B AND C) NOT (B AND C) NAND A 0 0 0 0 1 1 1 0 0 1 0 1 1 1 0 1 0 0 1 1 1 0 1 1 1 0 1 1 1 0 0 0 1 0 1 1 0 1 0 1 0 1 1 1 0 0 1 0 1 1 1 1 1 0 1 1
7 Qn 10 Marking Scheme / Answer (a) List1 List2 x y OUTPUT [0,0,0,0] [0,0,0,0] 0 0 [1,0,0,0] 1 [1,0,0,0] 1 0 [1,0,0,0] 1 [1,1,0,0] 2 [1,1,0,0] 2 0 [1,1,0,0] 1 [1,2,0,0] 2 [1,2,1,0] 3 [1,2,1,0] 3 0 [1,2,1,0] 1 [1,3,1,0] 2 [1,3,3,0] 3 [1,3,3,1] 4 [1,3,3,1] 4 8 (b) This algorithm is used to find the value of 2N. OR This algorithm is used to find the sum of binomial coefficients of N.
8 OR This algorithm is used to find the sum of Nth row [or (N+1)th] of Pascal's triangle. Qn 11 Marking Scheme / Answer (a) a. Initialisation of variable to store All-Rounder Score OR Initialisation of variable to store lowest unused grade b. Input of 8 grades c. Loop for 4 subject categories d. Compare the 2 grades in each subject category AND add the lower grade to All-Rounder Score e. Compare the higher grade to the previously stored lowest unused grade AND store the lowest unused grade if necessary f. Outside the loop, add the lowest unused grade to All-Rounder Score g. Output the All-Rounder Score Note: - Deduct 1m overall for use of wrong flowchart symbols or poor formatting such as unmerged flow-lines, missing terminal symbols. - Do not award mark for item that is written in
Content continues in the PDF. Download PDF
Related notes
- SST (for revision practice) 2024 S3 Computing EOY P2 QP_FinalExam Papers · 2024
- Computing o level notes Notes/Practices · 2023
- BVSS Prelim P1 MSExam Papers · 2024
- BVSS Prelim P1 CPExam Papers · 2024
- CWSS Prelim P1 CPExam Papers · 2024
- CWSS Prelim P1 MSExam Papers · 2024
- computing notesNotes/Practices
- SST 2024 Prelim Paper 1 Ans [revised for 2025] Exam Papers · 2024
- SST 2024 Prelim Paper 1 [revised for 2025] Exam Papers · 2024
- [Notes for Computing] All Definitions/ TermsNotes/Practices · 2025
- [Notes for Computing] Heavily Compressed TextbookNotes/Practices · 2025
- All Computing Terms/DefinitionsNotes/Practices · 2025
- See all Computing notes

