2021 NASS Computing P1 Solutions
Uploaded by IDKWHYBUTIAM · 3 November 2024
Preview
Text from the first pagesSec 4E Prelim P1 Ans 1 (a) Answer [4] Term Description Solid-state hard disk Optical disc Read-only memory Data that is stored is volatile and can be quickly accessed by the processor when needed. Data is stored on a magnetic material that can be read or written by a magnetic “head”. Data is stored as very small pits or indentations that can be read or written by a laser Data is stored in electronic circuits called “flash memory” that have no moving parts. Data that is stored rarely has need for change or would be needed for a computer to start up. Data is stored in a square plastic enclosure composed of a thin and flexible disk of a magnetic storage medium with a fabric that removes dust particles from the spinning disk Magnetic hard disk
1 (b) The central processing unit acts like the “brain” of a computer system. It contains the circuitry to interpret and execute program instructions. The arithmetic logic unit does all mathematical operations and logical calculations. Some computers have two such units to process two calculations simultaneously. That is called dual core technology. These units are also accompanied by several small data storage units called processor registers. The control unit receives orders from random access memory in the form of instruction and decode that instruction down into specific commands for other components inside computer system. It directs the data flow and how data should be stored, transmitted and received from different parts of the computer. [4] 2 (a) Module 1: character name and gender creation Module 2: character movement Module 3: shop furniture placement. Module 4: customer orders Or other logical modules that help to run the game. [4] (b) Input(s): price: float value of each item sold, time: timing which item is served Output(s): total_earnings: total amount of money earned Process required: if time is less then 30 seconds, add price x 1.2 to total_earnings. Else, add price to total_earnings. [4] (ci) valid_name is a variable as it can hold two different values. [1] (cii) Range check and format check Do not accept presence check. [2] (ciii) Boundary condition: “Dan” or “ “aaaaaaaaaaaaaaa” (inputs with 3 or 15 letters.) Error condition: “Dan56” or “Da” (inputs which trigger the checks for range and format) [4] 3 (ai) (1101001)2 [1] (aii) 107
(bi) 1000 1001 1100 1111 1111 0000 [1] (bii) (FE)16 [1] (biii) Network addresses ASCII codes Memory dump Any two [2] 4 (a) A worm is a computer program that runs automatically and attempts to spread by sending copies of itself to other computers in the network. Unlike a virus, a worm does not need to attach itself to an existing program. [2] (b) In a ransomware attack, the perpetrator extorts from the user financially and threatens to prevent the user from recovering his/her files if he/she does not comply. [1] (c) 1. Update Software Regularly as worms run automatically and do not require human interaction to start running. Updates allow bugs to be patched and fixed early. 2. Install Anti-Virus and Anti-Spyware Programs to detect spyware or malware and stop them. 3. Avoid using any unsecured public wifi networks that can act as a vector for worms to travel across. Any two [2] (d) Phishing refers to the use of emails and fake websites that appear to be from reputable companies in order to steal personal information such as passwords and credit card numbers from users. [1] (e) Answer (Any 2): • The email claims to be from a company or bank and asks for personal data or confidential information. Most companies or banks will never ask for such information via email. • The email uses a generic greeting such as “Dear Customer” or “Dear User”. This is a sign that the email was sent automatically and not by a person. • The email has inaccurate logos or grammatical and spelling errors that suggest it is not from a legitimate source. • The email seems to come from a fake sender or from an address or contact that does not match the supposed source of the email. • The email contains hyperlinks with destinations that do not match what the hyperlink text says or are otherwise unexpected. • The tone of the email or chat is excessively urgent or threatening. Phishers often use such scare tactics to make victims act before they can think through their actions properly. [2] 5 (a) Purpose of the algorithm is to check if a number input is a prime number and count the number of prime numbers and non-prime numbers input into it. [1]
X prime not check OUTPUT 1 2 1 3 1 2 6 0 1 7 1 1 3 2 1 3 0 3, 1 6 (a) NOR gate [1] (b) AND gate * Do not accept if “gate” is not written or if NOR / AND are not uppercase
6 (c) A B C Working space D E F A NAND B D NAND A B NOR C E NOR F X 0 0 0 1 1 1 0 0 0 0 1 1 1 0 0 0 0 1 0 1 1 0 0 0 0 1 1 1 1 0 0 0 1 0 0 1 0 1 0 0 1 0 1 1 0 0 1 1 1 1 0 0 1 0 0 0 1 1 1 0 1 0 0 0 [5] (d) [4] 7 (ai) Mobility of user. Wireless connection allows user to move around while still connected. Whereas a wired connection does not. Scalability. Wireless connection allows the home office to add in more devices but it is more cumbersome to add in devices for wired connection due to physical constraints [2] A B C X
Speed of transmission. Wireless connection could be slower due to interference by physical obstruction such as walls and doors. Reason must be given. Other factors and reason cited in the textbook. (aii) Component 1: router Description: Device that forwards packets between separate networks. Component 2: Wireless access point Description: Network hardware that provides a connection between wireless devices. Other network devices such as network card, network hub and their description. Do not accept network cable or servers. [4] (b) 2 to 3 computers + 1 server and 1 printer connected in a ring will suffice. Devices may be represented by squares or rectangles. [1] awarded for drawing ringed connection [1] for labelling. [2] Checksum is a calculated value that is unique to the data. It is sent together with the data. At the destination, the checksum is recalculated and compared to the sent checksum. If the checksum values matches, the data was transmitted correctly, if they differ, an error has occured. [3] 8 The sales records of a car company are as shown below: (a) A4 Number F21 Text [1] (b) =IF(D4>100000,"Y","N") [1]
(c) =IF(AND(OR(C4="Oct",C4="Nov",C4="Dec"),D4>80000),"Y","N") OR statement – 1 mark IF and AND statement – 1 mark {Possible 3 marks?} [2] (d) =RANDBETWEEN(A4,A18) [1] (e) =IF(VLOOKUP(F20,A4:F18,6,FALSE)="Y", VLOOKUP(F20,A4:F18,2,FALSE),"No winner") VLOOKUP – 1 mark IF – 1 mark [2] 8
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

