8.1 Programming concepts
223 questions in this subtopic. Open a question to solve it and check the official answer.
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 .......................................................................…
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 …
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…
Programming concepts · 2 marks · official answer ready
(a) Give two ways that a user could check that a website uses the SSL protocol. 1 .................................................................................................…
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…
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…
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…
Programming concepts · 2 marks · official answer ready
(i) Identify one constant you could have used for Task 1 and state its value. Constant ............................................................................................…
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…
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…
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. .........................................…
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 .................................................................…
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. ......................................................................…
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. .......................…
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 …
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. ..........................................................…
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. ................................................................…
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…
Programming concepts · 2 marks · official answer ready
(b) Describe the purpose of the algorithm. ........................................................................................................................................…
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 ...................................................................…
