Computer Science Practice Test
Computer Science Practice Test
_____________________________________________________________________________
Two:_________________________________________________________________________
_____________________________________________________________________________
Three:_______________________________________________________________________
Question 2 (6 marks)
_______________________________________________________________________________
_______________________________________________________________________________
Example:______________________________________________________________________
Application software
_______________________________________________________________________________
_______________________________________________________________________________
_______________________________________________________________________________
Example:______________________________________________________________________
Peripheral device
__________________________________________________________________________________
__________________________________________________________________________________
__________________________________________________________________________________
Example:________________________________________________________________________
Question 3 (4 marks)
State two ethical concerns and one social impact of using facial recognition
technology in public places.
____________________________________________________________________________________
____________________________________________________________________________________
____________________________________________________________________________________
____________________________________________________________________________________
Question 4 (5 marks)
Explain the difference between primary memory and secondary memory. Provide
one example of each and describe how they interact during program execution.
____________________________________________________________________________________
____________________________________________________________________________________
____________________________________________________________________________________
____________________________________________________________________________________
Question 5 (4 marks)
Describe the difference between a logic error and a syntax error in programming.
Include an example of each.
____________________________________________________________________________________
____________________________________________________________________________________
____________________________________________________________________________________
____________________________________________________________________________________
Question 6 (3 marks)
Provide a correct SQL query to retrieve all students from a table named Students
who are in Year 10.
____________________________________________________________________________________
____________________________________________________________________________________
____________________________________________________________________________________
____________________________________________________________________________________
Question 7 (3 marks)
Name three types of charts used in spreadsheets and state a scenario where
each would be the most suitable.
____________________________________________________________________________________
____________________________________________________________________________________
____________________________________________________________________________________
____________________________________________________________________________________
Question 8 (2 marks)
What is meant by data validation? Give one example of how it is used in digital
forms.
____________________________________________________________________________________
____________________________________________________________________________________
____________________________________________________________________________________
____________________________________________________________________________________
Question 9 (2 marks)
Give one advantage and one disadvantage of using cloud storage for file
management.
____________________________________________________________________________________
____________________________________________________________________________________
____________________________________________________________________________________
____________________________________________________________________________________
Question 10 (8 marks)
Scenario: Write Python code to:
Ask a user to enter a number
Check if the number is even or odd
Display the result
Then, extend your code to repeat this process 3 times using a loop.
See next page.
Section C: Extended Answer (58
marks)
Answer all questions. Each response may be broken into parts. Use full sentences
and examples.
__________________________________________________________________________________
__
Question 11 (15
marks)
Write Python code snippets for the following control structures:
Sequence: Convert Celsius to Fahrenheit using the formula F = C × 9/5 +
32. (3 marks)
Selection: Check if a number entered by the user is positive, negative, or
zero. (4 marks)
Iteration: Print the square of numbers from 1 to 5. (3 marks)
Explain sequence, selection, and iteration with examples. (5 marks)
Question 12 (28
marks)
You are developing a database for a public library. The Library table tracks books
available for loan. Complete the following tasks:
a) Complete the data dictionary for the Library table by filling the blank cells. (5
marks)