
Created on 1st June 2025
Grade level: Adult Educationth grade
3 plays
10 Questions
No Description
Questions (10)
1. What is the time complexity of binary search in a sorted array?
O(log n)
4 choice options
2. Which of the following data structures uses LIFO (Last In First Out) principle?
Stack
4 choice options
3. What does SQL stand for?
Structured Query Language
4 choice options
4. Which algorithm is commonly used for finding the shortest path in a graph?
Dijkstra's Algorithm
4 choice options
5. In object-oriented programming, what is encapsulation?
Hiding the internal state of an object
4 choice options
6. Which of the following is NOT a valid data type in Java?
real
4 choice options
7. What is the purpose of a foreign key in a relational database?
To create a relationship between tables
4 choice options
8. Which of the following best describes a 'constructor' in programming?
A method that initializes an object
4 choice options
9. What is polymorphism in the context of object-oriented programming?
The ability of different classes to be treated as instances of the same class
4 choice options
10. Which protocol is used to send emails over the Internet?
SMTP
4 choice options