













































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!














































Question 1: What is the primary focus of computer science? A. Managing office supplies B. Studying natural phenomena C. Theoretical and practical aspects of computation D. Designing home appliances Answer: C Explanation: Computer science is dedicated to understanding algorithms, computation, and the design of software and hardware systems. Question 2: Which era is known as the beginning of modern computing? A. The Renaissance B. The Industrial Revolution C. The Digital Revolution D. The Bronze Age Answer: C Explanation: The Digital Revolution marks the onset of modern computing with the development of electronic devices and digital circuits. Question 3: Which device is considered the “brain” of the computer? A. Hard drive B. CPU C. Monitor D. Keyboard Answer: B Explanation: The Central Processing Unit (CPU) executes instructions and processes data, analogous to a computer's brain. Question 4: In binary numeral system, which digits are used? A. 0 and 1 B. 1 and 2 C. 0 and 2 D. 1 and 3 Answer: A Explanation: The binary system uses only the digits 0 and 1 to represent data. Question 5: What does the term “hexadecimal” represent in computing? A. A six-digit system B. A base-10 numbering system C. A base-16 numbering system D. A binary conversion method
Answer: C Explanation: Hexadecimal is a base-16 numeral system, using digits 0–9 and letters A–F, commonly used in computing. Question 6: Which component is responsible for temporary data storage in a computer? A. ROM B. SSD C. RAM D. GPU Answer: C Explanation: Random Access Memory (RAM) is used for temporary storage, enabling quick read/write access for active processes. Question 7: What is the purpose of buses in a computer system? A. To store permanent data B. To transfer data among components C. To display graphics D. To generate power Answer: B Explanation: Buses are communication pathways that allow different parts of a computer to exchange data. Question 8: Which of the following is a primary characteristic of embedded systems? A. High power consumption B. General-purpose computing C. Designed for a specific control function D. Primarily used for gaming Answer: C Explanation: Embedded systems are tailored for specific control functions within larger systems, emphasizing efficiency and reliability. Question 9: What distinguishes system software from application software? A. System software runs on mobile devices only B. Application software manages hardware resources C. System software manages and supports the computer’s basic functions D. Application software is not installed on a computer Answer: C Explanation: System software, such as operating systems, controls hardware and provides a platform for application software to run. Question 10: Which phase is not part of the Software Development Life Cycle (SDLC)? A. Planning B. Execution
C. A type of data structure D. A syntax error Answer: A Explanation: Recursion is when a function calls itself to solve a problem, breaking it down into simpler sub-problems. Question 16: Which of the following best describes a variable in programming? A. A constant value that never changes B. A storage location identified by a name C. A method to format text D. An error in code execution Answer: B Explanation: Variables are storage locations with names that hold data values which may change during program execution. Question 17: What is the role of control structures in programming? A. To encrypt data B. To manage program flow C. To store files D. To design graphical interfaces Answer: B Explanation: Control structures such as conditionals and loops determine the order in which code statements execute. Question 18: In object-oriented programming, what does encapsulation refer to? A. Hiding data and methods within a class B. Inheriting properties from another class C. Overloading functions D. Creating multiple interfaces Answer: A Explanation: Encapsulation is the concept of bundling data and methods that operate on that data within one unit (a class) and restricting direct access. Question 19: Which of the following is not a principle of object-oriented programming? A. Encapsulation B. Inheritance C. Polymorphism D. Compilation Answer: D Explanation: Compilation is a process in software development, not a core OOP principle. Question 20: What is a class in object-oriented programming? A. A blueprint for creating objects B. A method for looping
C. A file storage system D. A type of hardware component Answer: A Explanation: A class serves as a template defining the attributes and behaviors (methods) that objects created from it will have. Question 21: Which data structure uses the Last-In-First-Out (LIFO) principle? A. Queue B. Array C. Stack D. Linked List Answer: C Explanation: A stack uses the LIFO principle where the most recently added item is the first to be removed. Question 22: Which of the following is true about linked lists? A. They use contiguous memory allocation B. They allow efficient insertion and deletion C. They are immutable once created D. They can only store integers Answer: B Explanation: Linked lists enable efficient insertion and deletion because they do not require shifting of elements as in arrays. Question 23: In a hash table, what is the primary purpose of a hash function? A. Sorting data in order B. Generating an index from a key C. Encrypting data D. Compressing data Answer: B Explanation: A hash function transforms keys into indices for quick data retrieval in a hash table. Question 24: What is the main benefit of using a binary search algorithm? A. It works on unsorted data B. It performs a linear scan C. It reduces search time by repeatedly halving the search space D. It sorts the data first Answer: C Explanation: Binary search efficiently finds an element by repeatedly dividing the search interval in half, but it requires sorted data. Question 25: Which algorithm is best suited for finding the shortest path in a graph with non-negative weights? A. Depth-first search
Question 30: What does the Von Neumann architecture describe? A. A layered network model B. A computer design model that uses a single memory space for instructions and data C. A programming paradigm D. A type of operating system Answer: B Explanation: The Von Neumann architecture outlines a design where a single memory space stores both instructions and data. Question 31: Which component is responsible for holding frequently accessed data to speed up processing? A. Hard drive B. Cache C. Optical drive D. Power supply Answer: B Explanation: Cache memory stores frequently accessed data to reduce the time it takes to retrieve data from main memory. Question 32: What is pipelining in computer architecture? A. A method to connect peripheral devices B. A technique to process multiple instructions simultaneously by overlapping their execution C. A way to store large amounts of data D. A networking protocol Answer: B Explanation: Pipelining allows multiple instruction phases to be executed in parallel, improving CPU throughput. Question 33: Which operating system technique allows multiple programs to run concurrently? A. Single-tasking B. Multitasking C. Defragmentation D. Overclocking Answer: B Explanation: Multitasking allows a computer to run more than one process at the same time by sharing CPU time. Question 34: In operating systems, what is virtual memory used for? A. To permanently store data B. To extend physical memory by using disk space C. To encrypt user files D. To manage network connections
Answer: B Explanation: Virtual memory allows systems to compensate for physical memory shortages by temporarily transferring data to disk storage. Question 35: What is the primary function of device drivers? A. To compile code B. To provide an interface between the operating system and hardware devices C. To manage software licenses D. To monitor user activity Answer: B Explanation: Device drivers act as a communication layer between the OS and hardware, translating OS instructions into device-specific commands. Question 36: Which of the following is a key function of a router in a network? A. To store user data B. To forward data packets between computer networks C. To convert analog signals to digital D. To secure wireless connections exclusively Answer: B Explanation: Routers determine the best path for data packets to travel across interconnected networks. Question 37: What does the OSI model stand for? A. Open System Interconnection B. Operating System Interface C. Organized Software Integration D. Optical Signal Infrastructure Answer: A Explanation: The OSI model (Open Systems Interconnection) is a conceptual framework used to understand network interactions in seven layers. Question 38: Which protocol is primarily used for secure web browsing? A. FTP B. HTTP C. HTTPS D. SMTP Answer: C Explanation: HTTPS provides secure communication over a computer network by encrypting data between the client and server. Question 39: What is a primary characteristic of a relational database? A. It stores data as unstructured text files B. It organizes data into tables with rows and columns C. It uses a hierarchical structure D. It is incompatible with SQL queries
C. Extended-Record D. Execution-Result Answer: A Explanation: ER diagrams illustrate the relationships between entities in a database, aiding in its design and organization. Question 45: Which tool is commonly used for automated testing in software development? A. Photoshop B. JUnit C. Illustrator D. Notepad Answer: B Explanation: JUnit is a widely used testing framework in Java that facilitates unit testing of code components. Question 46: What is the main goal of software quality assurance? A. To design the user interface B. To ensure that software meets specified requirements and quality standards C. To develop hardware components D. To write marketing content Answer: B Explanation: Software quality assurance focuses on verifying that the software adheres to requirements, performs reliably, and meets quality benchmarks. Question 47: Which methodology emphasizes iterative development and customer feedback? A. Waterfall B. Agile C. V-Model D. Spiral Answer: B Explanation: Agile methodology is known for its iterative process, flexible planning, and incorporation of continuous customer feedback. Question 48: What is the primary function of Git in software development? A. To edit images B. To manage code versioning and collaboration C. To compile code into binaries D. To test software performance Answer: B Explanation: Git is a distributed version control system that tracks changes in source code and supports collaborative development. Question 49: In cloud computing, what does SaaS stand for? A. Software as a Service
B. Storage as a Service C. System as a Service D. Security as a Service Answer: A Explanation: SaaS refers to Software as a Service, where applications are hosted online and accessed via a web browser. Question 50: What is one main advantage of cloud computing? A. High initial hardware cost B. Scalability and on-demand resource availability C. Limited access to data D. Manual system updates Answer: B Explanation: Cloud computing provides scalability and flexibility by allowing users to access resources as needed, reducing capital expenditure. Question 51: Which algorithm is typically used for depth-first search (DFS) in graphs? A. Recursion-based traversal B. Bubble sort C. Linear search D. Merge sort Answer: A Explanation: Depth-first search is commonly implemented using recursion to traverse nodes along a branch before backtracking. Question 52: What is the primary advantage of using an array as a data structure? A. Dynamic resizing without overhead B. Constant-time access to elements via an index C. Efficient insertion in the middle D. Minimal memory usage for sparse data Answer: B Explanation: Arrays allow constant-time access to elements using an index, making them efficient for random access. Question 53: Which sorting algorithm is generally considered the simplest to implement? A. Quick sort B. Heap sort C. Bubble sort D. Merge sort Answer: C Explanation: Bubble sort is conceptually simple and easy to implement, though not efficient for large datasets.
Answer: B Explanation: Cache memory is a high-speed memory that stores frequently accessed data to speed up processing by the CPU. Question 59: What is the primary function of registers within a CPU? A. To store long-term data B. To provide temporary storage for instructions and data during processing C. To manage external device connections D. To execute software testing Answer: B Explanation: Registers are small storage locations within the CPU used for holding data and instructions during processing. Question 60: Which technique is used to improve performance by executing multiple instructions simultaneously? A. Single-threading B. Pipelining C. Sequential processing D. Decompiling Answer: B Explanation: Pipelining allows multiple instructions to overlap in execution, improving overall CPU throughput. Question 61: What type of operating system supports multiple users simultaneously? A. Single-user OS B. Multi-user OS C. Real-time OS D. Embedded OS Answer: B Explanation: Multi-user operating systems allow multiple users to access and use the computer resources concurrently. Question 62: What is paging in memory management? A. A process for linking web pages B. A memory management scheme that eliminates the need for contiguous allocation C. A method to sort data D. A way to encrypt memory content Answer: B Explanation: Paging divides memory into fixed-size pages, allowing non-contiguous storage which reduces fragmentation. Question 63: Which device is used to connect computers in a LAN? A. Modem B. Switch
C. Printer D. Scanner Answer: B Explanation: Switches are network devices that connect computers within a local area network (LAN) and forward data efficiently. Question 64: What is the primary purpose of the TCP/IP protocol? A. To encrypt web pages B. To provide a suite of communication protocols for interconnecting network devices C. To store files in a network D. To generate random numbers Answer: B Explanation: TCP/IP is a set of protocols that governs the connection, transmission, and reception of data across networks. Question 65: Which protocol is used for transferring files over the Internet? A. HTTP B. FTP C. DNS D. SMTP Answer: B Explanation: FTP (File Transfer Protocol) is specifically designed for the transfer of files between computers over a network. Question 66: What is the role of DNS in networking? A. To speed up data transmission B. To translate domain names into IP addresses C. To encrypt email communications D. To manage hardware drivers Answer: B Explanation: DNS (Domain Name System) converts human-readable domain names into numerical IP addresses required for locating devices on the network. Question 67: Which SQL clause is used to filter records? A. ORDER BY B. GROUP BY C. WHERE D. HAVING Answer: C Explanation: The WHERE clause in SQL filters records based on specified conditions. Question 68: In SQL, what is a JOIN used for? A. To delete tables B. To combine rows from two or more tables based on related columns
B. Observer C. Singleton D. Adapter Answer: C Explanation: The Singleton pattern restricts instantiation so that only one instance of a class exists, ensuring controlled access. Question 74: In user interface design, what does UX stand for? A. User Expansion B. Universal Execution C. User Experience D. Unified XML Answer: C Explanation: UX stands for User Experience, which focuses on the overall experience a person has when using a product, especially in terms of ease of use and satisfaction. Question 75: What is the purpose of unit testing in software development? A. To test the complete application B. To test individual components or functions for correctness C. To deploy code to production D. To design user interfaces Answer: B Explanation: Unit testing verifies that each small, isolated part of the application works as expected before integration. Question 76: What is one goal of integration testing? A. To test individual units only B. To ensure different modules work together correctly C. To evaluate graphic design D. To check hardware performance Answer: B Explanation: Integration testing combines individual modules to verify that they interact and function together as intended. Question 77: What is a common practice to track software issues during development? A. Version control systems B. Bug tracking systems C. Image editing software D. Email clients Answer: B Explanation: Bug tracking systems help developers record, manage, and resolve defects throughout the software development process.
Question 78: Which project management technique involves breaking down work into smaller, manageable tasks? A. Waterfall B. Work breakdown structure (WBS) C. Brainstorming D. Pair programming Answer: B Explanation: A work breakdown structure (WBS) divides the project into smaller components, facilitating planning, scheduling, and management. Question 79: In project management, what is “scope creep”? A. The gradual expansion of project requirements B. The decrease in project funding C. A new programming language D. The final project review Answer: A Explanation: Scope creep refers to the uncontrolled expansion of project requirements, often leading to delays and budget issues. Question 80: Which of the following is a type of machine learning where the model is trained with labeled data? A. Unsupervised learning B. Reinforcement learning C. Supervised learning D. Semi-supervised learning Answer: C Explanation: Supervised learning uses labeled datasets to train models to predict outcomes or classify data. Question 81: What is the main purpose of feature selection in machine learning? A. To increase the number of variables B. To reduce the number of input variables to simplify models C. To generate new hardware D. To encrypt datasets Answer: B Explanation: Feature selection aims to identify the most relevant variables, reducing model complexity and improving performance. Question 82: Which algorithm is commonly used for classification tasks in machine learning? A. Linear regression B. Logistic regression C. Merge sort D. Dijkstra’s algorithm
C. To increase file size D. To create backups Answer: B Explanation: Encryption transforms readable data into a coded format, ensuring that only authorized parties can access the original information. Question 88: Which of the following is an example of symmetric encryption? A. RSA B. AES C. Diffie-Hellman D. ECC Answer: B Explanation: AES (Advanced Encryption Standard) is a symmetric encryption algorithm, meaning the same key is used for both encryption and decryption. Question 89: What does a firewall do in a network security context? A. Increases network speed B. Filters incoming and outgoing network traffic based on security rules C. Encrypts data on the hard drive D. Monitors hardware temperatures Answer: B Explanation: A firewall protects a network by blocking unauthorized access while permitting legitimate communication based on predefined security rules. Question 90: Which of the following is a key phase in penetration testing? A. Data encryption B. Reconnaissance C. User interface design D. Code compilation Answer: B Explanation: Reconnaissance is the first phase of penetration testing, where testers gather as much information as possible about the target system. Question 91: What is the purpose of ethical hacking? A. To exploit system vulnerabilities for personal gain B. To identify and fix security weaknesses with permission C. To replace antivirus software D. To develop new operating systems Answer: B Explanation: Ethical hacking involves legally testing systems for vulnerabilities so that they can be fixed before being exploited maliciously. Question 92: Which web technology is essential for creating the structure of web pages? A. CSS
C. JavaScript D. PHP Answer: B Explanation: HTML (HyperText Markup Language) is the standard markup language used for creating the structure and content of web pages. Question 93: What role does CSS play in web development? A. It adds functionality to web pages B. It handles the logic of web applications C. It styles and formats the visual presentation of web pages D. It manages server connections Answer: C Explanation: CSS (Cascading Style Sheets) is used to control the visual layout and design of web pages. Question 94: Which client-side language is primarily used to add interactivity to web pages? A. Python B. C++ C. JavaScript D. SQL Answer: C Explanation: JavaScript is a scripting language used on the client side to create dynamic and interactive web pages. Question 95: What is the purpose of responsive web design? A. To create static web pages B. To ensure that web pages adapt to different screen sizes and devices C. To restrict web access to desktops only D. To design mobile applications exclusively Answer: B Explanation: Responsive web design enables web pages to adjust their layout and appearance to look good on any device or screen size. Question 96: Which server-side language is widely used for web application development? A. HTML B. Node.js C. CSS D. XML Answer: B Explanation: Node.js is a popular server-side runtime environment that allows developers to run JavaScript on the server, enabling web application development. Question 97: What does RESTful API stand for? A. Representational State Transfer