0

operating systems Online Quiz - 79

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

Command to remove directory which is having few files inside.

  1. rmdir

  2. rm

  3. rm -r

  4. None


Correct Option: C

Command to rename a file in unix

  1. rename

  2. rm

  3. mv

  4. cp


Correct Option: C

wc command can be used to count the number of lines in a file

  1. True

  2. False


Correct Option: A

AI Explanation

To answer this question, let's understand the purpose of the wc command.

The wc command is a command-line utility in Unix-like operating systems that stands for "word count". It is primarily used to count the number of lines, words, and characters in a file.

So, the given statement is true. The wc command can indeed be used to count the number of lines in a file.

Therefore, the correct answer is A) True.

command to find a string inside a file.

  1. find

  2. grep

  3. search

  4. None


Correct Option: B

What is the purpose of sed command

  1. A Serial Editor

  2. A Stream Editor

  3. A shredder tool

  4. All the above


Correct Option: B

AI Explanation

To answer this question, let's go through each option to understand why it is correct or incorrect:

Option A) A Serial Editor - This option is incorrect because sed is not a serial editor. It is not used for editing serial data.

Option B) A Stream Editor - This option is correct because sed is primarily used as a stream editor. It is a powerful command-line tool that processes text files, line by line, and performs various operations such as searching, replacing, deleting, and inserting text.

Option C) A shredder tool - This option is incorrect because sed is not a shredder tool. A shredder tool is used to securely delete files and data, while sed is used for text manipulation.

Option D) All the above - This option is incorrect because only option B is correct. Sed is not a serial editor or a shredder tool.

The correct answer is B) A Stream Editor. This option is correct because sed is primarily used as a stream editor for text manipulation.

output=1;echo "2+3"|bc|read output | echo $output What is the output ?

  1. 1

  2. 5

  3. 0

  4. a Blank line


Correct Option: A

which command is used to create a zero byte file ?

  1. touch

  2. cat

  3. man

  4. vi


Correct Option: A

" ls >| output.log " will overwrite the ouput.log file if present

  1. True

  2. False


Correct Option: B

How to list the directory and files structure up to a depth of one directory

  1. ls -ltr

  2. ls -R

  3. ls *

  4. ls -L2


Correct Option: C

Which function is used to show a Yes/No message box

  1. messagebox

  2. alert

  3. confirm

  4. input


Correct Option: C

Javasript is case sensitive

  1. True

  2. False


Correct Option: B

Is Javascript related to java

  1. True

  2. False


Correct Option: B

Is Ajax a programming platform

  1. True

  2. False


Correct Option: B

Which DOM property of a tag changes its html content

  1. html

  2. innerHTML

  3. text

  4. None of the above


Correct Option: B

Originally code-named Monad, what is Microsoft's latest extensible command-line shell and scripting language?

  1. PowerShell

  2. Windows Management Instrumentation

  3. Microsoft DOS

  4. Bash


Correct Option: A

AI Explanation

To answer this question, you need to understand the concept of Microsoft's latest extensible command-line shell and scripting language.

Option A) PowerShell - This option is correct. Originally code-named Monad, PowerShell is Microsoft's latest extensible command-line shell and scripting language. It is designed to automate and streamline administrative tasks and provide a more powerful and flexible command-line environment for Windows.

Option B) Windows Management Instrumentation - This option is incorrect. Windows Management Instrumentation (WMI) is a framework for management and monitoring of resources in a Windows environment. It is not a command-line shell or scripting language.

Option C) Microsoft DOS - This option is incorrect. Microsoft DOS is an earlier command-line operating system developed by Microsoft. It is not the latest extensible command-line shell and scripting language.

Option D) Bash - This option is incorrect. Bash is a command-line shell and scripting language commonly used in Unix-based operating systems, such as Linux. It is not Microsoft's latest extensible command-line shell and scripting language.

The correct answer is A) PowerShell. This option is correct because PowerShell is Microsoft's latest extensible command-line shell and scripting language.

