Information Technology Tools and Network Basics Theory Question

Introduction to Operating System

  1. What is the primary purpose of an operating system (OS) in a computer system ?
    1. Displaying advertisements
    2. Managing hardware resources
    3. Providing internet connectivity
    4. Running video games
    Answer : B
    Explain: An O.S is the core software components of computer system, that manages the hardware and applications.
  2. Which of the following is NOT a function of an operating system ?
    1. Memory management
    2. File management
    3. Application development
    4. Process scheduling
    Answer : C
    Explain: An operating system is a software which performs all the basic tasks like file management, memory management, process management, handling input and output.
  3. The layer between hardware and user-level software in an operating system is called :
    1. Application layer
    2. Kernel
    3. User layer
    4. Shell
    Answer : B
    Explain: Kernel is central component of an operating system that manages operations of computer and hardware. It is like a bridge between user and application.
  4. The core of linux operating system is ?
    1. Shell
    2. Hardware
    3. Kernel
    4. Application Program
    Answer : C
    Explain: The Linux kernel is the software that interfaces directly with the computer hardware.
  5. Which type of operating system allows multiple users to run programs at the same time and provides multi-user support ?
    1. Single-user operating system
    2. Multi-user operating system
    3. Batch operating system
    4. Real-time operating system
    Answer : B
    Explain: A multi-user operating system is an operating system that allows multiple users to access underlying hardware resources simultaneously.
  6. What is the purpose of virtual memory in an operating system ?
    1. Increase the physical size of RAM
    2. Create virtual machines for testing
    3. Manage system files
    4. Extend the available memory by using disk space
    Answer : D
    Explain: Virtual Memory is a storage allocation method in which secondary memory can be used as it is the part of the main memory which increase the capacity of main memory.
  7. An interpreter converts the high-level programming code into machine code :
    1. All at once before execution
    2. Line by line during execution
    3. After the program is compiled
    4. Only for debugging purposes
    Answer : B
    Explain: Interpreter converts the program in line by line, if error occur in line it stop on it.
  8. After a program is compiled, the resulting machine code is executed by :
    1. The CPU directly
    2. compiler
    3. interpreter
    4. operating system
    Answer : A
    Explain: After program comiple with the help of interpreter or compiler it goes to CPU.
  9. The language that can be understood by a computer ?
    1. Machine language
    2. High Level Language
    3. Low Level Language
    4. Assembly Language
    Answer : A
    Explain: Machine language is directly understand by computer which is in for of 0 or 1.
  10. Which of the following operating system reads and reacts in actual time ?
    1. Batch O.S.
    2. Quick Response O.S.
    3. Real Time O.S.
    4. Time Sharing
    Answer : C
    Explain: Real-time operating systems is an O.S with deadline. It completes it task in a given time. Example : Airline traffic control systems, Command Control Systems, Airlines reservation system, Heart Pacemaker etc.
  11. In Unix, what command is used to display the current directory ?
    1. showdir
    2. pwd
    3. dir
    4. cd
    Answer : B
    Explain: pwd stands for Print Working Directory.The pwd command writes to standard output the full path name of your current directory.
  12. In operating system, each process has its own _______
    1. pending alarms, signals, and signal handlers
    2. open files
    3. address space and global variables
    4. All of above
    Answer : D
    Explain: In Operating Systems, each process has its own address space which contains code, data, stack, and heap segments or sections.
  13. What is Linux ?
    1. multi user, multitasking
    2. single user, multitasking
    3. single user, single tasking
    4. multi user, single tasking
    Answer : A
    Explain: Linux is a free, open source operating system, released under the GNU General Public License (GPL)
  14. Which is not an operating system service given to users ?
    1. I/O
    2. Process management
    3. Compilation
    4. File mangement
    Answer : C
    Explain: Compilation is the process the computer takes to convert a high-level programming language into a machine language that the computer can understand.
  15. Ready queue in OS is maintained by ___
    1. Array
    2. Stack
    3. Linked List
    4. Tree
    Answer : C
    Explain: In an operating system, a "ready queue" is a data structure used to manage and organize processes that are ready to be executed by the CPU. A linked list is a collection of nodes, where each node contains two components: the actual data (in this case, a process) and a reference (or pointer) to the next node in the list.

Next Set

2

Make sure you make notes of these question. We hope it helps you.