Login or Create an Account to view question mark schemes, comment, and download a PDF of this test
Question 1[1 Mark]
A programmed microcontroller in a X iterates. Bob really like his name. He would love a way to be able to see is name over and over again. Bob likes his name so much, he decided that he wants to print it out his name 1000 times on a computer screen! Which of the three concepts we have learned in Python so far (sequence, selection, iteration) should Bob use? Explain why!
(a).
Sequence
(b).
Selection
(c).
Iteration
(d).
No Text Provided...
Question 2[4 Marks]
Outline two benefits of high level languages over low level languages such as Assembly.
Question 3[1 Mark]
Which of the following correctly describes a foreign key?
(a).
An attribute that forms part of a composite primary key to uniquely identify a record in a table.
(b).
An attribute that uniquely identifies a record in a relational database table.
(c).
An attribute that is copied to an index data structure in order to optimise query efficiency for those rows / records associated with the copied attribute.
(d).
An attribute that corresponds to the value of a primary key in another table for the purpose of creating a link between the two tables.

3 Questions6 MarksShared + Premium
1 Use14 Views0 Likes