0

programming languages Online Quiz - 333

Description: programming languages Online Quiz - 333
Number of Questions: 20
Created by:
Tags: programming languages
Attempted 0/20 Correct 0 Score 0

Bourne Shell provides support for command aliasing

  1. True

  2. False


Correct Option: A

Unix allows more than one root directory

  1. True

  2. False


Correct Option: B

tar can be used to write on to floppy disks

  1. True

  2. False


Correct Option: A

if statement needs to end with end if

  1. True

  2. False


Correct Option: B

du command displays the file system usage for the entire file system

  1. True

  2. False


Correct Option: B

Normal users can kill init process

  1. True

  2. False


Correct Option: B

top command can be used to control processes

  1. True

  2. False


Correct Option: A

Using netstat one can restart network device

  1. True

  2. False


Correct Option: B

What will happen if the specfied shell directive is not present in the path as mentioned in the shell script?

  1. Takes default shell

  2. Prompt error

  3. Fixes the path

  4. None


Correct Option: B

What is a named pipe?

  1. A Pipe used by kernel to access device

  2. A pipe to be used by the user to access device

  3. An abstraction to provide support for inter process communication

  4. A device


Correct Option: C

To search exactly one word in a given list

  1. [word1, word2, ..]

  2. {word1, word2, ….}

  3. (word1, word2, ….)

  4. word1, word2, ….


Correct Option: B

It is possible to redirect the output of a process to more than one source

  1. True

  2. False

  3. True but needs root permission

  4. None


Correct Option: A

The components of unix file system are (Give the proper order)

  1. boot block, super block, inode block, data block

  2. super block, boot block, inode block, data block

  3. boot block, inode block, super block, data block

  4. boot block, super block, data block, inode block


Correct Option: A

Commands tar & dd

  1. dd allows block sizes to be defined, tar does not allow

  2. tar allow block sizes to be defined while dd does not allow

  3. both tar & dd allow block sizes to be modified

  4. both tar & dd do not allow block sizes to be modified


Correct Option: C

what does cmp do?

  1. Copies file1 to file2

  2. Compares file1 and file2 and update file1 with file2 whereever differs

  3. Compares file1 and file2 and update file2 with file1 whereever differs

  4. None


Correct Option: D

fsck command is

  1. Used to create file systems

  2. Used to create files

  3. Used to create root file system alone

  4. None


Correct Option: D

fdisk command is

  1. Used to create file systems

  2. Used to create harddisk partitions

  3. Used to create root file system alone

  4. None


Correct Option: B

The option not allowed in test command

  1. -d

  2. -l

  3. -u

  4. -a


Correct Option: B

The valid conditional operator

  1. -NE

  2. -GT

  3. -LT

  4. -eq


Correct Option: D

How to mount a file system?

  1. fsck

  2. fsmount

  3. mount

  4. mountfs


Correct Option: C
- Hide questions