Computer Science 2210 · 8

8.1 Programming concepts

223 questions in this subtopic. Open a question to solve it and check the official answer.

Reset
2023 May-June · Paper 22 · Q11(a)

Programming concepts · 2 marks · official answer ready

(a) Write pseudocode statements to declare the variables P and Q, store "The world" in P and store 'W' in Q .......................................................................…

2023 May-June · Paper 22 · Q11(b)

Programming concepts · 4 marks · official answer ready

(b) Write a pseudocode algorithm to: • convert P to upper case • find the position of Q in the string P (the first character in this string is in position 1) • store the position …

2023 May-June · Paper 22 · Q12

Programming concepts · 15 marks · official answer ready

12 A two-dimensional (2D) array Account[] contains account holders’ names and passwords for a banking program. A 2D array AccDetails[] has three columns containing the following d…

2022 October-November · Paper 12 · Q6(a)

Programming concepts · 2 marks · official answer ready

(a) Give two ways that a user could check that a website uses the SSL protocol. 1 .................................................................................................…

2022 October-November · Paper 13 · Q1

Programming concepts · 5 marks · official answer ready

1 Five components are shown. Tick (✓) to show whether each component is an example of input, output or storage. Input Output Storage Component (✓) (✓) (✓) actuator register sensor…

2022 October-November · Paper 13 · Q4(a)

Programming concepts · 4 marks · official answer ready

(a) The company needs to decide which touch screen technology to use. State one type of touch screen technology that you recommend the company use. Justify your choice. Touch scre…

2022 October-November · Paper 13 · Q10(b)

Programming concepts · 3 marks · official answer ready

(b) There is a risk that people that use the Internet to access websites can have their stored data maliciously damaged. State three ways that stored data can be maliciously damag…

2022 October-November · Paper 22 · Q1(a)(i)

Programming concepts · 2 marks · official answer ready

(i) Identify one constant you could have used for Task 1 and state its value. Constant ............................................................................................…

2022 October-November · Paper 22 · Q2

Programming concepts · 4 marks · official answer ready

2 Draw a line to connect each programming concept to the most appropriate description. Programming concept Description carrying out an action multiple times within a loop structur…

2022 October-November · Paper 23 · Q1(a)(i)

Programming concepts · 3 marks · official answer ready

(i) Identify one constant that you could have used for Task 1. State the value that would be assigned to the constant. Give a reason why a constant was used rather than a variable…

2022 October-November · Paper 23 · Q2(b)

Programming concepts · 3 marks · official answer ready

(b) Describe how the algorithm could be changed to output the number of times each value has been input, starting with the highest value. .........................................…

2022 October-November · Paper 23 · Q3(a)(ii)

Programming concepts · 2 marks · official answer ready

(ii) State which of these identification numbers have incorrect check digits. A 123455 B 691400 C 722855 D 231200 .................................................................…

2022 October-November · Paper 23 · Q4(b)

Programming concepts · 3 marks · official answer ready

(b) Explain how you could extend the algorithm to allow for the sale of more than one wheelbarrow at a time. ......................................................................…

2022 May-June · Paper 11 · Q12

Programming concepts · 6 marks · official answer ready

12 Computer ethics are a concern for any users of the Internet. Identify and describe three ethical issues that could be a concern when using the Internet. .......................…

2022 May-June · Paper 21 · Q1(a)

Programming concepts · 5 marks · official answer ready

1 (a) Describe the data structures you could have used in Task 1. Your description should include types of data structure, names used for data structures, their uses and examples …

2022 May-June · Paper 21 · Q1(b)

Programming concepts · 3 marks · official answer ready

(b) Explain how you could change your program in Task 1 to total all the money collected from new members who have paid. ..........................................................…

2022 May-June · Paper 21 · Q1(c)

Programming concepts · 3 marks · official answer ready

(c) Describe how data input in Task 1 could be validated to find out if a new member wants to work as a volunteer. ................................................................…

2022 May-June · Paper 21 · Q2

Programming concepts · 4 marks · official answer ready

2 Tick (ü) one box in each row to identify the most appropriate data type for each description. Only one tick (ü) per column. Data type Description Boolean Char Integer Real Strin…

2022 May-June · Paper 21 · Q5(b)

Programming concepts · 2 marks · official answer ready

(b) Describe the purpose of the algorithm. ........................................................................................................................................…

2022 May-June · Paper 22 · Q1(a)(i)

Programming concepts · 3 marks · official answer ready

(i) Identify one constant that you could have used for Task 1. Give the value and use of the constant. Constant ...................................................................…