Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Exam (elaborations)

CSCE 3600 Exam 2 Questions and Answers Fully Solved Latest Version

Rating
-
Sold
-
Pages
9
Grade
A+
Uploaded on
01-08-2025
Written in
2025/2026

CSCE 3600 Exam 2 Questions and Answers Fully Solved Latest Version The SELECT function allows the servers to deal with blocking calls by identifying sockets that are ready for use - AnswersTrue In a single processor system, all the threads execute in interleaved fashion(=though in no particular order) sharing the CPU - AnswersTrue System calls or library routines are called thread safe if they can be called from multiple threads simultaneously and always produce correct results - AnswersTrue Each process has its own ready queue - AnswersFalse Datagram sockets do not require the client to establish a connection with the server before sending messages to the server - AnswersFalse preemptive scheduling algorithms may results in starvation - AnswersTrue The degree of multi program is controller by the CPU scheduler - AnswersFalse When the PTHREAD_EXIT system call is issued by a thread, all threads associated with that process are terminated - AnswersFalse A child process created by the FORK system call inherits its parent's process id - AnswersFalse condition variable allows a thread to block itself until specified data reaches a redefined state - AnswersTrue A thread will block if the semaphore value is less than or equal to zero when a SEM_WAIT is issued - AnswersTrue As the time slice becomes shorter, the more the RR scheduler behaves like the FIFO scheduler - AnswersFalse The privilege mode must be changed to "kernel mode" when doing a system call - AnswersTrue One of the guarantees offered by the PIPE IPC system call is that__________ - AnswersAll writes up to 4K bytes to the pipe are atomic turnaround time refers to the amount of time___________ - AnswersNeeded to executes a particular process _______ refers to a situation in which a process is ready to execute, but is continuously denied access to a processor in deference to other processes - AnswersStarvation Consider the following code Int main() { If (fork() 0) Sleep(100); Return 0; } Execution of this code results in the creation of an______ - AnswersZombie process An optimal job scheduling scheme for minimizing queueing time is__________ - AnswersSJF Context Switching between processes is carried out by the______ - AnswersShort term scheduler Consider the following segment of code in a program Int fd[2]; Pipe(fd); Pip = fork(); // what statement here to read from pipe Int bytesRead = read(...); ... What operations regarding the pipe do we expect the child to do following the PID = FORK() statement? - AnswersClose(fd[1]); An I/O- bound process spends _______ - AnswersMore of its time seeking I/O operations than doing computational work

Show more Read less
Institution
CSCE 3600
Course
CSCE 3600

Content preview

CSCE 3600 Exam 2 Questions and Answers Fully Solved Latest Version 2025-2026

The SELECT function allows the servers to deal with blocking calls by identifying sockets that are ready
for use - AnswersTrue

In a single processor system, all the threads execute in interleaved fashion(=though in no particular
order) sharing the CPU - AnswersTrue

System calls or library routines are called thread safe if they can be called from multiple threads
simultaneously and always produce correct results - AnswersTrue

Each process has its own ready queue - AnswersFalse

Datagram sockets do not require the client to establish a connection with the server before sending
messages to the server - AnswersFalse

preemptive scheduling algorithms may results in starvation - AnswersTrue

The degree of multi program is controller by the CPU scheduler - AnswersFalse

When the PTHREAD_EXIT system call is issued by a thread, all threads associated with that process are
terminated - AnswersFalse

A child process created by the FORK system call inherits its parent's process id - AnswersFalse

condition variable allows a thread to block itself until specified data reaches a redefined state -
AnswersTrue

A thread will block if the semaphore value is less than or equal to zero when a SEM_WAIT is issued -
AnswersTrue

As the time slice becomes shorter, the more the RR scheduler behaves like the FIFO scheduler -
AnswersFalse

The privilege mode must be changed to "kernel mode" when doing a system call - AnswersTrue

One of the guarantees offered by the PIPE IPC system call is that__________ - AnswersAll writes up to
4K bytes to the pipe are atomic

turnaround time refers to the amount of time___________ - AnswersNeeded to executes a particular
process

_______ refers to a situation in which a process is ready to execute, but is continuously denied access to
a processor in deference to other processes - AnswersStarvation

Consider the following code

, Int main()

{

If (fork() > 0)

Sleep(100);

Return 0;

}



Execution of this code results in the creation of an______ - AnswersZombie process

An optimal job scheduling scheme for minimizing queueing time is__________ - AnswersSJF

Context Switching between processes is carried out by the______ - AnswersShort term scheduler

Consider the following segment of code in a program



Int fd[2];

Pipe(fd);

Pip = fork();

// what statement here to read from pipe

Int bytesRead = read(...);

...




What operations regarding the pipe do we expect the child to do following the PID = FORK() statement?
- AnswersClose(fd[1]);

An I/O- bound process spends _______ - AnswersMore of its time seeking I/O operations than doing
computational work

Which of the following are virtually shared by threads within a single process? In other words, which are
instantiated per process instead of per thread? - AnswersCode / program text

Written for

Institution
CSCE 3600
Course
CSCE 3600

Document information

Uploaded on
August 1, 2025
Number of pages
9
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$11.39
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
TutorJosh Chamberlain College Of Nursing
View profile
Follow You need to be logged in order to follow users or courses
Sold
463
Member since
1 year
Number of followers
16
Documents
32275
Last sold
5 days ago
Tutor Joshua

Here You will find all Documents and Package Deals Offered By Tutor Joshua.

3.4

74 reviews

5
26
4
16
3
14
2
1
1
17

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions