
Computer Science Quiz

Quiz
•
Computers
•
11th Grade
•
Hard
Ashraf Elbialy
Used 1+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of corrective maintenance in program maintenance?
To improve the performance of a program
To test the inputs and outputs of a module
To add new tasks required by the customer
To correct errors that appear during use
Answer explanation
Corrective maintenance in program maintenance is performed to correct errors that appear during use.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the principle of a stack data structure?
Sequential access
Random access
Last in, first out (LIFO)
First in, first out (FIFO)
Answer explanation
The principle of a stack data structure is Last in, first out (LIFO). It means that the last element added to the stack will be the first one to be removed. This allows for efficient insertion and deletion operations.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of white-box testing in program development?
Testing separately written modules to ensure they work together
Testing the completed program in-house by the development team
Testing the structure and logic of every path through a program module
Testing a module's inputs and outputs
Answer explanation
White-box testing is used to test the structure and logic of every path through a program module.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of adaptive maintenance in program maintenance?
To correct errors that appear during use
To improve the performance of a program
To test the inputs and outputs of a module
To add new tasks required by the customer
Answer explanation
Adaptive maintenance is performed to add new tasks required by the customer, enhancing program functionality.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the principle of a queue data structure?
Last in, first out (LIFO)
Sequential access
First in, first out (FIFO)
Random access
Answer explanation
The principle of a queue data structure is 'First in, first out (FIFO)'. It ensures that the element added first will be the first one to be removed.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of black-box testing in program development?
Testing the completed program in-house by the development team
Testing separately written modules to ensure they work together
Testing the structure and logic of every path through a program module
Testing a module's inputs and outputs
Answer explanation
Black-box testing is used to test a module's inputs and outputs, ensuring they work correctly. It focuses on the functionality of the module without considering its internal structure or logic.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of perfective maintenance in program maintenance?
To correct errors that appear during use
To test the inputs and outputs of a module
To add new tasks required by the customer
To improve the performance of a program
Answer explanation
Perfective maintenance is performed to improve the performance of a program.
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
12.2 Program Design Cambridge iAS 9618

Quiz
•
11th Grade
19 questions
level of software testing

Quiz
•
11th Grade
15 questions
AP Computer Science Principles Unit 1

Quiz
•
9th - 12th Grade
20 questions
12.3 Program Testing and Maintenance Cambridge iAS 9618

Quiz
•
11th Grade
10 questions
Understanding Pseudocode Basics

Quiz
•
6th Grade - University
10 questions
Unit 2 #2

Quiz
•
11th Grade
20 questions
UH Pygame - Vol. 1

Quiz
•
9th - 12th Grade
12 questions
Unit 7 Importance of quality code

Quiz
•
11th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade