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

To apply the outline border to selected cells

  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

To insert a new worksheet

  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 will display a calendar?

  1. ls

  2. cat

  3. grep

  4. cal


Correct Option: D

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

The ________ command will display the absolute pathname for the directory that you are wokring in.

  1. pwd

  2. cwd

  3. dir

  4. ls


Correct Option: A

The file assign4.html has permissions set as rwxrwxrwx

  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

AI Explanation

To answer this question, we need to understand the permissions set for files in a Linux or Unix-like operating system.

In Unix-based systems, file permissions are represented by a series of 10 characters. The first character represents the file type, and the remaining nine characters represent the permissions for the file's owner, group, and others.

The permissions are represented by three sets of rwx (read, write, execute) flags, corresponding to the owner, group, and others.

In this case, the permissions for the file "assign4.html" are set as "rwxrwxrwx". Let's break it down:

  • "rwx" for the owner: The owner of the file has read, write, and execute permissions.
  • "rwx" for the group: The group that the file belongs to also has read, write, and execute permissions.
  • "rwx" for others: All other users on the system also have read, write, and execute permissions.

Therefore, option C is correct: Everyone can read, write, and execute the file. The permissions are set to allow full access to the file for all users on the system.

  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
  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
- Hide questions