1. Home
  2. Explore
  3. Computer Science
  4. Computer Software Introduction

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Computer Software Introduction

  • 69Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Software Basics

Which set correctly identifies the four components of a computer system?

69 questions

  1. 1

    Which set correctly identifies the four components of a computer system?

    1. A

      Processor, keyboard, monitor, and secondary memory

    2. B

      Hardware, memory, software code, and system bus

    3. C

      Users, processor, applications, and programming languages

    4. D

      Hardware, operating system, application programs, and users

    Correct answer
    D

    Hardware, operating system, application programs, and users

    Explanation

    The four components of a computer system are hardware, the operating system, application programs, and users.

  2. 2

    What is computer software?

    1. A

      A collection of electrical circuits that performs calculations

    2. B

      A physical device that stores programs and user data

    3. C

      A person who operates and maintains the computer system

    4. D

      A program that gives the computer step-by-step instructions for tasks

    Correct answer
    D

    A program that gives the computer step-by-step instructions for tasks

    Explanation

    Software refers to programs that instruct a computer step by step so that it can complete tasks.

  3. 3

    Why is software necessary for a computer to solve a problem?

    1. A

      A computer can process data only when a user manually performs every calculation

    2. B

      A computer cannot independently decide the steps needed to solve the problem

    3. C

      A computer requires software mainly to increase the physical size of its memory

    4. D

      A computer cannot store any data without a graphical interface

    Correct answer
    B

    A computer cannot independently decide the steps needed to solve the problem

    Explanation

    The content explains that computers cannot make their own decisions, so software provides the instructions needed to solve problems.

  4. 4

    Which task best illustrates the range of problems software can help a computer perform?

    1. A

      Adding two numbers or copying and modifying a picture

    2. B

      Changing a user's physical surroundings without any input

    3. C

      Replacing the computer's hardware without human assistance

    4. D

      Creating electricity for the computer's power supply

    Correct answer
    A

    Adding two numbers or copying and modifying a picture

    Explanation

    Software may support simple tasks such as adding two numbers or more complicated tasks such as copying and modifying pictures.

  5. 5

    What are the two main types of computer software?

    1. A

      Hardware software and user software

    2. B

      Application software and system software

    3. C

      Memory software and processor software

    4. D

      Input software and output software

    Correct answer
    B

    Application software and system software

    Explanation

    The two main types of software are application software and system software.

  6. 6

    What is the primary purpose of application software?

    1. A

      To support specialized activities, entertainment, or study

    2. B

      To control communication between the processor and system bus

    3. C

      To coordinate every hardware resource in the computer

    4. D

      To translate all source code directly into electrical signals

    Correct answer
    A

    To support specialized activities, entertainment, or study

    Explanation

    Application software is used for specialized purposes, entertainment, studying, and similar user-oriented activities.

  7. 7

    What is the primary purpose of system software?

    1. A

      To create user accounts without controlling hardware

    2. B

      To provide only games and entertainment programs

    3. C

      To replace all input and output devices

    4. D

      To maintain the system and manage its resources

    Correct answer
    D

    To maintain the system and manage its resources

    Explanation

    System software manages system resources and other system-management issues.

  8. 8

    Which list contains the four types of system software described in the content?

    1. A

      Compilers, users, monitors, and secondary memories

    2. B

      Processors, registers, buses, and input devices

    3. C

      Word processors, games, browsers, and presentation programs

    4. D

      Operating systems, utilities, device drivers, and language translators

    Correct answer
    D

    Operating systems, utilities, device drivers, and language translators

    Explanation

    The four types of system software are operating systems, utilities, device drivers, and language translators.

  9. 9

    What does a utility program do?

    1. A

      It allows a particular input device to communicate with the computer

    2. B

      It performs specific tasks related to managing computer resources

    3. C

      It converts programming instructions into machine-understandable language

    4. D

      It provides entertainment applications for the computer user

    Correct answer
    B

    It performs specific tasks related to managing computer resources

    Explanation

    Utilities are system programs designed for particular resource-management tasks.

  10. 10

    What is the function of a device driver?

    1. A

      It stores every program permanently in the computer's main memory

    2. B

      It allows a particular input or output device to communicate with the computer system

    3. C

      It translates high-level programming instructions into user-interface commands

    4. D

      It schedules all user tasks according to their priority

    Correct answer
    B

    It allows a particular input or output device to communicate with the computer system

    Explanation

    A device driver enables a specific input or output device to communicate with the rest of the computer system.

  11. 11

    What is the role of a language translator?

    1. A

      It stores temporary input when the system bus is unavailable

    2. B

      It converts programming instructions into a language understood by the computer

    3. C

      It protects the computer from unauthorized physical access

    4. D

      It transfers data between the processor and external devices

    Correct answer
    B

    It converts programming instructions into a language understood by the computer

    Explanation

    Language translators convert instructions written in languages such as Java or Python into machine-understandable code.

  12. 12

    Which statement best describes an operating system?

    1. A

      It translates every user action directly into source code

    2. B

      It stores files permanently but does not control hardware resources

    3. C

      It coordinates computer resources, provides a user interface, and runs applications

    4. D

      It performs only arithmetic calculations for application programs

    Correct answer
    C

    It coordinates computer resources, provides a user interface, and runs applications

    Explanation

    The operating system coordinates resources, provides an interface for users, and runs other software applications.

  13. 13

    What is the kernel?

    1. A

      A user application that runs only in the foreground

    2. B

      A temporary storage area inside an input device

    3. C

      A core operating-system program that runs continuously

    4. D

      A language translator that runs only during system startup

    Correct answer
    C

    A core operating-system program that runs continuously

    Explanation

    The kernel is the main operating-system program that runs all the time.

  14. 14

    Which program is an example of a system utility?

    1. A

      A game used for entertainment

    2. B

      A web page displayed in a browser

    3. C

      An antivirus program

    4. D

      A spreadsheet used for personal budgeting

    Correct answer
    C

    An antivirus program

    Explanation

    Antivirus software, backup software, and disk cleaners are examples of system utilities.

  15. 15

    Which activity demonstrates operating-system resource management?

    1. A

      Changing programming languages without translating instructions

    2. B

      Writing application source code without using hardware resources

    3. C

      Displaying entertainment content without scheduling any task

    4. D

      Managing memory, processing, storage, and connected devices

    Correct answer
    D

    Managing memory, processing, storage, and connected devices

    Explanation

    Resource management includes managing memory, processing, storage, and other devices.

  16. 16

    Which function allows an operating system to determine how well the computer is working?

    1. A

      Replacing the processor with a larger storage device

    2. B

      Copying pictures between unrelated user accounts

    3. C

      Translating application code into a different source language

    4. D

      Monitoring system performance

    Correct answer
    D

    Monitoring system performance

    Explanation

    Monitoring system performance is one of the common functions of an operating system.

  17. 17

    Which operating-system function determines the order in which tasks should be carried out?

    1. A

      Source-code editing

    2. B

      Job scheduling

    3. C

      Picture modification

    4. D

      Device translation

    Correct answer
    B

    Job scheduling

    Explanation

    Job scheduling organizes tasks and determines when they should be processed.

  18. 18

    Which pair consists of two types of user interface?

    1. A

      Foreground and background

    2. B

      Primary and secondary

    3. C

      Volatile and permanent

    4. D

      Character-based and graphical

    Correct answer
    D

    Character-based and graphical

    Explanation

    The content identifies character-based interfaces and graphical user interfaces as two types of user interface.

  19. 19

    A user interacts with a computer by entering commands as text rather than selecting icons. Which interface is being used?

    1. A

      A device-driver interface

    2. B

      A graphical user interface

    3. C

      A character-based interface

    4. D

      A secondary-memory interface

    Correct answer
    C

    A character-based interface

    Explanation

    A character-based interface uses text or characters for interaction, whereas a graphical interface uses visual elements such as icons.

  20. 20

    If a PDF reader is visible on the screen while other programs continue running unseen, how are the programs classified?

    1. A

      The PDF reader is a system utility and the others are device drivers

    2. B

      The PDF reader is in the foreground and the others are in the background

    3. C

      The PDF reader is in the background and the others are in the foreground

    4. D

      The PDF reader is in primary memory and the others are in secondary memory

    Correct answer
    B

    The PDF reader is in the foreground and the others are in the background

    Explanation

    The visible active application is in the foreground, while other concurrently running programs are in the background.

  21. 21

    Which list contains common operating-system functions?

    1. A

      Source-code writing, software marketing, hardware purchasing, and file printing

    2. B

      Picture editing, entertainment, language teaching, and user registration

    3. C

      Memory, process, storage, and device management; performance monitoring; scheduling; interface; and security

    4. D

      Keyboard manufacturing, monitor assembly, processor design, and disk production

    Correct answer
    C

    Memory, process, storage, and device management; performance monitoring; scheduling; interface; and security

    Explanation

    The listed functions include memory management, process management, storage management, device management, performance monitoring, job scheduling, user interface, and security.

  22. 22

    What is the defining purpose of an embedded operating system?

    1. A

      It is designed only to translate programming languages

    2. B

      It is designed for specialized devices such as smartphones and set-top boxes

    3. C

      It is designed only for general-purpose desktop computers

    4. D

      It is designed exclusively to manage many network servers

    Correct answer
    B

    It is designed for specialized devices such as smartphones and set-top boxes

    Explanation

    Embedded operating systems are used in specialized devices, including smartphones and cable television set-top boxes.

  23. 23

    What is the primary context for a network operating system?

    1. A

      Controlling only one small embedded device

    2. B

      Running only one foreground application without networking

    3. C

      Providing only games for a home computer

    4. D

      Managing and supporting multiple servers and networked resources

    Correct answer
    D

    Managing and supporting multiple servers and networked resources

    Explanation

    Network operating systems are used to handle multiple servers and network-related operations.

  24. 24

    Which example best represents a standard desktop operating system?

    1. A

      A utility program cleaning a disk

    2. B

      An embedded system controlling a cable box

    3. C

      Windows running on a personal desktop computer

    4. D

      A device driver controlling a scanner

    Correct answer
    C

    Windows running on a personal desktop computer

    Explanation

    Standard desktop operating systems are used on ordinary personal computers; Windows is one example.

  25. 25

    Why may different categories of operating systems use different algorithms even though their basic functions are similar?

    1. A

      The algorithms are chosen only according to the programming language used

    2. B

      Different categories do not need to manage computer resources

    3. C

      Each category performs completely unrelated functions

    4. D

      The devices and operating contexts require different approaches to resource management

    Correct answer
    D

    The devices and operating contexts require different approaches to resource management

    Explanation

    Operating systems generally perform similar functions, but their algorithms can differ according to the devices and situations they serve.

  26. 26

    Which group contains desktop operating systems mentioned in the content?

    1. A

      Windows, Mac, UNIX, and Linux

    2. B

      BlackBerry, RAM, ROM, and Linux

    3. C

      Android, Symbian, Java, and Python

    4. D

      Intel, AMD, Windows Phone, and UNIX

    Correct answer
    A

    Windows, Mac, UNIX, and Linux

    Explanation

    Windows, Mac, UNIX, and Linux are identified as operating systems used in desktop or general computer contexts.

  27. 27

    Which group contains mobile operating systems mentioned in the content?

    1. A

      RAM, ROM, cache, registers, and Android

    2. B

      Windows, Mac, Linux, UNIX, and Android

    3. C

      BlackBerry, iPhone, Android, Symbian, and Windows Phone

    4. D

      Java, PHP, Python, Windows, and Symbian

    Correct answer
    C

    BlackBerry, iPhone, Android, Symbian, and Windows Phone

    Explanation

    The mobile operating systems named are BlackBerry, iPhone, Android, Symbian, and Windows Phone.

  28. 28

    What is a computer system according to the input-process-output model?

    1. A

      A system that accepts inputs, processes them, and produces outputs using hardware and software

    2. B

      A system that consists only of a processor and a display

    3. C

      A system that produces output without processing or using software

    4. D

      A system that stores data permanently without accepting user input

    Correct answer
    A

    A system that accepts inputs, processes them, and produces outputs using hardware and software

    Explanation

    A computer system takes inputs, processes them, and creates outputs through a combination of hardware and software.

  29. 29

    Why can the input and output devices of a computer system vary?

    1. A

      They depend only on the programming language used

    2. B

      They are always determined by the operating system category

    3. C

      They depend on the task, scenario, and available resources

    4. D

      They must be identical for every type of computer system

    Correct answer
    C

    They depend on the task, scenario, and available resources

    Explanation

    The required input and output devices can change depending on the situation and available resources. For example, output may use a monitor or projector.

  30. 30

    Which device combination is a valid example of computer-system input and output?

    1. A

      A processor provides input, while a system bus provides output

    2. B

      A keyboard and mouse provide input, while a monitor provides output

    3. C

      A monitor provides input, while a keyboard and mouse provide output

    4. D

      A hard disk provides input, while a user provides output

    Correct answer
    B

    A keyboard and mouse provide input, while a monitor provides output

    Explanation

    A keyboard and mouse are input devices, and a monitor is an output device.

  31. 31

    Which four structural elements form the top-level view of a computer system?

    1. A

      Processor, main memory, input/output modules, and system bus

    2. B

      Kernel, utilities, applications, and users

    3. C

      Registers, programs, files, and operating systems

    4. D

      Keyboard, monitor, mouse, and printer

    Correct answer
    A

    Processor, main memory, input/output modules, and system bus

    Explanation

    The top-level structural elements are the processor, main memory, input/output modules, and system bus.

  32. 32

    What is the primary role of the processor?

    1. A

      It provides only the visual interface for the user

    2. B

      It permanently stores all files and installed applications

    3. C

      It controls computer operations and performs data processing

    4. D

      It connects external devices without processing instructions

    Correct answer
    C

    It controls computer operations and performs data processing

    Explanation

    The processor controls the operation of the computer and performs data-processing functions.

  33. 33

    What is the main memory used for?

    1. A

      Connecting input devices without storing any information

    2. B

      Providing permanent storage for every file ever created

    3. C

      Storing the data and programs currently needed for processing

    4. D

      Translating source code without holding program instructions

    Correct answer
    C

    Storing the data and programs currently needed for processing

    Explanation

    Main memory stores data and programs needed by the computer for processing. It is also called primary memory and is volatile.

  34. 34

    What does it mean that main memory is volatile?

    1. A

      Its contents are permanently stored without power

    2. B

      Its contents are not retained when power is removed

    3. C

      It can be accessed only by external input devices

    4. D

      It operates more slowly than all secondary storage

    Correct answer
    B

    Its contents are not retained when power is removed

    Explanation

    Main memory is described as volatile, meaning its stored contents depend on continued power.

  35. 35

    What is the role of an input/output module?

    1. A

      It executes every instruction without using the processor

    2. B

      It moves data between the computer's components and the external environment

    3. C

      It replaces the system bus as the computer's internal connection

    4. D

      It permanently stores the operating system and all user files

    Correct answer
    B

    It moves data between the computer's components and the external environment

    Explanation

    Input/output modules transfer data between internal computer components and the external environment. They include connections for devices such as secondary memory and communication equipment.

  36. 36

    What is the function of the system bus?

    1. A

      It converts high-level instructions into machine code

    2. B

      It provides communication among the processor, main memory, and input/output modules

    3. C

      It provides security by scanning files for viruses

    4. D

      It stores programs temporarily when the processor is unavailable

    Correct answer
    B

    It provides communication among the processor, main memory, and input/output modules

    Explanation

    The system bus is the internal communication pathway connecting the processor, main memory, and input/output modules.

  37. 37

    Why are programs loaded from secondary memory into RAM before execution?

    1. A

      RAM is faster than secondary memory and allows the processor to access programs more quickly

    2. B

      The processor can execute programs only after they are converted into pictures

    3. C

      Secondary memory cannot store programs or user data

    4. D

      RAM is larger than secondary memory and stores every available program

    Correct answer
    A

    RAM is faster than secondary memory and allows the processor to access programs more quickly

    Explanation

    Programs and related data are loaded from slower secondary memory, such as a hard disk, into faster RAM so the processor can access them efficiently.

  38. 38

    Which statement correctly compares secondary memory and RAM?

    1. A

      Secondary memory stores only input, while RAM stores only output

    2. B

      Secondary memory is generally smaller and faster, while RAM permanently stores all files

    3. C

      Secondary memory is generally larger and slower, while RAM is generally faster and used for active programs

    4. D

      Secondary memory and RAM have identical speed and storage purposes

    Correct answer
    C

    Secondary memory is generally larger and slower, while RAM is generally faster and used for active programs

    Explanation

    Secondary memory provides large-capacity storage but is slower; RAM is faster and holds programs and data currently being used.

  39. 39

    What does an input/output buffer do when the system bus is busy?

    1. A

      It permanently deletes input data to protect the processor

    2. B

      It temporarily stores input data until the data can be transferred

    3. C

      It translates the input into a different programming language

    4. D

      It executes the input immediately without using the system bus

    Correct answer
    B

    It temporarily stores input data until the data can be transferred

    Explanation

    A buffer is a small, temporary memory area that holds data when the bus cannot transfer it immediately.

  40. 40

    Which sequence correctly describes how keyboard input may be handled when the bus is busy?

    1. A

      The input/output module receives the data, the buffer holds it temporarily, and the bus later transfers it

    2. B

      The input/output module sends the data directly to secondary memory without temporary storage

    3. C

      The system bus converts the data, the monitor stores it, and the processor ignores it

    4. D

      The processor rejects the data, the keyboard stores it permanently, and the operating system deletes it

    Correct answer
    A

    The input/output module receives the data, the buffer holds it temporarily, and the bus later transfers it

    Explanation

    If the bus is busy, the input/output module can place the input in a buffer until the bus becomes available for transfer.

  41. 41

    What is the primary function of a processor register?

    1. A

      To provide very fast, small-capacity storage for processor operations

    2. B

      To provide very large, permanent storage for the entire computer

    3. C

      To connect the computer to external networks without storing data

    4. D

      To display processed information to the computer user

    Correct answer
    A

    To provide very fast, small-capacity storage for processor operations

    Explanation

    Registers are small amounts of memory inside or associated with the processor, and they are faster than main memory.

  42. 42

    What general relationship between memory size and speed is presented?

    1. A

      Larger memories are generally slower than smaller memories

    2. B

      Memory size and speed are completely unrelated

    3. C

      Larger memories are always faster than smaller memories

    4. D

      Smaller memories are always slower because they hold fewer bits

    Correct answer
    A

    Larger memories are generally slower than smaller memories

    Explanation

    The content describes a general trade-off in which larger memories tend to have lower speed, while smaller memories such as registers are faster.

  43. 43

    How are registers commonly described according to their capacity?

    1. A

      By the number of users logged into the computer

    2. B

      By the number of bits they can hold

    3. C

      By the number of programs they can permanently install

    4. D

      By the number of external devices they can connect

    Correct answer
    B

    By the number of bits they can hold

    Explanation

    Registers are identified by their bit capacity, such as an 888-bit register or a 323232-bit register.

  44. 44

    How many bytes are equivalent to 888 bits?

    1. A

      Eight bytes

    2. B

      Four bytes

    3. C

      Two bytes

    4. D

      One byte

    Correct answer
    D

    One byte

    Explanation

    The content states that 888 bits equal 111 byte.

  45. 45

    What are the two broad categories of processor registers?

    1. A

      Application registers and utility registers

    2. B

      User-visible registers and control-and-status registers

    3. C

      Primary registers and secondary registers

    4. D

      Input registers and output registers

    Correct answer
    B

    User-visible registers and control-and-status registers

    Explanation

    Processor registers are divided into user-visible registers and control-and-status registers.

  46. 46

    What distinguishes user-visible registers from control-and-status registers?

    1. A

      User-visible registers are slower than hard disks, whereas control-and-status registers are stored outside the computer

    2. B

      User-visible registers are permanent, whereas control-and-status registers disappear whenever an application closes

    3. C

      User-visible registers can be accessed by machine instructions, whereas control-and-status registers are controlled by the processor

    4. D

      User-visible registers store only output, whereas control-and-status registers store only input

    Correct answer
    C

    User-visible registers can be accessed by machine instructions, whereas control-and-status registers are controlled by the processor

    Explanation

    User-visible registers can be read or written through machine instructions, while control-and-status registers are managed automatically by the processor.

  47. 47

    Which list contains the user-visible register types described?

    1. A

      Memory-address, memory-buffer, instruction, and program-counter registers

    2. B

      General-purpose, data, address, and condition-code registers

    3. C

      Kernel, utility, driver, and translator registers

    4. D

      Input, output, storage, and communication registers

    Correct answer
    B

    General-purpose, data, address, and condition-code registers

    Explanation

    The user-visible categories are general-purpose, data, address, and condition-code registers.

  48. 48

    What can a general-purpose register store?

    1. A

      Only input/output port numbers

    2. B

      Only condition flags generated by arithmetic operations

    3. C

      Data, addresses, variables, and temporary results

    4. D

      Only the address of the most recent instruction

    Correct answer
    C

    Data, addresses, variables, and temporary results

    Explanation

    General-purpose registers can hold data, addresses, variables, and temporary results for general tasks.

  49. 49

    What type of information is primarily held in a data register?

    1. A

      The address of the last program request in a stack

    2. B

      The address of the next instruction to be fetched

    3. C

      The status flags indicating whether an operation has finished

    4. D

      Numeric values, characters, and other data

    Correct answer
    D

    Numeric values, characters, and other data

    Explanation

    Data registers hold values such as integers, floating-point values in some architectures, characters, and other data.

  50. 50

    What is the primary purpose of an address register?

    1. A

      To record whether the computer is connected to a monitor

    2. B

      To store the source code of an entire application

    3. C

      To hold only arithmetic results produced by the processor

    4. D

      To hold addresses used to locate data or instructions

    Correct answer
    D

    To hold addresses used to locate data or instructions

    Explanation

    Address registers store memory-related addresses. Examples include index registers, segment pointers, and stack pointers.

  51. 51

    What is the purpose of a condition-code register?

    1. A

      To store the permanent contents of secondary memory

    2. B

      To store flags set by processor hardware to describe an operation's result

    3. C

      To connect a keyboard to the input/output module

    4. D

      To store the next instruction's complete program code

    Correct answer
    B

    To store flags set by processor hardware to describe an operation's result

    Explanation

    Condition-code registers, also called flags, contain bits set by hardware to indicate conditions or results of operations.

  52. 52

    How does index addressing determine an effective address?

    1. A

      It replaces every memory address with a programming-language keyword

    2. B

      It adds an index value or offset to a base address

    3. C

      It copies the entire main memory into a register

    4. D

      It subtracts the program counter from the instruction register

    Correct answer
    B

    It adds an index value or offset to a base address

    Explanation

    Index addressing obtains an effective address by adding an index or offset to a base value.

  53. 53

    Why are index registers useful when memory addresses are large?

    1. A

      They convert all addresses into graphical user-interface icons

    2. B

      They allow a shorter index or offset to be combined with a common base address

    3. C

      They increase the permanent storage capacity of the hard disk

    4. D

      They eliminate the need for memory addresses entirely

    Correct answer
    B

    They allow a shorter index or offset to be combined with a common base address

    Explanation

    Index registers simplify address handling by using an offset together with a base address instead of repeatedly handling a long complete address.

  54. 54

    What does a segment pointer relate to?

    1. A

      The address of the next external device to be installed

    2. B

      A segment address in memory, where memory is divided into variable-length blocks

    3. C

      The number of condition flags produced by an operation

    4. D

      The position of the mouse pointer on the display

    Correct answer
    B

    A segment address in memory, where memory is divided into variable-length blocks

    Explanation

    A segment pointer is associated with segment addresses; memory segments are variable-length blocks.

  55. 55

    What does a stack pointer store?

    1. A

      The address associated with the most recent program request in a stack

    2. B

      The location of the active window on the graphical interface

    3. C

      The numerical result of the most recent arithmetic operation

    4. D

      The address of every program permanently stored on the hard disk

    Correct answer
    A

    The address associated with the most recent program request in a stack

    Explanation

    A stack pointer tracks the address of the last program request or item in a stack.

  56. 56

    What does the program counter track?

    1. A

      The number of users currently operating the computer

    2. B

      The amount of permanent storage available on the hard disk

    3. C

      The instruction or program position that should be processed next

    4. D

      The number of input devices connected to the computer

    Correct answer
    C

    The instruction or program position that should be processed next

    Explanation

    The program counter keeps track of the sequence of instructions, indicating which instruction should be handled next.

  57. 57

    What is the function of the instruction register?

    1. A

      It holds the address of the last item added to a stack

    2. B

      It stores temporary keyboard input when the bus is busy

    3. C

      It holds the instruction currently being processed by the processor

    4. D

      It records the total capacity of the main memory

    Correct answer
    C

    It holds the instruction currently being processed by the processor

    Explanation

    The instruction register holds an instruction fetched from memory so that the processor can execute it.

  58. 58

    What does the memory-address register contain?

    1. A

      The status of every input/output device in the system

    2. B

      The data value produced by the previous arithmetic operation

    3. C

      The memory address involved in the next read or write operation

    4. D

      The complete source code of the currently running program

    Correct answer
    C

    The memory address involved in the next read or write operation

    Explanation

    The memory-address register specifies the memory location for the next read or write operation.

  59. 59

    What is the purpose of the memory-buffer register?

    1. A

      To display data to the user through a monitor

    2. B

      To store the address of a stack's last request

    3. C

      To identify the next instruction using a program number

    4. D

      To hold data being transferred to or from memory

    Correct answer
    D

    To hold data being transferred to or from memory

    Explanation

    The memory-buffer register is used in transferring data between the processor and memory.

  60. 60

    What do input/output address and buffer registers help the processor track?

    1. A

      Only the source-language keywords used by an application

    2. B

      Only the arithmetic results generated by the execution unit

    3. C

      Input/output devices, their addresses, and data transfers involving them

    4. D

      Only the permanent files stored on secondary memory

    Correct answer
    C

    Input/output devices, their addresses, and data transfers involving them

    Explanation

    Input/output address and buffer registers help identify input/output locations and hold information involved in their transfers.

  61. 61

    What is the purpose of the instruction cycle?

    1. A

      To fetch, decode, execute, and repeat instructions as a program runs

    2. B

      To replace system software with application software during startup

    3. C

      To permanently copy every program from RAM to a monitor

    4. D

      To transfer all data to secondary memory before any execution occurs

    Correct answer
    A

    To fetch, decode, execute, and repeat instructions as a program runs

    Explanation

    Instruction execution repeatedly involves fetching an instruction, decoding it, executing it, and continuing with the next instruction.

  62. 62

    What happens during the fetch stage of instruction execution?

    1. A

      The processor removes all previously executed instructions from memory

    2. B

      The processor permanently stores the entire program on the hard disk

    3. C

      The processor obtains the next instruction from memory

    4. D

      The processor displays the instruction as a graphical icon

    Correct answer
    C

    The processor obtains the next instruction from memory

    Explanation

    During fetching, the processor obtains the next instruction from the program stored in memory.

  63. 63

    What happens during the decode stage?

    1. A

      The processor interprets the fetched instruction to determine what operation it represents

    2. B

      The processor sends the instruction directly to the monitor for display

    3. C

      The processor replaces the instruction with an unrelated program

    4. D

      The processor stores the instruction permanently in secondary memory

    Correct answer
    A

    The processor interprets the fetched instruction to determine what operation it represents

    Explanation

    Decoding involves interpreting the fetched instruction so the processor knows how to execute it.

  64. 64

    What happens during the execute stage?

    1. A

      The processor copies every inactive program into a register

    2. B

      The processor converts all hardware into input/output modules

    3. C

      The processor carries out the operation specified by the instruction

    4. D

      The processor selects a new operating-system category

    Correct answer
    C

    The processor carries out the operation specified by the instruction

    Explanation

    During execution, the processor performs the operation specified by the decoded instruction.

  65. 65

    What normally happens after an instruction is executed if more instructions remain?

    1. A

      The processor deletes the remaining program from memory

    2. B

      The processor fetches and processes the next instruction

    3. C

      The processor shuts down the computer immediately

    4. D

      The processor transfers control permanently to the monitor

    Correct answer
    B

    The processor fetches and processes the next instruction

    Explanation

    If more instructions remain, the processor repeats the cycle by fetching the next instruction.

  66. 66

    What happens when no further instructions remain in a program?

    1. A

      The operating system changes the program into a device driver

    2. B

      The instruction-execution process stops

    3. C

      The system bus converts the program into secondary memory

    4. D

      The processor automatically begins executing a different program

    Correct answer
    B

    The instruction-execution process stops

    Explanation

    The processor stops the instruction cycle when there are no more instructions to execute.

  67. 67

    How can a conditional instruction change the normal sequential execution of a program?

    1. A

      It moves all instructions from RAM to a keyboard buffer

    2. B

      It forces every instruction to execute twice in numerical order

    3. C

      It prevents the processor from using the program counter

    4. D

      It can cause execution to jump from one instruction to a nonadjacent instruction

    Correct answer
    D

    It can cause execution to jump from one instruction to a nonadjacent instruction

    Explanation

    An if-else condition or another control instruction can cause the program to skip from one line to a later, nonadjacent line.

  68. 68

    Why must a program written in a high-level language eventually be decoded or translated before execution?

    1. A

      The operating system cannot manage programs written in any language

    2. B

      High-level programs can be stored only on input devices

    3. C

      The computer processor fundamentally understands machine-level binary instructions

    4. D

      High-level programs contain no instructions for solving problems

    Correct answer
    C

    The computer processor fundamentally understands machine-level binary instructions

    Explanation

    The content explains that computers understand machine code represented using 000 and 111, so instructions written in languages such as Java or Python must be translated.

  69. 69

    Which sequence best describes the movement of a currently used application before execution?

    1. A

      The application moves from a register into the keyboard, then into the operating system

    2. B

      The application moves from the monitor into the input/output module, then into the hard disk

    3. C

      The application is fetched from secondary memory into RAM, then accessed by the processor

    4. D

      The application is fetched from the processor into secondary memory, then displayed by RAM

    Correct answer
    C

    The application is fetched from secondary memory into RAM, then accessed by the processor

    Explanation

    A currently used application is loaded from slower secondary memory into RAM, where the processor can access it more quickly.

Question 1 of 69
Question 1 of 69

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent