Operating Systems Online Quiz 1

Approved & Edited by ProProfs Editorial Team
The editorial team at ProProfs Quizzes consists of a select group of subject experts, trivia writers, and quiz masters who have authored over 10,000 quizzes taken by more than 100 million users. This team includes our in-house seasoned quiz moderators and subject matter experts. Our editorial experts, spread across the world, are rigorously trained using our comprehensive guidelines to ensure that you receive the highest quality quizzes.
Learn about Our Editorial Process
| By Mostafiz
M
Mostafiz
Community Contributor
Quizzes Created: 1 | Total Attempts: 1,479
Questions: 10 | Attempts: 1,479

SettingsSettingsSettings
Operating Systems Online Quiz 1 - Quiz


Questions and Answers
  • 1. 

    Before the days of Windows, users interfaced with the operating system through a --- interface. 

    • A.

      Graphical

    • B.

      Object oriented

    • C.

      Command utility

    • D.

      Command line

    Correct Answer
    A. GrapHical
    Explanation
    Before the days of Windows, users interfaced with the operating system through a graphical interface. This means that instead of typing commands into a command line, users could interact with the operating system using a visual representation of buttons, menus, and icons. This made it easier for users to navigate and interact with the system, as they could simply click on options instead of memorizing and typing commands.

    Rate this question:

  • 2. 

    The operating system is an example of a computer

    • A.

      Object

    • B.

      File system

    • C.

      Program

    • D.

      Desktop 

    Correct Answer
    C. Program
    Explanation
    The operating system is considered a program because it is a set of instructions or code that controls and manages the computer's hardware and software resources. It provides a platform for other programs to run on and facilitates communication between the hardware and software components of the computer system. The operating system is responsible for managing tasks, memory, input/output devices, and file systems, among other things. Therefore, it fits the definition of a program as it performs a specific set of functions to enable the computer to operate.

    Rate this question:

  • 3. 

    Most operating systems are comprised of three main components: the file system,  the shell and ?

    • A.

      Desktop

    • B.

      Kernel

    • C.

      User interface

    • D.

      Code 

    Correct Answer
    B. Kernel
    Explanation
    The kernel is the correct answer because it is one of the main components of an operating system. It is responsible for managing the system's resources, such as memory and hardware devices, and acts as a bridge between the software and hardware. The kernel also handles tasks such as process management, file system access, and input/output operations.

    Rate this question:

  • 4. 

    CloseHandle() call function in windows operating system is a UNIX's function called for

    • A.

      Fork()

    • B.

      Open()

    • C.

      Read()

    • D.

      Close()

    Correct Answer
    D. Close()
    Explanation
    The given correct answer is close(). The CloseHandle() function in the Windows operating system is used to close an open handle to a file or an input/output (I/O) device. It is not related to any of the mentioned UNIX functions (fork(), open(), read()). The close() function in UNIX is used to close a file descriptor after it is no longer needed. Therefore, the correct answer is close().

    Rate this question:

  • 5. 

    The --- is often used as part of a path. 

    • A.

      Comma

    • B.

      Forward slash

    • C.

      Backslash

    • D.

      Semicolon 

    Correct Answer
    C. Backslash
    Explanation
    The backslash is often used as part of a path in computer systems. It is commonly used to separate directories or folders within a file path. For example, in a Windows operating system, the backslash is used to separate folders in a file path like C:\Program Files\Example.

    Rate this question:

  • 6. 

    When we execute a C program, CPU runs in ____ mode.

    • A.

      User

    • B.

      Kernel

    • C.

      Supervisory

    • D.

      System

    Correct Answer
    A. User
    Explanation
    When we execute a C program, the CPU runs in user mode. In this mode, the program has limited access to system resources and cannot perform privileged operations. The user mode provides a level of protection and prevents the program from interfering with other processes or the operating system. It ensures that the program only has access to its allocated memory and cannot modify critical system files or configurations.

    Rate this question:

  • 7. 

    For reading input, which of the following system call is used?

    • A.

      Write

    • B.

      Rd

    • C.

      Read

    • D.

      Change

    Correct Answer
    A. Write
    Explanation
    The correct answer is "write" because the write system call is used to write data from a buffer to a file descriptor. It allows the program to send data to an output device or file.

    Rate this question:

  • 8. 

    Which of the following mode is used for opening a file in both reading and writing?

    • A.

      O_RDONLY

    • B.

      O_WRONLY

    • C.

      O_RDWR

    • D.

      O_WDR

    Correct Answer
    C. O_RDWR
    Explanation
    The correct answer is O_RDWR. This mode is used for opening a file in both reading and writing. O_RDONLY is used for opening a file in read-only mode, O_WRONLY is used for opening a file in write-only mode, and O_WDR is not a valid mode for opening a file.

    Rate this question:

  • 9. 

    Getting device attributes of a computer system is a

    • A.

      Process control

    • B.

      File management

    • C.

      Device management

    • D.

      Information maintenance

    Correct Answer
    D. Information maintenance
    Explanation
    The correct answer is "information maintenance" because getting device attributes of a computer system involves collecting and managing information about the devices connected to the system. This process includes gathering details such as device type, status, configuration, and capabilities, which are essential for maintaining and updating the system's information database. It does not involve controlling processes, managing files, or directly managing the devices themselves.

    Rate this question:

  • 10. 

    Programs of the operating system usually end

    • A.

      Normally 

    • B.

      Interruptedly 

    • C.

      Intervally 

    • D.

      Erroneously

    Correct Answer
    A. Normally 
    Explanation
    Programs of the operating system usually end "normally" means that they terminate without any errors or issues. This implies that the program has completed its execution successfully and has followed the expected flow of execution.

    Rate this question:

Quiz Review Timeline +

Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.

  • Current Version
  • Aug 10, 2023
    Quiz Edited by
    ProProfs Editorial Team
  • Aug 08, 2020
    Quiz Created by
    Mostafiz
Back to Top Back to top
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.