What X.500- and LDAP-based technology did Microsoft introduce into its domain structure with the release of Windows Server 2000?

  1. Group Policy

  2. Active Directory

  3. Open Directory

  4. eDirectory


Correct Option: B
Explanation:

To solve this question, the user needs to have knowledge about the network directory services, and specifically, the Microsoft technologies used for directory services.

The correct answer is B. Active Directory.

Explanation for each option:

A. Group Policy: While Group Policy is a feature in Windows Server 2000, it is not a directory service technology.

B. Active Directory: Active Directory is an X.500- and LDAP-based technology introduced by Microsoft into its domain structure with the release of Windows Server 2000. It is used to store information about network resources such as computers, users, and groups.

C. Open Directory: Open Directory is a directory service technology developed by Apple for use in macOS and other Apple operating systems. It is not related to Microsoft technologies.

D. eDirectory: eDirectory is a directory service developed by Novell. While it is an X.500- and LDAP-based technology like Active Directory, it is not related to Microsoft technologies.

Therefore, the answer is: B. Active Directory.

  1. Iris Associates

  2. Data General Corp.

  3. Groove Networks

  4. Lotus Development


Correct Option: C

The Windows OS architecture is highly modular and built on two layers. One layer is called User Mode. What is the other layer called?

  1. The Hardware Abstraction Layer (HAL)

  2. Hyper-V

  3. Kernel Mode

  4. Executive Services


Correct Option: C

Windows Server 2008 introduces a minimal installation option, known chiefly as "Windows without Windows." What is the official moniker of this option?

  1. Windows Server MiniMe

  2. Server Core

  3. Windows Preinstallation Environment (WinPE)

  4. Hyper-V


Correct Option: B

AI Explanation

To answer this question, you need to have knowledge about the different installation options available in Windows Server 2008.

Option A) Windows Server MiniMe - This option is incorrect because there is no such official moniker for the minimal installation option in Windows Server 2008.

Option B) Server Core - This option is correct. The official moniker of the minimal installation option in Windows Server 2008 is "Server Core." It is called "Windows without Windows" because it provides a minimalistic installation of the operating system without the full graphical user interface (GUI).

Option C) Windows Preinstallation Environment (WinPE) - This option is incorrect. WinPE is a lightweight version of Windows that is used for deployment and recovery purposes, but it is not the official moniker of the minimal installation option in Windows Server 2008.

Option D) Hyper-V - This option is incorrect. Hyper-V is a virtualization technology provided by Microsoft, but it is not the official moniker of the minimal installation option in Windows Server 2008.

The correct answer is B) Server Core. This option is correct because Server Core is the official moniker of the minimal installation option in Windows Server 2008.

Fill in the blanks: To create a VPN in Windows NT 4.0, you would use the ____ protocol, which has been made obsolete in modern Windows VPNs through the use of the _____ protocol and IPSec

  1. PPTP and L2TP

  2. PPoE and SMTP

  3. SMTP and PPoE

  4. L2TP and PPTP


Correct Option: A

AI Explanation

To create a VPN in Windows NT 4.0, you would use the PPTP (Point-to-Point Tunneling Protocol) protocol, which has been made obsolete in modern Windows VPNs through the use of the L2TP (Layer 2 Tunneling Protocol) protocol and IPSec (Internet Protocol Security).

Option A) PPTP and L2TP - This option is correct. Windows NT 4.0 used PPTP as the VPN protocol, but modern Windows VPNs use L2TP and IPSec for enhanced security. Option B) PPoE and SMTP - PPoE (Point-to-Point over Ethernet) and SMTP (Simple Mail Transfer Protocol) are not VPN protocols. They are used for different purposes. Option C) SMTP and PPoE - Same as Option B, SMTP and PPoE are not VPN protocols. Option D) L2TP and PPTP - This option is incorrect. While L2TP is used in modern Windows VPNs, it is not the protocol used in Windows NT 4.0.

The correct answer is A) PPTP and L2TP. This option is correct because PPTP was the VPN protocol used in Windows NT 4.0, but it has been replaced by L2TP and IPSec in modern Windows VPNs.

- Hide questions