operating systems Online Quiz - 36

Description: operating systems Online Quiz - 36
Number of Questions: 20
Created by:
Tags: operating systems
Attempted 0/20 Correct 0 Score 0

Grep usually takes the input from another command (usually content of file or folders etc) where Find works without taking input from another command

  1. True

  2. False

Correct Option: B

The tar command archives and extracts files to and from a single file called a tarfile.

  1. Yes, Correct

  2. No This is for JAR command

  3. TAR and JAR are same

  4. none of these

Correct Option: A

which is faster

  1. cpio

  2. mv

  3. cpip

  4. cp

Correct Option: A

Default time in UNIX is called

  1. EPOCH


  3. Both the above

  4. None of the above

Correct Option: A

current user -> test, base user -> root which of the following is correct

  1. whoami will display root

  2. who am i will display test

  3. who am i will display root

  4. None of the above

Correct Option: C

script command is

  1. used to record/spool your session

  2. create a new login session

  3. No such command exists

  4. a &  b are correct

Correct Option: A

giving the command cd , what will be the action of the shell

  1. it will change directory to user home directory

  2. it will give out an error

  3. it will remain silent

  4. both a & b

Correct Option: A

how to create a directory test and its child subtest using a single command

  1. mkdir /test/subtest

  2. mkdir -P /test/subtest

  3. mkdir -p /test/subtest

  4. none of the above

Correct Option: B

will the command cd* work

  1. Yes under certain circumstances.

  2. No.

  3. I Dont Know

  4. cd command will not work with * switch

Correct Option: A

In Unix, files on a file-system are accessible before mouting ?

  1. Yes, they are visible

  2. No, files are not visible before mouting

  3. Sometimes they are visible

  4. It depends on booting option

  5. It depends on file system

Correct Option: B

File access permission 100 implies that:

  1. Read only access for Others

  2. Read only access for Group

  3. Read only access for Owner

  4. Read only access for everyone

Correct Option: C

inode contains following information

  1. File mode

  2. file size

  3. File Creation time

  4. File access time

  5. File links count

  6. all of the above

Correct Option: F

inode contains ____ direct pointers to data blocks of file data

  1. 10

  2. 12

  3. 15

  4. 8

Correct Option: B

Blocks pointing to data blocks (single indirect, double indirect) are collectively known as ______

  1. Pointer data

  2. Metadata

  3. Information data

  4. backup data

Correct Option: B

If your file size is (12*size of one block) or less, how many indirect pointing blocks do you need ?

  1. 1

  2. 0

  3. 4

  4. 8

Correct Option: B

If in an Indirect pointer block has:1) address is of 2 bytes and 2)one block is of 1024 bytes, then how many pointers to indirect blocks can this block have ?

  1. 400

  2. 512

  3. 1024

  4. 2048

Correct Option: B

File access permisions are grouped in this sequence:

  1. Owner, Group, others

  2. Owner, others, group

  3. Group, others, owner

  4. Owner, Group, others,everyone

Correct Option: A

Tape is a ____ access type of storage media

  1. Random access media

  2. Sequential access media

  3. Depending on Filesystem, it is sequential of Random access

  4. Depends on boot sequence

Correct Option: B

A Snapshot takes _______ copy of the file system.

  1. Last night's copy

  2. Today morning's copy

  3. Point in time copy

  4. data copy

Correct Option: C

How many devices can be connected through SCSI cable according to SCSI-1

  1. 8

  2. 16

  3. 32

  4. 64

Correct Option: A
- Hide questions