



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




Answer: Binary search repeatedly divides a sorted list into halves to locate a target efficiently. 26.What condition is required for binary search? Answer: The data must generally be sorted before binary search can be applied. 27.What is sorting? Answer: Sorting is arranging data according to a specified order, such as ascending or descending order. 28.What is algorithmic complexity? Answer: Algorithmic complexity measures the computational resources, such as time or memory, required as input size increases. 29.What is Big O notation? Answer: Big O notation describes the upper-bound growth rate of an algorithmโs resource requirements. 30.What is object-oriented programming? Answer: Object-oriented programming organizes software around objects that contain data and methods. 31.What is a class? Answer: A class is a blueprint defining the attributes and behaviours of objects. 32.What is an object? Answer: An object is an instance of a class containing specific data and capable of performing defined operations. 33.What is inheritance? Answer: Inheritance allows a class to acquire or extend attributes and methods from another class. 34.What is encapsulation?
Answer: Encapsulation combines data and methods and restricts direct access to internal implementation details. 35.What is polymorphism? Answer: Polymorphism allows different classes or objects to respond to the same operation in different ways. 36.What is an operating system? Answer: An operating system manages computer hardware and software resources and provides services for application programs. 37.Name four functions of an operating system. Answer: Process management, memory management, file management, device management, security, and user-interface provision are common functions. 38.What is a process? Answer: A process is a program that is currently executing, together with its associated resources and state. 39.What is virtual memory? Answer: Virtual memory uses secondary storage to extend apparent main memory and allow programs to operate when physical memory is limited. 40.What is a database? Answer: A database is an organized collection of related data that can be stored, accessed, managed, and updated. 41.What is a relational database? Answer: A relational database stores data in tables containing rows and columns and represents relationships between tables. 42.What is a primary key? Answer: A primary key is a field or combination of fields that uniquely identifies each record in a table.