Question

In: Computer Science

QUESTION 1 User can interact with a PC using a command-line interface by issuing commands to...

QUESTION 1

  1. User can interact with a PC using a command-line interface by issuing commands to the program in the form of successive lines of text.

    True

    False

1 points   

QUESTION 2

  1. A machine code (object code) is generated by an executor for process.

    True

    False

1 points   

QUESTION 3

  1. In case of all the resources are being used, the new process with a low priority might not get its resource forever.

    True

    False

1 points   

QUESTION 4

  1. A computer can understand source code and directly executes it.

    True

    False

1 points   

QUESTION 5

  1. Solaris always comes with both CLI and GUI.

    True

    False

1 points   

QUESTION 6

  1. In most cases, API is used for system calls.

    True

    False

1 points   

QUESTION 7

  1. In the parameter passing, LPDWORD indicates the size of the data to be read.

    True

    False

1 points   

QUESTION 8

  1. Layered structure is well protected but not efficient.

    True

    False

1 points   

QUESTION 9

  1. A program trying to create a file with a certain name, what will the program do if there is a file with the same name already exist in the directory.

    Abort and ask the user to input a new title.

    Delete the existing file and create a new file

    Move the existing file into another directory

    None of them

1 points   

QUESTION 10

  1. In Unix, which three system calls are responsible for protecting the files.

    chmod() mmap() chown()

    fork() ioctl() chown()

    chmod() pipe() umask()

    None of them

1 points   

QUESTION 11

  1. Name the best OS structure and its inherited structures.

    Modular and inherits Monolithic and Layered structures.

    Monolithic and inherits layered and Modular structures.

    Microkernel and inherits Monolithic and UNIX structures.

    Modular and inherits Microkernel and Layered structures.

1 points   

QUESTION 12

  1. An operating system service that deal with internet and message passing between systems.

    LAN

    Communication

    Internet and file manager

    Network operating systems

1 points   

QUESTION 13

  1. Operating system service, which ensures that the data have not been corrupted in transit.

    Communication

    Buffer

    Trap

    Error-detection

1 points   

QUESTION 14

  1. A guest OS can be hosted by an OS using _____.

    Virtual Machines

    Virtual Memory

    Virtual Reality

    Virtual Codes

1 points   

QUESTION 15

  1. A structure where its kernel can add or remove functions.

    Modular

    Microkernel

    Layered

    Monolithic

1 points   

QUESTION 16

  1. The top layer (layer N) in the layered OS structure.

    Memory

    Kernel

    Hardware

    User interface

1 points   

QUESTION 17

  1. _________ makes sure not to happen a scenario that processes keep waiting for a certain resource but never get it.

Solutions

Expert Solution

Question No 1:
True:

Yes we can use the command line interface to issue a command to the program to execute the insturctions.
Question No 2:
True:

Usually object code generated by an executor when the instruction is passed.
Question No 3:
False:

A process with high priority not gets resources forever
Question No 4
True:

At the backend components like ALU and control unit understand the instruction and convert into the object code which computer understands.
Question No 5:
False:
Solaris only come with CLI later you can install its GUI
Question No 6
True:

Through API (application program interface) we get system calls from the operating system
Question No 7
True:

LPDWORD tells the size of the data the maximum data stored is 4,294,967,295.
Question No 8:
True:

Layered structure is very secure but is not very efficient
Question No 9:
Abort and ask the user to input a new title:
The program should abort and ask user to re-enter the new title of the file.
Question No 10:
chmod() mmap() chown():
These three commands are used to protect the system calls

IF YOU HAVE ANY QUERY PLEASE COMMENT DOWN BELOW

PLEASE GIVE A THUMBS UP


Related Solutions

The operating system offers a graphical vs command line user interface to interact with an electronic...
The operating system offers a graphical vs command line user interface to interact with an electronic device. Compare the graphical user interface and the command line interface in terms of speed, remote access, resource utilization, multitasking, and control.
The operating system offers a graphical vs command line user interface to interact with an electronic...
The operating system offers a graphical vs command line user interface to interact with an electronic device. Compare the graphical user interface and the command line interface in terms of speed, remote access, resource utilization, multitasking, and control. [5 Marks]
Research Managing Files via the Command Line Interface (CLI) commands, flags, and options that allow you...
Research Managing Files via the Command Line Interface (CLI) commands, flags, and options that allow you to: copy, delete, rename, and move files on Windows and Linux.
1. What type of commands can you issue through the command line process? Start-> IBM DB2COPY1...
1. What type of commands can you issue through the command line process? Start-> IBM DB2COPY1 (Default) -> DB2 Command Line Processor
Using OpenSSL from the command line interface. Please solve all the following questions. I also need...
Using OpenSSL from the command line interface. Please solve all the following questions. I also need the screenshots for every part. a. Create a text file with some input and encrypt it using i. AES-128 CBC ii. AES-256 CTR iii. DES b. Create a 2048 bit RSA public and private key
Use Workbench/Command Line to create the commands that will run the following queries/problem scenarios. Use MySQL...
Use Workbench/Command Line to create the commands that will run the following queries/problem scenarios. Use MySQL and the Colonial Adventure Tours database to complete the following exercises. 1. List the last name of each guide that does not live in Massachusetts (MA). 2. List the trip name of each trip that has the type Biking. 3. List the trip name of each trip that has the season Summer. 4. List the trip name of each trip that has the type...
create a Visual Basic project with the following features: 1. The user interface can display the...
create a Visual Basic project with the following features: 1. The user interface can display the following information, one textbox for one item: 1a. Author, in the form of Lastname, Firstname 1b. Title 1c. Source -- where the paper is published 1d. Abstract 1e. Publication year (This information is in the 1c. Source, but display the publication year separately here) 2. There is a command button "Import". It would allow the user to select the eric.txt as the input file...
Write a decision-making program with command-line interface to implement a housing-score calculator (inspired by the 2020...
Write a decision-making program with command-line interface to implement a housing-score calculator (inspired by the 2020 Nifty Decision Makers by Evan Peck) Your program will consist of two functions: main() Asks the user 5 questions and stores the answers: year (int), age (int), probation (string), full-time (int), gpa (float) (see sample run below) Calls computeScore(answers), where answers is a list containing the variables in which the answers are stored in the order in which they are received (python lists may...
linux Using the grep or egrep commands, what would be the full command (including regular expression)...
linux Using the grep or egrep commands, what would be the full command (including regular expression) to view only the lines in the file /boot/grub/grub.cfg that DO NOT begin with a hashtag (the # sign). In other words, what would be the command to print all the lines in this file that do not begin with this character.
Create a python program that will: prompt a user for a command Command get_data Level 1:...
Create a python program that will: prompt a user for a command Command get_data Level 1: Take one of the commands my_max my_min my_range my_sum mean median mode fib factorize prime Requirements: Your commands should be case-insensitive You should use python lists to store data You should NOT use built-in python math functions, or math libraries to compute these values Tips: Write one function that will convert a string with comma-separated numbers into a python list with the numbers. You...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT