Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The original Unix operating system was created at Question 1 options: 1) MIT 2) AT&T Bell Labs 3) University of California, Berkeley 4) Google Linux

The original Unix operating system was created at

Question 1 options:

1)

MIT

2)

AT&T Bell Labs

3)

University of California, Berkeley

4)

Google

Linux operating system source code is mostly written in

Question 2 options:

1)

C

2)

Python

3)

Java

4)

Machine code

A C program begins execution in the ___ function

Question 3 options:

1)

init

2)

start

3)

begin

4)

main

Library functions in Linux systems

Question 4 options:

1)

are part of the virtual file system

2)

act as an interface between user programs and the operating system to enable system calls

3)

are part of interrupt handling routines

4)

are part of process scheduling code within the operating system

When one function in a C program calls another function,

Question 5 options:

1)

the process stack grows in size

2)

the process stack reduces in size

3)

the process stack size remains unchanged

4)

the text segment of the process is updated

In Linux, when a process P1 issues the fork system call,

Question 6 options:

1)

a child process of P1 is created and the child and the parent share nothing

2)

a child process of P1 is created and the child is almost a clone of the parent

3)

a child process of P1 is created and the child is the image of some utility program the user wants to execute

4)

the process terminates immediately

Question 7: If a user enters the command

sort

at the bash shell prompt,

Question 7 options:

1)

the shell replaces itself with the code of the sort program

2)

the shell fetches the code of the sort program from disk and runs it

3)

the shell forks a child process and the child process replaces itself with the code of the sort program

4)

the shell terminates and the sort program takes over as the new shell

Which of the following commands redirects the input of an imaginary utility named newutil in Linux?

Question 8 options:

1)

newutil

2)

newutil >myfile

3)

newutil

4)

newutil 2>myfile

In Linux, which of the following commands runs a process p1 in the background?

Question 9 options:

1)

p1 &

2)

p1

3)

p1 !

4)

None of the above

The first three entries (0, 1, and 2) of the file descriptor table for any Linux process point to

Question 10 options:

1)

standard error, standard output, and standard input, respectively

2)

standard input, standard output, and standard error, respectively

3)

standard error, standard input, and standard output, respectively

4)

standard output, standard error, and standard input, respectively

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Advances In Spatial And Temporal Databases 11th International Symposium Sstd 2009 Aalborg Denmark July 8 10 2009 Proceedings Lncs 5644

Authors: Nikos Mamoulis ,Thomas Seidl ,Kristian Torp ,Ira Assent

2009th Edition

3642029817, 978-3642029813

More Books

Students also viewed these Databases questions