0

operating systems Online Quiz - 62

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

what do SUID bits do

  1. They ensure that the associated program runs in root

  2. They ensure that the associated program runs automatically with the owner's permissions

  3. They make the file executable

  4. They add the program to the /bin directory


Correct Option: B

What does the read command do while it waits for input?

  1. Tests for command-line arguments

  2. Shifts arguments to the left

  3. Exits the program

  4. Creates a pause in the program


Correct Option: D

Which directory is the standard for storing shell scripts created by systems adminstrators?

  1. /etc

  2. /bin

  3. /dev

  4. /rc.d


Correct Option: B

What stream usually outputs error messages to the screen?

  1. stdout

  2. stderr

  3. stderr2

  4. stdouterr


Correct Option: B

Without using the shift command, what range of command-line argument variables can be referenced correctly?

  1. $0 to $9

  2. $0 to $10

  3. $1 to $9

  4. $1 to $10


Correct Option: A
  1. The $* shell variable

  2. The $@ shell variable

  3. Redirected input

  4. Redirected output


Correct Option: B

Which of the following does the .seq file in the printer spooling directories do?

  1. Prevent two jobs being sent to the same printer simultaneously

  2. Keep track of all the print jobs in the spooling directory

  3. Assign job numbers to new print jobs

  4. Record the owners of print jobs


Correct Option: C

linux allows more than one root directory

  1. True

  2. False


Correct Option: B

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

  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

Shell functions are self-contained and cannot be accessed from outside the function

  1. True

  2. False


Correct Option: B

vi is the only text editor available in linux

  1. True

  2. False


Correct Option: A

The key [HKEY_LOCAL_MACHINE\Software\Microsoft\MSLicensing] Stores information on

  1. Windows 2000 Server License

  2. Terminal Server Client Access License

  3. Microsoft Exchange Server Client License

  4. Microsoft IIS Server License


Correct Option: B

AI Explanation

To answer this question, we need to understand what the given registry key [HKEY_LOCAL_MACHINE\Software\Microsoft\MSLicensing] stores.

Option A) Windows 2000 Server License - This option is incorrect because the [HKEY_LOCAL_MACHINE\Software\Microsoft\MSLicensing] registry key does not store information related to Windows 2000 Server licenses.

Option B) Terminal Server Client Access License - This option is correct. The [HKEY_LOCAL_MACHINE\Software\Microsoft\MSLicensing] registry key stores information related to Terminal Server Client Access Licenses. Terminal Server Client Access Licenses (CALs) are required to access a Windows Terminal Server.

Option C) Microsoft Exchange Server Client License - This option is incorrect because the [HKEY_LOCAL_MACHINE\Software\Microsoft\MSLicensing] registry key does not store information related to Microsoft Exchange Server Client Licenses.

Option D) Microsoft IIS Server License - This option is incorrect because the [HKEY_LOCAL_MACHINE\Software\Microsoft\MSLicensing] registry key does not store information related to Microsoft IIS Server licenses.

The correct answer is B) Terminal Server Client Access License. This option is correct because the [HKEY_LOCAL_MACHINE\Software\Microsoft\MSLicensing] registry key stores information related to Terminal Server Client Access Licenses.

You can disable USB storage devices on your computer by locating the DWORD value "Start" under the key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\USBSTOR] and changing its value data to:

  1. 1

  2. 2

  3. 3

  4. 4


Correct Option: D

The applications you find running at startup are also listed under

  1. [HKEY_LOCAL_MACHINE\software\microsoft\windows\currentversion\RunOnce]

  2. [HKEY_LOCAL_MACHINE\software\microsoft\windows\currentversion\Start]

  3. [HKEY_LOCAL_MACHINE\software\microsoft\windows\currentversion\Run]

  4. [HKEY_LOCAL_MACHINE\software\microsoft\windows\currentversion\Startup]


Correct Option: C

You can view and change Windows Pagefile settings under the following key: [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\Memory Management]

  1. True

  2. False


Correct Option: A

Dr. Watson is the automatic debugger in Windows and tries to automatically debug program errors if they occur. To turn of Dr. Watson, you should set the value of the string "Auto" under the key [HKEY_Local_Machine \Software\Microsoft\Windows NT\CurrentVersion\AeDebug] to "1"

  1. True

  2. False


Correct Option: B

AI Explanation

To answer this question, you need to understand how to turn off Dr. Watson in Windows.

Option A) True - This option is incorrect. The statement says that to turn off Dr. Watson, you should set the value of the string "Auto" under the key [HKEY_Local_Machine \Software\Microsoft\Windows NT\CurrentVersion\AeDebug] to "1". However, this is not the correct procedure to turn off Dr. Watson in Windows.

Option B) False - This option is correct. The statement is incorrect. To turn off Dr. Watson in Windows, you need to disable it through the System Configuration utility or by modifying the registry. Setting the value of the string "Auto" under the key [HKEY_Local_Machine \Software\Microsoft\Windows NT\CurrentVersion\AeDebug] to "1" will not turn off Dr. Watson.

The correct answer is B) False.

How can you list the files present in a directory in alphabetical order ?

  1. ls -S

  2. By executing the script - for myfile in * do echo "$myfile" done

  3. ls -t

  4. a,b and c are correct

  5. a is incorrect and b is correct


Correct Option: E
- Hide questions