0

operating systems Online Quiz - 60

Description: operating systems Online Quiz - 60
Number of Questions: 20
Created by:
Tags: operating systems
Attempted 0/20 Correct 0 Score 0
  1. CTRL + SHIFT + )

  2. CTRL + SHIFT + (

  3. CTRL + (

  4. CTRL + U


Correct Option: B
  1. CTRL + SHIFT + _

  2. CTRL + &

  3. CTRL + SHIFT + &

  4. CTRL + B


Correct Option: C
  1. CTRL + SHIFT + &

  2. CTRL + SHIFT + _

  3. CTRL + &

  4. CTRL + B


Correct Option: B
  1. CTRL + N

  2. SHIFT + F11

  3. CTRL + W

  4. SHIFT + W


Correct Option: B

_____________ is the command that writes the last 10 lines of a file to the screen.

  1. head

  2. last

  3. tail

  4. cat


Correct Option: C

Which command is used to change your password?

  1. pwd

  2. Passwd

  3. password

  4. user


Correct Option: B

Which command can be used to display the contents of a file on the screen?

  1. dir

  2. cp

  3. cal

  4. cat


Correct Option: D

_____________ is the command that writes the first 10 lines of a file to the screen.

  1. whereami

  2. head

  3. dir

  4. ls


Correct Option: B
  1. The file is really a directory and was named incorrectly.

  2. It is impossible for an html file to have permissions set that way.

  3. Everyone can read, write, and execute the file.

  4. The file can not be viewed on the WWW.


Correct Option: C

What is the use of INITIALIZE verb?

  1. Used to initialize some value to a variable

  2. Numeric values are set to zero, alphabetic and alphanumberic variables are set to spaces.

  3. All variables are set to spaces.

  4. None of the above


Correct Option: B

When a thread blocks on I/O, which of the following are true?

  1. The thread enters the ready state

  2. The thread enters the dead state

  3. No other thread may perform I/O

  4. The thread enters the waiting state


Correct Option: D

What is the result of doing the following? date >> file

  1. The date output is redirected to the file.

  2. The date output is redirected and appended to the end of the file.

  3. The date output is redirected and appended to the beginning of the file.

  4. None of the above


Correct Option: B

Which of the following will return the exit code of the last executed command?

  1. $%

  2. $#

  3. $?

  4. $!


Correct Option: C

What is the command used for changing the scope of a shell variable to a global variable?

  1. global

  2. shell

  3. export

  4. None of the above


Correct Option: C
- Hide questions