0

operating systems Online Quiz - 32

Description: operating systems Online Quiz - 32
Number of Questions: 20
Created by:
Tags: operating systems
Attempted 0/20 Correct 0 Score 0
  1. Peep Feature

  2. Peek Feature

  3. Aerodydamic Feature

  4. Aero Feature


Correct Option: D

You can connect to your home PC media library while you're away using..

  1. Remote Media Communicating

  2. Remote Media Streaming

  3. Remote Media Connection

  4. Remode Media Managing


Correct Option: B

which Command Scans your computer for known viruses.

  1. TYPE

  2. MSAV

  3. JOIN

  4. ATTRIB


Correct Option: B

which Command is Used to load a file with country-specific information.

  1. FUNC

  2. COUNTRY

  3. MEM

  4. NLSFUNC


Correct Option: D

which Command is used to continuously monitors your computer for viruses and displays a warning when it finds one.

  1. VIRUSVIEW

  2. KEYB

  3. VSAFE

  4. MKDIR


Correct Option: C

which Command is Used in the CONFIG.SYS file to tell DOS which device driver to load.

  1. MODE

  2. DEVICE

  3. PATH

  4. PROMPT


Correct Option: B

which Command is Used to gain access to CD-ROM drives (new with DOS Version 6).

  1. MSCDEX

  2. INCLUDE

  3. DIR

  4. FCBS


Correct Option: A

which Command is used to Display the contents of a file.

  1. SHOW

  2. TYPE

  3. READ

  4. VER


Correct Option: B

which Command is used to Transfer the operating system files to another disk.

  1. FDISK

  2. DATE

  3. FORMAT

  4. SYS


Correct Option: D

which Command is used to Save disk storage information that can be used to recover accidentally erased files.

  1. MIRROR

  2. VIRTUAL

  3. CHKDSK

  4. EXIT


Correct Option: A

which Command is used to Display amount of installed and available memory, including extended, expanded, and upper memory.

  1. RMDIR

  2. DEL

  3. MEM

  4. DELOLDOS


Correct Option: C

which Command is Used in the CONFIG.SYS file to set parameters for a disk drive.

  1. DRIVPARM

  2. FOR

  3. GOTO

  4. MEMMAKER


Correct Option: A
  1. You only can list the contents of that directory.

  2. You can change to that directory.(Making that directory as present working directory)

  3. You can create new content inside that directory.

  4. Write permission for a directory wont effect anything.


Correct Option: C

What umask = 0002 means?

  1. Files have default permission as rw-rw-r--.and for directory it is as rwxrwxr-x

  2. Files have default permission as r--r--r--.and for directory it is as r-xr-xr-x

  3. Files have default permission as rw-rw-rw-.and for directory it is as rw-rw-rw-

  4. None of the above.


Correct Option: A

AI Explanation

To answer this question, let's understand what the umask value represents.

The umask value is a permission mask that is applied to newly created files and directories. It is used to modify the default permissions assigned to these files and directories.

In the case of umask = 0002, the value is represented in octal notation. Each digit in the octal value represents the permissions for different user groups: owner, group, and others.

The umask value consists of three digits, each representing the permission bits for the respective user group. The digits are subtracted from the maximum permission set (777 in octal) to determine the default permissions for files and directories.

Let's break down the umask value 0002:

  • The first digit (0) represents the owner's permissions. In this case, it is set to 0, indicating no changes to the default permissions for the owner.
  • The second digit (0) represents the group's permissions. In this case, it is set to 0, indicating no changes to the default permissions for the group.
  • The third digit (2) represents the permissions for others. In this case, it is set to 2, indicating the subtraction of write permission from the default permissions for others.

By subtracting the umask value (0002) from the maximum permission set (777), we get the default permissions for files and directories:

  • For files: 777 - 0002 = 775. This means that newly created files will have default permissions of rw-rw-r--.
  • For directories: 777 - 0002 = 775. This means that newly created directories will have default permissions of rwxrwxr-x.

Therefore, option A) Files have default permission as rw-rw-r-- and for a directory, it is as rwxrwxr-x is the correct answer.

Command to list all open files in a Linux System.

  1. lsof

  2. ls .open

  3. lsopen

  4. lsof -x


Correct Option: A

Command kill -9 ............

  1. Request kernel to kill a process

  2. Ask user to terminate the process or not.

  3. There os no such command exist.

  4. Order kernel to kill a process.


Correct Option: D

Read following two commands: cat | sort sort < cat What is the diffrence between both the commands?

  1. First command will display the file in sorted order.But second result an error.

  2. Second command will display the file in sorted order.But first result an error.

  3. Both give the same result, Display the file in a sorted order.

  4. Both command will work but only first result in a sorted file.


Correct Option: C
  1. date command gives current date and time and time , time command wont exist in Linux.

  2. date command gives current date and time , time command wont give current time.

  3. date command gives current date , time command gives current time.

  4. date command gives current date and time , time command gives current time.


Correct Option: B
- Hide questions