Question 9
AQA Computer Science June 2019 Paper 2AS17 marks
On the specification
- 9.1
- 3.9 Fundamentals of communication and networking
- 9.2
- 3.9 Fundamentals of communication and networking
- 9.3
- 3.9 Fundamentals of communication and networking
- 9.4
- 3.9 Fundamentals of communication and networking
- 9.5
- 3.9 Fundamentals of communication and networking
- 9.6
- 3.9 Fundamentals of communication and networking3.5 Fundamentals of data representation
- 9.7
- 3.5 Fundamentals of data representation
Question text
9 Three students share a house when they go to university and have set up a peer-to-peer network between their computers for sharing files and playing multi-user games. 9.1 Explain why a peer-to-peer network might be a better choice for the students than a client-server network. [2 marks] 9.2 Define the term ‘protocol’. box [1 mark] 9.3 Define the term ‘baud rate’. [1 mark] 9.4 Define the term ‘bandwidth’. [1 mark] 9.5 Discuss how encrypting data with WPA/WPA2, disabling SSID broadcasting and MAC address whitelisting could enhance the security of a WiFi network. [3 marks] 9.6 When transmitting data, the wireless network uses the following systems: box • Carrier Sense Multiple Access with Collision Avoidance (CSMA/CA) with Request to Send/Clear to Send (RTS/CTS) • Majority Voting. Explain the process the transmitting device will go through to transmit data and what the receiving device would then do when it receives data. [8 marks] 9.7 Explain an advantage that majority voting has over using parity bits when box transmitting data. [1 mark] Table 1 shows the standard AQA assembly language instruction set that outside the should be used to answer question part 1 0 . 1 Table 1 – standard AQA assembly language instruction set LDR Rd, <memory ref> Load the value stored in the memory location specified by <memory ref> into register d. STR Rd, <memory ref> Store the value that is in register d into the memory location specified by <memory ref>. ADD Rd, Rn, <operand2> Add the value specified in <operand2> to the value in register n and store the result in register d. SUB Rd, Rn, <operand2> Subtract the value specified by <operand2> from the value in register n and store the result in register d. MOV Rd, <operand2> Copy the value specified by <operand2> into register d. CMP Rn, <operand2> Compare the value stored in register n with the value specified by <operand2>. B <label> Always branch to the instruction at position <label> in the program. B<condition> <label> Branch to the instruction at position <label> if the last comparison met the criterion specified by <condition>. Possible values for <condition> and their meanings are: EQ: equal to NE: not equal to GT: greater than LT: less than AND Rd, Rn, <operand2> Perform a bitwise logical AND operation between the value in register n and the value specified by <operand2> and store the result in register d. ORR Rd, Rn, <operand2> Perform a bitwise logical OR operation between the value in register n and the value specified by <operand2> and store the result in register d. EOR Rd, Rn, <operand2> Perform a bitwise logical XOR (exclusive or) operation between the value in register n and the value specified by <operand2> and store the result in register d. MVN Rd, <operand2> Perform a bitwise logical NOT operation on the value specified by <operand2> and store the result in register d. LSL Rd, Rn, <operand2> Logically shift left the value stored in register n by the number of bits specified by <operand2> and store the result in register d. LSR Rd, Rn, <operand2> Logically shift right the value stored in register n by the number of bits specified by <operand2> and store the result in register d. HALT Stops the execution of the program. Labels: A label is placed in the code by writing an identifier followed by a colon (:). To refer to a label, the identifier of the label is placed after the branch instruction. Interpretation of <operand2> <operand2> can be interpreted in two different ways, depending on whether the first character is a # or an R: • # – Use the decimal value specified after the #, eg #25 means use the decimal value 25 • Rm – Use the value stored in register m, eg R6 means use the value stored in register 6 The available general purpose registers that the programmer can use are numbered 0 to 12