所屬科目:研究所、轉學考(插大)、學士後-計算機概論
1. Which statement best describes the relationship between time-sharing and multitasking in computer systems? (A) Time-sharing allows multiple users to share the same computer resources simultaneously, while multitasking allows a single user to run multiple programs at the same time. (B) Time-sharing and multitasking both refer to running multiple programs on a single computer, but time-sharing specifically refers to real-time systems. (C) Time-sharing is a form of multitasking where the CPU time is divided into small units and allocated to each task, while multitasking is limited to executing one task at a time. (D) Time-sharing allows a single program to run continuously without interruption, whereas multitasking ensures that multiple programs run without user intervention. (E) Time-sharing and multitasking are two completely unrelated concepts in computer science.
2. Which of the following statements best differentiates cluster computing from grid computing? (A) Cluster computing involves geographically dispersed computers working together, whereas grid computing involves computers within a single location working as a single system. (B) Cluster computing uses a centralized management system to manage a group of tightly connected computers, while grid computing uses a decentralized system to manage a network of loosely connected computers. (C) Cluster computing is used primarily for high-performance computing applications, while grid computing is used only for data storage purposes. (D) Cluster computing relies on virtual machines to distribute workloads, whereas grid computing relies on physical machines exclusively. (E) Cluster computing and grid computing both refer to using multiple computers to solve a problem, but only cluster computing requires specialized hardware.
3. Which of the following statements best describes a property of object-oriented programming (OOP)? (A) Inheritance allows a class to inherit attributes and methods from another class, promoting code reuse and extensibility. (B) Polymorphism enables objects of different classes to be treated as objects of a common superclass, facilitating dynamic method invocation. (C) Encapsulation restricts access to certain components of an object, ensuring data integrity and hiding implementation details. (D) Abstraction allows the creation of abstract classes and interfaces, providing a blueprint for derived classes to implement. (E) Functional programming is a key feature of OOP, emphasizing the use of pure functions and immutable data structures.
4. Which of the following statements does NOT describe a property of imperative programming paradigms? (A) Imperative programming emphasizes describing the detailed steps required to solve a problem. (B) A mutable state allows variables to be modified after they are initialized, which can lead to unexpected side effects. (C) Control structures such as loops and conditionals are used to specify the flow of execution in imperative programming. (D) Functional programming is a key feature of imperative programming, focusing on the evaluation of mathematical functions. (E) Procedural programming is a subset of imperative programming that organizes code into procedures or functions.
5. Which of the following statements best describes Artificial Intelligence (AI)? (A) AI refers to creating machines that can perform tasks requiring human-like intelligence, such as reasoning, problem-solving, and learning. (B) AI involves programming computers to mimic human behavior and emotions accurately. (C) AI is limited to the development of robots with advanced sensory capabilities, enabling them to interact with the environment autonomously. (D) AI focuses exclusively on developing algorithms that enable computers to solve complex problems without human intervention. (E) AI primarily involves building software systems that can think and learn on their own without human guidance.
6. Which of the following statements accurately describes ChatGPT? (A) ChatGPT is a programming language used for web development and server-side scripting. (B) ChatGPT is an open-source operating system designed for mobile devices and IoT devices. (C) ChatGPT is a deep learning-based language model developed by OpenAI for natural language processing tasks. (D) ChatGPT is a cloud computing platform that provides infrastructure services such as virtual machines and storage. (E) ChatGPT is a computer vision library used for image recognition and object detection tasks.
7. Suppose you want to isolate the middle 4 bits of a byte by placing 0s in the other 4 bits without disturbing the middle 4 bits. What mask must you use together with what operation? (A) Mask: 00001111, Operation: Bitwise OR (B) Mask: 11110000, Operation: Bitwise AND (C) Mask: 11110000, Operation: Bitwise OR (D) Mask: 00001111, Operation: Bitwise AND (E) Mask: 11111111, Operation: Bitwise XOR
8. Which of the following best describes the Turing test? (A) A test to evaluate the efficiency of computer processors by measuring their performance in executing complex algorithms. (B) A test to assess the effectiveness of antivirus software in detecting and removing malware from computer systems. (C) A test to determine a machine's ability to exhibit intelligent behavior indistinguishable from that of a human. (D) A test to evaluate the quality and accuracy of machine translation systems in converting text from one language to another. (E) A test to measure the usability and user satisfaction of software applications through user feedback and evaluations.
9. Which of the following stages is NOT typically part of the development phase in the software life cycle? (A) Planning and Requirements Analysis (B) Design and Architecture (C) Implementation and Coding (D) Testing and Quality Assurance (E) Deployment and Maintenance
10. Which of the following best describes the primary function of a Database Management System (DBMS)? (A) Generating graphical user interfaces for end-users to interact with databases. (B) Analyzing large datasets to extract patterns and insights for decision-making. (C) Managing and organizing data in a structured format to ensure efficient storage and retrieval. (D) Encrypting sensitive information to protect it from unauthorized access. (E) Optimizing network performance to ensure fast and reliable data transmission.
II. Output the result of the following pseudocode: (20%)
V. Output the result of the following pseudocode: (10%)