Computer Science Practice Tests

These Grade 11 Additional Subjects practice tests examine algorithms, abstraction, decomposition, variables, control structures, functions, data structures, complexity, debugging, Internet systems, cybersecurity, databases, privacy, and computational ethics.

Skills covered

  • Explaining algorithms, abstraction, decomposition, variables, Boolean logic, loops, conditionals, functions, and parameters
  • Comparing arrays, stacks, queues, maps, sets, trees, graphs, searching, Big O, and common algorithmic strategies
  • Diagnosing syntax, runtime, logic, boundary, testing, and edge-case errors
  • Understanding packets, IP addresses, DNS, HTTP, APIs, encryption, authentication, phishing, and multifactor security
  • Evaluating bandwidth, latency, cloud computing, databases, SQL, algorithmic bias, privacy, anonymization, and consent

How to use these practice tests

Identify the input, process, data structure, or system first. Then trace the behavior, compare the relevant trade-off, and consider security, privacy, fairness, and reliability where appropriate.

For more Grade 11 Additional Subjects practice, return to the Grade 11 Additional Subjects category.

1. Test

Grade 11 Computer Science Practice Tests

Practice Grade 11 Additional Subjects questions about algorithms, programming, data structures, complexity, debugging, Internet systems, cybersecurity, databases, privacy, and computational ethics.

Choose the best answer. Identify the computational process, data structure, network concept, security practice, or ethical principle described by the prompt.

10 Questions
0/10 Questions0 %
Correct 0
Incorrect 0
Unanswered 10
1. QuestionMultiple choice

What is an algorithm?

Please select an answer first.

Correct answer: A

The correct answer is A finite sequence of precise steps for solving a problem or completing a task.

  1. Identify the computing concept: Determine whether the prompt describes an algorithm, data structure, program behavior, network, security practice, or ethical issue.
  2. Apply the computational principle: An algorithm specifies an organized procedure that can transform input into an intended result.
  3. Check the result: The correct answer is A finite sequence of precise steps for solving a problem or completing a task.

An algorithm specifies an organized procedure that can transform input into an intended result.

2. QuestionMultiple choice

What is abstraction in computer science?

Please select an answer first.

Correct answer: B

The correct answer is Representing important features while hiding unnecessary implementation details.

  1. Identify the computing concept: Determine whether the prompt describes an algorithm, data structure, program behavior, network, security practice, or ethical issue.
  2. Apply the computational principle: Abstraction reduces complexity by focusing attention on the details relevant to a particular task.
  3. Check the result: The correct answer is Representing important features while hiding unnecessary implementation details.

Abstraction reduces complexity by focusing attention on the details relevant to a particular task.

3. QuestionMultiple choice

What is decomposition?

Please select an answer first.

Correct answer: C

The correct answer is Breaking a complex problem into smaller, manageable subproblems.

  1. Identify the computing concept: Determine whether the prompt describes an algorithm, data structure, program behavior, network, security practice, or ethical issue.
  2. Apply the computational principle: Decomposition makes a problem easier to understand, implement, test, and maintain.
  3. Check the result: The correct answer is Breaking a complex problem into smaller, manageable subproblems.

Decomposition makes a problem easier to understand, implement, test, and maintain.

4. QuestionMultiple choice

What is debugging?

Please select an answer first.

Correct answer: D

The correct answer is Finding, explaining, and correcting errors in a program.

  1. Identify the computing concept: Determine whether the prompt describes an algorithm, data structure, program behavior, network, security practice, or ethical issue.
  2. Apply the computational principle: Debugging uses evidence such as error messages, tests, and traces to locate and fix incorrect behavior.
  3. Check the result: The correct answer is Finding, explaining, and correcting errors in a program.

Debugging uses evidence such as error messages, tests, and traces to locate and fix incorrect behavior.

5. QuestionMultiple choice

What is a variable?

Please select an answer first.

Correct answer: A

The correct answer is A named storage location whose value can be used or changed by a program.

  1. Identify the computing concept: Determine whether the prompt describes an algorithm, data structure, program behavior, network, security practice, or ethical issue.
  2. Apply the computational principle: Variables allow programs to store data and refer to it while instructions execute.
  3. Check the result: The correct answer is A named storage location whose value can be used or changed by a program.

Variables allow programs to store data and refer to it while instructions execute.

6. QuestionMultiple choice

What is a Boolean value?

Please select an answer first.

Correct answer: B

The correct answer is A value that is either true or false.

  1. Identify the computing concept: Determine whether the prompt describes an algorithm, data structure, program behavior, network, security practice, or ethical issue.
  2. Apply the computational principle: Boolean values support logical conditions and control decisions in programs.
  3. Check the result: The correct answer is A value that is either true or false.

Boolean values support logical conditions and control decisions in programs.

7. QuestionMultiple choice

What is a loop used for?

Please select an answer first.

Correct answer: C

The correct answer is Repeating a block of instructions while a condition or sequence requires it.

  1. Identify the computing concept: Determine whether the prompt describes an algorithm, data structure, program behavior, network, security practice, or ethical issue.
  2. Apply the computational principle: Loops reduce repeated code and allow programs to process multiple values or continue until a condition changes.
  3. Check the result: The correct answer is Repeating a block of instructions while a condition or sequence requires it.

Loops reduce repeated code and allow programs to process multiple values or continue until a condition changes.

8. QuestionMultiple choice

What is a conditional statement?

Please select an answer first.

Correct answer: D

The correct answer is A structure that chooses which instructions to execute based on a condition.

  1. Identify the computing concept: Determine whether the prompt describes an algorithm, data structure, program behavior, network, security practice, or ethical issue.
  2. Apply the computational principle: Conditionals allow a program to respond differently to different inputs or states.
  3. Check the result: The correct answer is A structure that chooses which instructions to execute based on a condition.

Conditionals allow a program to respond differently to different inputs or states.

9. QuestionMultiple choice

What is a function?

Please select an answer first.

Correct answer: A

The correct answer is A named, reusable block of code that performs a defined task.

  1. Identify the computing concept: Determine whether the prompt describes an algorithm, data structure, program behavior, network, security practice, or ethical issue.
  2. Apply the computational principle: Functions organize code, reduce repetition, and can accept inputs and return results.
  3. Check the result: The correct answer is A named, reusable block of code that performs a defined task.

Functions organize code, reduce repetition, and can accept inputs and return results.

10. QuestionMultiple choice

What is a parameter?

Please select an answer first.

Correct answer: B

The correct answer is A named input that a function receives when it is called.

  1. Identify the computing concept: Determine whether the prompt describes an algorithm, data structure, program behavior, network, security practice, or ethical issue.
  2. Apply the computational principle: Parameters make functions flexible by allowing the same code to work with different values.
  3. Check the result: The correct answer is A named input that a function receives when it is called.

Parameters make functions flexible by allowing the same code to work with different values.

Previous testNext test