0% found this document useful (0 votes)
4 views14 pages

Linux Shell Programming Quiz - CO5

The document contains a series of questions and answers related to inter-process communication, sockets, and the Awk scripting language. It covers topics such as data management processes, methods of inter-process communication, and socket types. The correct answers to the questions are provided along with feedback for each response.

Uploaded by

DAH Gaming
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views14 pages

Linux Shell Programming Quiz - CO5

The document contains a series of questions and answers related to inter-process communication, sockets, and the Awk scripting language. It covers topics such as data management processes, methods of inter-process communication, and socket types. The correct answers to the questions are provided along with feedback for each response.

Uploaded by

DAH Gaming
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 14

What provides the processes to manage data shared?

* 0/2

Kernel

Operating System

Program

None

Correct answer

Kernel

Feedback

The correct answer is right because x, y, z

How the Inter Process Thread Communication achieved? * 2/2

Notify All ()

Notify ()

Wait ()

All Mentioned Above

Feedback

All Mentioned Above


Which method is easier in implementation of Inter Process *0/2
Communication?

Shared Memory

Message Passing

Variable Passing

a&b

Correct answer

Shared Memory

How the data flows in pipes? 0/2

Unidirection

Bidirection

Random

Can’t Say

Correct answer

Unidirection
FIFO is known as ________ 2/2

File

Named Pipe

Socket

Pipe

Feedback

Named Pipe

_____ are known as Automatic Buffering in Inter Process Communication? 0/2

Zero Capacity

Bounded Capacity

Unbounded Capacity

Bounded/ Unbounded Capacity

Correct answer

Bounded/ Unbounded Capacity


What are the various sockets? 2/2

Sequential Packet

Datagram

Stream & Raw

All Mentioned Above

Feedback

All Mentioned Above

Sockets provide ____? ···/2

Point-to-point

Two Way Communication

One Way Communication

a&b

No correct answers
Is he new messages are added to the end of a queue by using msgsnd() 2/2
commnd?

True

False

Feedback

True

Which command is used to retrieve messages from a queue? 0/2

msgsnd():

msgrcv()

msgget():

msgctl():

Correct answer

msgrcv()
The inter-related process communication is performed using 2/2

Pipes

Named Pipes

Shared Memory

a&b

Feedback

a&b

____________ Sets the user ID, group ID of the owner, permissions, etc. 2/2
pointed to by structure buf.

IPC_SET

IPC_RMID

SHM_INFO

None of the above

Feedback

IPC_SET
____________ Returns the information about the shared memory limits and 2/2
parameters in the structure pointed by buf

IPC_RMID

IPC_STAT

IPC_INFO

SHM_INFO

Feedback

IPC_INFO

Which type of socket delivery in a networked environment is guaranteed? 2/2

Datagram Sockets

Stream Sockets

Raw Sockets

Sequenced Packet Sockets

Feedback

Stream Sockets
Which type of socket delivery in a networked environment is not 2/2
guaranteed?

Stream Sockets

Raw Sockets

Datagram Sockets

Above all sockets

Feedback

Datagram Sockets

____________ Communicate with the remote endpoint once the server 0/2
establishes the communication and creates a new socket for the client.

read() and write()

bind()

accept()

connect()

Correct answer

read() and write()


State weather the Awk is a scripting language used for manipulating data 2/2
and generating reports

True

False

Feedback

True

_____________ command keeps a current count of the number of input ···/2


records

NF

NR

FS

RS

No correct answers
Which command stores the output field separator, which separates the ···/2
fields when Awk prints them?

OFS

ORS

NR

NS

No correct answers

Which command is used to store the current record separator character. 2/2

RS

OFS

NF

NR

Feedback

RS

This form was created inside Poornima University.

Forms

You might also like