1. Home
  2. Explore
  3. Computer Science
  4. UNIX and Network Administration

Study methods

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

UNIX and Network Administration

  • 46Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: System Perspectives

Which perspective best describes an end user?

46 questions

  1. 1

    Which perspective best describes an end user?

    1. A

      Developing operating-system services that control hardware resources

    2. B

      Designing network protocols that connect independent computer systems

    3. C

      Using application functions without needing to know how the software works

    4. D

      Writing application software by directly addressing hardware devices

    Correct answer
    C

    Using application functions without needing to know how the software works

    Explanation

    An end user uses the functionality provided by application software, such as editing, saving, or printing a file, without needing to understand the software's internal operation.

  2. 2

    What is the primary concern of an application programmer?

    1. A

      Operating applications without using programming languages

    2. B

      Using facilities provided by system software to develop applications

    3. C

      Manufacturing hardware components used by the operating system

    4. D

      Managing the physical movement of data across network cables

    Correct answer
    B

    Using facilities provided by system software to develop applications

    Explanation

    An application programmer develops software using facilities supplied by system software, such as memory allocation, file access, and input/output functions.

  3. 3

    What does an operating-system programmer need to understand especially well?

    1. A

      How end users perform word-processing operations

    2. B

      How to use application functions without writing code

    3. C

      How hardware resources can be controlled and used

    4. D

      How application users choose passwords for websites

    Correct answer
    C

    How hardware resources can be controlled and used

    Explanation

    The operating-system or system programmer develops system software and therefore needs to understand how to read from disks, control printers, track input devices, and use other hardware resources.

  4. 4

    Which sequence correctly represents the three software-related viewpoints described in the content?

    1. A

      End user uses an application, application programmer uses system software, and system programmer uses hardware

    2. B

      Application programmer uses the end user, system programmer uses applications, and hardware uses system software

    3. C

      End user uses system software, system programmer uses applications, and application programmer uses hardware

    4. D

      System programmer uses applications, end user develops system software, and application programmer uses networks

    Correct answer
    A

    End user uses an application, application programmer uses system software, and system programmer uses hardware

    Explanation

    The end user uses an application, the application programmer uses system-software facilities to create that application, and the system programmer uses hardware interfaces to create system software.

  5. 5

    Which example illustrates dynamic memory allocation requested by an application?

    1. A

      A printer independently allocates memory to a word processor

    2. B

      A user opens a browser without requesting any operating-system service

    3. C

      A compiler changes a disk into a network interface

    4. D

      A C program calls malloc to request memory from the operating system

    Correct answer
    D

    A C program calls malloc to request memory from the operating system

    Explanation

    The C library function malloc is used by a program to request memory dynamically, with the operating system providing the underlying memory resource.

  6. 6

    Which relationship connects the second and third courses in the information-security sequence described?

    1. A

      The earlier course examined hardware interfaces, while the later course examines how system software uses them

    2. B

      The earlier course examined network protocols, while the later course replaces operating systems with hardware

    3. C

      The earlier course examined end-user behavior, while the later course examines only programming syntax

    4. D

      The earlier course examined application design, while the later course examines only user-interface design

    Correct answer
    A

    The earlier course examined hardware interfaces, while the later course examines how system software uses them

    Explanation

    The earlier course discussed hardware features and interfaces available to system software, while this course focuses on how system software, including Unix and network administration tools, uses those interfaces.

  7. 7

    Which statement best describes the focus of the course content?

    1. A

      It examines only theoretical definitions of information security

    2. B

      It covers Unix and network administration fundamentals with attention to security

    3. C

      It focuses exclusively on designing new computer hardware architectures

    4. D

      It teaches only application-level programming without operating-system concepts

    Correct answer
    B

    It covers Unix and network administration fundamentals with attention to security

    Explanation

    The course presents the basics of Unix and network administration, emphasizing security and the relationship between operating systems and networks.

  8. 8

    What is system software?

    1. A

      Software that provides common facilities and resource-management services to applications

    2. B

      Hardware circuitry that directly performs arithmetic operations

    3. C

      A network cable that connects multiple computers

    4. D

      Software used only by end users to edit documents and browse the web

    Correct answer
    A

    Software that provides common facilities and resource-management services to applications

    Explanation

    System software includes software layers that support applications by providing services such as memory allocation, file operations, input/output, and resource management.

  9. 9

    Why can a programmer use printf without implementing screen output from scratch?

    1. A

      The hardware automatically converts every source-code statement into printed text

    2. B

      The end user manually performs the output operation after compilation

    3. C

      The application programmer must rewrite the display driver each time

    4. D

      A prebuilt library function supplies the complicated output functionality

    Correct answer
    D

    A prebuilt library function supplies the complicated output functionality

    Explanation

    Prebuilt C library functions, accessed through facilities such as header files, provide complex operations like printf, allowing programmers to use them without implementing all underlying details.

  10. 10

    What is the role of C header files such as stdio.h and math.h in the described programming model?

    1. A

      They physically store the operating system in read-only memory

    2. B

      They provide access to prebuilt library facilities used by programs

    3. C

      They replace the hardware interfaces used by device drivers

    4. D

      They allow users to operate a computer without applications

    Correct answer
    B

    They provide access to prebuilt library facilities used by programs

    Explanation

    Header files identify or provide access to prebuilt libraries containing functions that applications can use for tasks such as input/output and mathematical operations.

  11. 11

    Which of the following is identified as system software?

    1. A

      A collection of C library functions

    2. B

      A user's handwritten document

    3. C

      A physical monitor manufactured for a computer

    4. D

      A printed copy of an application manual

    Correct answer
    A

    A collection of C library functions

    Explanation

    The content explicitly identifies collections of C library functions as examples of system software because they provide reusable facilities to application programmers.

  12. 12

    Why can a database management system such as MySQL be classified as system software?

    1. A

      It provides software services for storing and managing application data

    2. B

      It functions only as a network cable between database servers

    3. C

      It physically replaces the computer's central processing unit

    4. D

      It allows an end user to avoid using any operating system

    Correct answer
    A

    It provides software services for storing and managing application data

    Explanation

    A database management system provides software services that applications can use to store and manage data, so it is treated as system software in the described classification.

  13. 13

    What is the role of device drivers in system software?

    1. A

      They define the contents of documents created by word processors

    2. B

      They prevent applications from requesting operating-system services

    3. C

      They replace all application programs used by end users

    4. D

      They provide resource-management functions for interacting with hardware devices

    Correct answer
    D

    They provide resource-management functions for interacting with hardware devices

    Explanation

    Device drivers are system-software components that help manage and communicate with hardware resources such as printers, disks, and display devices.

  14. 14

    How do application programmers generally access services provided by system software?

    1. A

      Through the master boot record on every file request

    2. B

      Through user instructions that bypass all software layers

    3. C

      Through an application programming interface, or API

    4. D

      Through direct physical manipulation of memory chips

    Correct answer
    C

    Through an application programming interface, or API

    Explanation

    System-software facilities are made available to application programmers through application programming interfaces, commonly called APIs.

  15. 15

    Which four-layer arrangement correctly describes the computer system model?

    1. A

      Application programs, hardware, users, and operating system

    2. B

      Users, hardware, application programs, and operating system

    3. C

      Hardware, operating system, system and application programs, and users

    4. D

      Operating system, users, hardware, and system programs

    Correct answer
    C

    Hardware, operating system, system and application programs, and users

    Explanation

    The model places computer hardware at the bottom, the operating system above it, system and application programs above the operating system, and users at the top.

  16. 16

    What does the operating system do when an application requests a service such as printing?

    1. A

      It asks the end user to operate the printer manually

    2. B

      It replaces the application with a new operating-system process

    3. C

      It ignores the request because applications cannot use hardware

    4. D

      It translates the request into hardware-level actions, often through a device driver

    Correct answer
    D

    It translates the request into hardware-level actions, often through a device driver

    Explanation

    The operating system converts an application service request into instructions that hardware can understand, using mechanisms such as device drivers to control the display or printer.

  17. 17

    What happens when an application requests memory through the operating system?

    1. A

      The operating system allocates memory and returns a pointer or equivalent reference

    2. B

      The hardware sends the request directly to another application

    3. C

      The end user manually assigns physical memory addresses

    4. D

      The operating system prints the requested amount of memory on the screen

    Correct answer
    A

    The operating system allocates memory and returns a pointer or equivalent reference

    Explanation

    For a request such as dynamic memory allocation, the operating system assigns available memory and provides the application with a pointer to that memory.

  18. 18

    What is the general direction of interaction among the user, application, operating system, and hardware?

    1. A

      The operating system asks the user to translate every request into machine instructions

    2. B

      The application controls hardware directly while the operating system only displays results

    3. C

      The user uses an application, the application requests operating-system services, and the operating system controls hardware

    4. D

      The hardware requests services from the user, who directly controls the operating system

    Correct answer
    C

    The user uses an application, the application requests operating-system services, and the operating system controls hardware

    Explanation

    A user interacts with an application, the application requests services from the operating system, and the operating system translates those requests into hardware operations and returns the results.

  19. 19

    What does it mean for the operating system to abstract hardware resources?

    1. A

      Applications can use standard services without knowing the specific hardware implementation

    2. B

      Hardware devices become unnecessary because software simulates every resource

    3. C

      Applications must contain separate code for every possible monitor and disk

    4. D

      Users are required to understand device-level instructions before running programs

    Correct answer
    A

    Applications can use standard services without knowing the specific hardware implementation

    Explanation

    Abstraction hides hardware-specific details. For example, an application can request printing or file access without knowing the manufacturer or internal operation of the monitor or disk.

  20. 20

    What is the relationship between the kernel and hardware resources?

    1. A

      The kernel is an application used only for editing documents

    2. B

      The kernel abstracts hardware resources and presents usable interfaces to higher software layers

    3. C

      The kernel prevents higher software layers from using any hardware resource

    4. D

      The kernel is a physical device that replaces the computer's memory

    Correct answer
    B

    The kernel abstracts hardware resources and presents usable interfaces to higher software layers

    Explanation

    The kernel is the trusted operating-system core that manages and abstracts hardware resources so that higher-level system and application software need not handle hardware details directly.

  21. 21

    Why can the same printf request work with monitors from different manufacturers?

    1. A

      The operating system and related software hide monitor-specific details from the application

    2. B

      The end user converts the request into device instructions each time

    3. C

      Every monitor uses identical hardware and requires no software support

    4. D

      The C language automatically rewrites the monitor's physical circuitry

    Correct answer
    A

    The operating system and related software hide monitor-specific details from the application

    Explanation

    The application uses a standard output interface, while the operating system and device drivers handle differences among specific display devices.

  22. 22

    Which operating-system type processes submitted jobs with little or no direct interaction during execution?

    1. A

      Real-time operating system

    2. B

      Interactive workstation operating system

    3. C

      Distributed operating system

    4. D

      Batch-processing operating system

    Correct answer
    D

    Batch-processing operating system

    Explanation

    A batch-processing operating system handles jobs submitted for processing, historically allowing users to submit work and collect results later rather than interacting continuously.

  23. 23

    What characterizes a single-user, single-task operating system?

    1. A

      One user effectively performs one task at a time

    2. B

      One user runs many programs concurrently on several computers

    3. C

      Many users execute unrelated tasks simultaneously

    4. D

      No user can execute a program without a network server

    Correct answer
    A

    One user effectively performs one task at a time

    Explanation

    A single-user, single-task operating system is designed so that one user can effectively perform one activity at a time.

  24. 24

    What characterizes a single-user multitasking operating system?

    1. A

      One user can have several programs in operation at the same time

    2. B

      Several independent computers appear as one computer to the user

    3. C

      One task is processed only after the computer is switched off

    4. D

      Many users must share one program while no other program runs

    Correct answer
    A

    One user can have several programs in operation at the same time

    Explanation

    A single-user multitasking system supports one user while allowing several programs to be active or operated concurrently.

  25. 25

    What is a defining feature of a multiuser operating system?

    1. A

      Only one user can log in, even if many applications are running

    2. B

      The system permits only one task during its entire execution

    3. C

      Many users can access computer resources simultaneously

    4. D

      The system can operate only without a network connection

    Correct answer
    C

    Many users can access computer resources simultaneously

    Explanation

    A multiuser operating system allows multiple users to take advantage of computer resources at the same time, as in Unix or Linux servers and mail servers.

  26. 26

    Why is a system that supports many networked users not necessarily a multiuser operating system?

    1. A

      A multiuser operating system cannot communicate with other computers

    2. B

      Any system connected to a network is automatically a multiuser operating system

    3. C

      Networked systems are classified only by the number of installed applications

    4. D

      Networking support and simultaneous local-user management are different classifications

    Correct answer
    D

    Networking support and simultaneous local-user management are different classifications

    Explanation

    A system may support networking for many connected users while still having only one local system administrator or one local user. Network capability and the multiuser operating-system classification are distinct.

  27. 27

    What additional requirement distinguishes a real-time operating system from an ordinary operating system?

    1. A

      It must allow only one user to run one program at a time

    2. B

      It must make several computers appear as a single computer

    3. C

      It must process every job only in the order it was submitted

    4. D

      It must complete a correct operation within a specified time limit

    Correct answer
    D

    It must complete a correct operation within a specified time limit

    Explanation

    A real-time operating system must produce the correct result and complete the operation within a required time interval, which is essential in control systems such as aircraft systems.

  28. 28

    What is the main purpose of a distributed operating system?

    1. A

      To manage independent computers so they appear as one system to applications

    2. B

      To restrict one computer to executing only one application

    3. C

      To process only jobs that are collected and executed the next day

    4. D

      To control only small sensors without coordinating other computers

    Correct answer
    A

    To manage independent computers so they appear as one system to applications

    Explanation

    A distributed operating system manages a group of independent computers and presents them as a single computer from the perspective of application software.

  29. 29

    Which situation is most characteristic of an embedded operating system?

    1. A

      A desktop computer runs numerous general-purpose applications

    2. B

      A mainframe processes large batches that users collect the next morning

    3. C

      A compact device monitors room temperature or controls a washing machine

    4. D

      A mail server supports many simultaneous interactive logins

    Correct answer
    C

    A compact device monitors room temperature or controls a washing machine

    Explanation

    Embedded operating systems are used in compact devices such as sensors, mobile devices, and washing machines, where the software is typically small and efficient.

  30. 30

    What major change occurred in operating-system evolution from mainframes to handheld computers?

    1. A

      Computing moved entirely from software control to manual hardware control

    2. B

      Computing became more interactive and increasingly networked

    3. C

      Users stopped expecting immediate results from computer operations

    4. D

      Operating systems became less concerned with communication among systems

    Correct answer
    B

    Computing became more interactive and increasingly networked

    Explanation

    The evolution from batch-oriented mainframes to desktops and handheld devices brought interactive computing, rapid feedback, and extensive networking.

  31. 31

    Which three characteristics are emphasized as central requirements for contemporary operating systems?

    1. A

      Batch execution, isolated hardware, and delayed user feedback

    2. B

      Manual resource allocation, single-task execution, and no networking

    3. C

      Interactivity, quick or real-time responses, and extensive networking

    4. D

      Hardware replacement, offline operation, and unrestricted program execution

    Correct answer
    C

    Interactivity, quick or real-time responses, and extensive networking

    Explanation

    Modern systems are expected to be highly interactive, provide quick or time-constrained results, and operate in heavily networked environments.

  32. 32

    Which example best illustrates the operating system's role as a resource allocator?

    1. A

      Choosing the topic of a document written by the end user

    2. B

      Writing the application's source code without programmer involvement

    3. C

      Granting a program CPU time, memory, or file storage when requested

    4. D

      Manufacturing a new printer whenever an application requests output

    Correct answer
    C

    Granting a program CPU time, memory, or file storage when requested

    Explanation

    The operating system allocates resources such as CPU time, memory, and storage to programs that request them.

  33. 33

    Why must an operating system resolve conflicts between programs or users requesting the same resource?

    1. A

      Conflict resolution is required only when no operating system is present

    2. B

      Without coordination, simultaneous requests could produce mixed or incorrect results

    3. C

      Hardware resources are always unlimited and need no scheduling

    4. D

      Applications cannot request resources unless users manually rewrite them

    Correct answer
    B

    Without coordination, simultaneous requests could produce mixed or incorrect results

    Explanation

    When two users request a shared resource such as a printer, the operating system must coordinate access. Serializing the jobs prevents their output from becoming interleaved.

  34. 34

    What does serialization accomplish when two users want to print simultaneously?

    1. A

      It allows one complete print job to proceed before the other begins

    2. B

      It combines both files into one randomly interleaved print job

    3. C

      It permanently prevents the second user from accessing the printer

    4. D

      It sends both jobs directly to the hardware without operating-system control

    Correct answer
    A

    It allows one complete print job to proceed before the other begins

    Explanation

    Serialization resolves the conflict by ordering access to the printer, such as printing the first file completely and then printing the second.

  35. 35

    What is a process?

    1. A

      A program stored permanently on a disk

    2. B

      A hardware device waiting for power

    3. C

      A program in execution

    4. D

      A source-code comment describing an application

    Correct answer
    C

    A program in execution

    Explanation

    A process is an executing instance of a program. Operating systems manage processes so that one process does not improperly interfere with another.

  36. 36

    How does an operating system help isolate processes in a multiuser system?

    1. A

      It stops all processes whenever any one process performs an ordinary operation

    2. B

      It gives every process unrestricted access to every hardware device

    3. C

      It allows every process to overwrite all other processes' memory

    4. D

      It prevents an error in one process from improperly affecting another process

    Correct answer
    D

    It prevents an error in one process from improperly affecting another process

    Explanation

    Process isolation is an important operating-system responsibility, especially in multiuser systems. It helps ensure that one program's mistakes do not corrupt another program's execution.

  37. 37

    What should the operating system do when a program attempts an invalid operation such as division by zero?

    1. A

      Ignore the error and allow the program to continue with an arbitrary result

    2. B

      Detect or report the error and stop the invalid program when necessary

    3. C

      Transfer responsibility for the error entirely to another application

    4. D

      Shut down every program running on the computer immediately

    Correct answer
    B

    Detect or report the error and stop the invalid program when necessary

    Explanation

    Error detection, reporting, and controlled termination are operating-system responsibilities. Invalid operations such as division by zero may require the offending program to be stopped.

  38. 38

    Which statement best captures the purpose of an operating system?

    1. A

      It is a user document that records the computer's configuration

    2. B

      It is merely a collection of unrelated application-library functions

    3. C

      It acts as a software layer between users or applications and computer hardware

    4. D

      It is a physical component that performs all computation without software

    Correct answer
    C

    It acts as a software layer between users or applications and computer hardware

    Explanation

    An operating system is a software layer between users and hardware. It provides abstraction, allocates resources, controls execution, and coordinates operations.

  39. 39

    Why is there no universally accepted single definition of an operating system?

    1. A

      Operating systems are defined only by the programming language used to build them

    2. B

      Operating systems must support varied applications, hardware, devices, and users

    3. C

      Operating systems contain no components that can be described consistently

    4. D

      Every operating system is exclusively a hardware device rather than software

    Correct answer
    B

    Operating systems must support varied applications, hardware, devices, and users

    Explanation

    Operating systems serve diverse users and applications while managing varied processors, peripherals, and devices. This broad range of responsibilities makes one universally accepted definition difficult.

  40. 40

    What is the kernel in relation to the operating system?

    1. A

      The kernel is the core or heart of the operating system

    2. B

      The kernel is a network cable used to connect operating systems

    3. C

      The kernel is the first document created after a user logs in

    4. D

      The kernel is an end-user application unrelated to system management

    Correct answer
    A

    The kernel is the core or heart of the operating system

    Explanation

    The kernel is a central part of the operating system that executes continuously and manages fundamental system functions. It is not identical to every component that may be included with an operating system.

  41. 41

    Which set lists the principal goals of an operating system described in the content?

    1. A

      Eliminate applications, prevent networking, and require manual hardware control

    2. B

      Replace hardware, remove system software, and prevent program execution

    3. C

      Maximize user confusion, delay responses, and restrict resource allocation

    4. D

      Provide convenience, operate efficiently, and facilitate program execution

    Correct answer
    D

    Provide convenience, operate efficiently, and facilitate program execution

    Explanation

    The primary goals are convenience for users, efficient operation of the computer, and facilitating the execution of application programs.

  42. 42

    What initially executes when a computer is switched on?

    1. A

      The user's preferred application loaded directly from a text editor

    2. B

      A network application selected by the end user after login

    3. C

      Instructions stored in read-only memory, commonly referred to as firmware

    4. D

      A program created dynamically by the printer driver

    Correct answer
    C

    Instructions stored in read-only memory, commonly referred to as firmware

    Explanation

    At startup, the computer begins executing instructions stored in read-only memory. This startup code is commonly called firmware.

  43. 43

    What does firmware typically do during the boot process?

    1. A

      It allocates all user files before locating any storage device

    2. B

      It executes every application installed on the computer

    3. C

      It replaces the operating-system kernel with a text editor

    4. D

      It locates a bootable device and loads its initial boot program

    Correct answer
    D

    It locates a bootable device and loads its initial boot program

    Explanation

    Firmware searches for a bootable disk or device and loads the initial program stored there so that the boot process can continue.

  44. 44

    What is the boot strap program?

    1. A

      The final application launched after the user closes the operating system

    2. B

      The initial program loaded from a bootable device that continues loading the kernel

    3. C

      A library function used to allocate memory during application execution

    4. D

      A device driver used only to print documents from a browser

    Correct answer
    B

    The initial program loaded from a bootable device that continues loading the kernel

    Explanation

    The boot strap program is stored in the initial sector or block of a bootable device. Firmware loads it into memory, and it continues the process by loading the operating-system kernel.

  45. 45

    What is the role of the master boot record in the described startup sequence?

    1. A

      Firmware loads its contents into memory and transfers control to the loaded program

    2. B

      It stores every application that will be used by the end user

    3. C

      It provides the memory pointer returned by a dynamic allocation request

    4. D

      It serializes print jobs after the operating system has fully started

    Correct answer
    A

    Firmware loads its contents into memory and transfers control to the loaded program

    Explanation

    The master boot record contains the initial boot code. Firmware loads that code into memory and gives it control so it can continue loading the kernel.

  46. 46

    Which sequence correctly describes the transition from power-on to operating-system execution?

    1. A

      An application executes first, then the user creates firmware and loads the kernel

    2. B

      The boot program executes first from an application file, then firmware powers on the hardware

    3. C

      The kernel executes first, then firmware searches for a device and loads the boot program

    4. D

      Firmware executes, locates a bootable device, loads the boot program, and the boot program loads the kernel

    Correct answer
    D

    Firmware executes, locates a bootable device, loads the boot program, and the boot program loads the kernel

    Explanation

    After power-on, firmware begins execution from read-only memory, finds a bootable device, loads its initial boot program, and that program loads the kernel and transfers control to it.

Question 1 of 46
Question 1 of 46

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent