0

operating systems Online Quiz - 93

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

sed -n option

  1. prints the output

  2. does not print the output

  3. changes the output

  4. None of the above


Correct Option: B
  1. provides the execute permission

  2. removes the execute permission

  3. provides write permission

  4. removes read permission


Correct Option: A

if[ -f filename ]

  1. checks for the existence of a file

  2. checks for existence of a directory

  3. checks for read permission on a file

  4. checks for write permission on a file


Correct Option: A

How to display first 10 lines of all files ending with ".txt"?

  1. cat *.txt -length=10

  2. disp 10 .txt

  3. head -10 *.txt

  4. print 10 *.txt


Correct Option: C

How do you get help about the command "mv"?

  1. help mv

  2. man mv

  3. mv ?

  4. mv help


Correct Option: B

How to search all files in current directory for the word "test"

  1. grep test *

  2. lookup test *

  3. search test *

  4. dir test .


Correct Option: A

How to rename "FILE1" to "FILE2" ?

  1. ren FILE1 FILE2 - i

  2. ren FILE1 FILE2

  3. cp FILE1 FILE2

  4. mv FILE1 FILE2


Correct Option: D

How to list all files in the current directory?

  1. dir *

  2. dir .

  3. list all

  4. ls -a


Correct Option: D

In which system call we have to use file descriptor to identify the file.

  1. fchmode()

  2. fchmod()

  3. chmod()

  4. All the above.


Correct Option: B

which command gives the operating system's version number?

  1. uname -v

  2. uname -p

  3. uname -s

  4. uname -r


Correct Option: D

Which command is used to create recursive directories.2) mkdir -v x/y x/y/z3) mkdir -p x/y x/y/z4) mkdir x x/y x/y/z

  1. i and ii

  2. i,ii,iv

  3. iii,iv

  4. All the above.


Correct Option: C

Which command is used to get the entire line using awk?

  1. $1

  2. $0

  3. $*

  4. $#


Correct Option: B

which command is used to print the lines which are having only one '\'

  1. grep "^\$" filename

  2. grep "^\$" filename

  3. grep "^\\$" filename

  4. grep "^\\$" filename


Correct Option: D

Which command is used to create recursive directories.

  1. mkdir -p x/y x/y/z

  2. mkdir -r x/y x/y/z

  3. mkdir x x/y x/y/z

  4. mkdir -x x/y x/y/z


Correct Option: A,C

64-bit os means

  1. CPU register is 64 bit

  2. It stores information in hard disk as 64-bit format

  3. Data in main memory stored in 64-bit

  4. OS is developed using 64-bit compiler


Correct Option: C

What is the windows version of WIN XP os

  1. 4.x

  2. 5.x

  3. 6.x

  4. 7.x


Correct Option: B
  1. MS office

  2. IE

  3. Windows Mail

  4. Windows Media Player


Correct Option: B

We cannot create following named folder in windows

  1. foo

  2. nul

  3. xp

  4. reg


Correct Option: B
  1. Memory overflow error may occure

  2. CPU will slow down

  3. Hard disk operations may be very slow

  4. May slow down pc performance due to more memory fragmentation.


Correct Option: D

64-bit os means

  1. CPU register is 64 bit

  2. It stores information in hard disk as 64-bit format

  3. Data in main memory stored in 64-bit

  4. OS is developed using 64-bit compiler


Correct Option: C
- Hide questions