0

operating systems Online Quiz - 58

Description: operating systems Online Quiz - 58
Number of Questions: 20
Created by:
Tags: operating systems
Attempted 0/20 Correct 0 Score 0
  1. No, it is not a command

  2. Yes, it stands for kilobytes used by each subdirectory

  3. It will display the current users available in the system

  4. The df command reports on the space left on the file system


Correct Option: B
  1. cat displays files cotents. if the file is large the contents scroll off the screen before we view it. commad 'more' is like a pager which displays the contents page by page

  2. more displays files cotents. if the file is large the contents scroll off the screen before we view it. commad 'cat' is like a pager which displays the contents page by page

  3. Both will not used to display

  4. Both will display page by page


Correct Option: A
  1. Append the content in file1 and cat par.3 par.4 par.5 >> report -> contents of files par.2 par.4 par.5 appended to file report

  2. cat file1>file1 - file emptied and cat par.3 par.4 par.5 >> report -> contents of files par.2 par.4 par.5 appended to file report

  3. Both will do the same poeration. Will append the data to the destination files.

  4. cat file1>file1 - Wont do any operation in file 1 and cat par.3 par.4 par.5 >> report -> contents of files par.2 par.4 par.5 appended to file report


Correct Option: B

What is the use of ‘grep’ command

  1. ‘grep’ is a pattern search command. It will display the line which contains the pattern

  2. ‘grep’ is a pattern search command. It will display thepattern alone

  3. ‘grep’ can be used to search the patterns with the conditions

  4. It is an efficient command to search the multiple patterns.


Correct Option: A

How to terminate a process which is running

  1. end pid

  2. delete pid

  3. kill pid

  4. kill all


Correct Option: C
  1. Tells the shell to arrange for the output of the preceding command to be passed as input to the following command

  2. It is just used to connect two diifferent commands

  3. It is useful when you use awk commands only

  4. Tells the shell to arrange for the output


Correct Option: A

How is the command ?$cat file2 ? different from ?$cat >file2

  1. cat file2 - it will take the content to the file 2 and cat>file2 will display an error

  2. Both used to display the contents

  3. cat file2 - it displays the content of the file 2 and cat>file2 - if the file is empty it creates the content into the file2 and if the file has contents it overwrittens

  4. Both used to append the contents


Correct Option: C

"What is the unix command used for giving or changing the permissions for files "

  1. Changemode

  2. chmod

  3. chper

  4. both chmod and chper


Correct Option: B

What is Output - awk 'BEGIN { if (length($0) > max) max= length($0) } | END { print max }' test.txt

  1. Will print the longest line

  2. Will display all the content of the file

  3. Print the count of the first line of the file.

  4. Will give the count of the longest line


Correct Option: D
  1. Alt + F7

  2. Alt + F5

  3. Alt + Enter

  4. Alt + F10


Correct Option: C

What "Alt + Space bar" will do?

  1. Drops down the window control menu

  2. Drops down the window File menu

  3. Closes the Window

  4. Maximize the Window


Correct Option: A
  1. Restarts the PC

  2. Loads the last known good Configuration

  3. Boots in Safe Mode

  4. None of the Above


Correct Option: C
  1. Ctrl + Print Screen

  2. Print Screen

  3. Shift + Print Screen

  4. Alt + Print Screen


Correct Option: D
  1. Ctrl + Esc

  2. Ctrl + Tab

  3. Alt + Esc

  4. All the Above


Correct Option: A
  1. Ctrl + F2

  2. Ctrl + (the '+' key on the keypad)

  3. Alt + (the '+' key on the keypad)

  4. None of the Above


Correct Option: B
  1. Executes the script

  2. Changes the time stamp of existing file

  3. Creates a file of 0 byte.

  4. b and c

  5. All of the above


Correct Option: D
  1. equal to Alt + TAB

  2. Cycles through open windows with out bringing the Window to the top (press Enter)

  3. Opens first window in the task bar

  4. None of the Above


Correct Option: B

How to open system properties ?

  1. Winkey + P

  2. Winkey + F10

  3. Winkey + Break

  4. Winkey + S


Correct Option: C
  1. Minimises all windows

  2. Maximize all windows

  3. Unminimises all windows

  4. Restore all windows


Correct Option: A,C
- Hide questions