4 A program is used to display particular Paul 1 2 salesperson records. The algorithm for this program is shown below: (see 1 mark for Paul paper) 1 mark for 1 The following data is stored in the 1 mark for correct location values if Paul is sales_person array: given twice Karen, Paul, Jamie, Paul , Gillian, Other 0 marks Rufus State the output from the above program if Paul is entered at line 2 from the keyboard. 5 State the decimal value of the largest 1023 (210-1) (1 mark) 1 whole number that can be stored using 10-bits. 6 Ability to respond quickly to changes in 2 requirements Produces working releases of software early Describe two benefits of Agile software development methodologies. in development End user significantly involved in development Other valid 1 mark each bullet, max 2 Line 6: found = true (1 mark). 7 2 Line 9: UNTIL found = true or counter = 101 (1 mark). Clare has just started programming and has created an algorithm to search the array cars which holds one hundred car 1 mark each bullet, max 2 marks registration numbers. Clare wishes to search for a specific registration number each time she uses the is shown below program. Clare’s algorithm reference to the line numbers With shown, state the other changes that Clare would need to make if she wished to use this Boolean variable. 8 Amber transfers an uncompressed video 704 x 480 = 337920 pixels per frame from her tablet to the Living Room PC. 24 x 337920 = 8110080 bits (1 mark) Her video is 60 seconds long and was captured at 25 frames per second with 25 * 60 * 8110080 = 12165120000 bits (1 mark) a resolution of 704 x 480 pixels and with a bit-depth of 24. 12165120000 / 8 = 1520640000 bytes 1520640000 / 1024 = 1485000 kb 1485000 / 1024 = 1450.1953125 Mb 1.41620635986328 = 1.42 Gb Calculate the file size of this video. State your answer in appropriate units. Resolve units (1 mark) Section 2 9 Eilidh wants a program to process information about the friends in her address book. (see paper)
4 A program is used to display particular salesperson records. The algorithm for this program is shown below: (see paper) The following data is stored in the sales_person array: Karen, Paul, Jamie, Paul , Gillian, Rufus State the output from the above program if Paul is entered at line 2 from the keyboard. Paul 1 1 mark for Paul 1 mark for 1 1 mark for correct location values if Paul is given twice Other 0 marks 2 5 State the decimal value of the largest whole number that can be stored using 10-bits. 1023 (210-1) (1 mark) 1 6 Describe two benefits of Agile software development methodologies. Ability to respond quickly to changes in requirements Produces working releases of software early in development End user significantly involved in development Other valid 1 mark each bullet, max 2 2 7 Clare has just started programming and has created an algorithm to search the array cars which holds one hundred car registration numbers. Clare wishes to search for a specific registration number each time she uses the program. Clare’s algorithm is shown below With reference to the line numbers shown, state the other changes that Clare would need to make if she wished to use this Boolean variable. Line 6: found = true (1 mark). Line 9: UNTIL found = true or counter = 101 (1 mark). 1 mark each bullet, max 2 marks 2 8 Amber transfers an uncompressed video from her tablet to the Living Room PC. Her video is 60 seconds long and was captured at 25 frames per second with a resolution of 704 x 480 pixels and with a bit-depth of 24. Calculate the file size of this video. State your answer in appropriate units. 704 x 480 = 337920 pixels per frame 24 x 337920 = 8110080 bits (1 mark) 25 * 60 * 8110080 = 12165120000 bits (1 mark) 12165120000 / 8 = 1520640000 bytes 1520640000 / 1024 = 1485000 kb 1485000 / 1024 = 1450.1953125 Mb 1.41620635986328 = 1.42 Gb Resolve units (1 mark) Section 2 9 Eilidh wants a program to process information about the friends in her address book. (see paper)
Quick-Test-Nov-2016-MS.docx