logo

Crowdly

IN1011 Operating Systems (PRD2 A 2024/25)

Looking for IN1011 Operating Systems (PRD2 A 2024/25) test answers and solutions? Browse our comprehensive collection of verified answers for IN1011 Operating Systems (PRD2 A 2024/25) at moodle4.city.ac.uk.

Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!

You are told 219 (in base 10) is 432 in some other base. What base is 432 written in?

Hint: the quadratic equation a x squared plus b x plus c equals 0 has roots x equals fraction numerator negative b plus-or-minus square root of b squared minus 4 a c end root over denominator 2 a end fraction

View this question

A LINUX program uses POSIX-compliant API methods (i.e. pthread_create, pthread_join, etc.) to create and synchronise 6 threads. How many PCBs does the OS need, to manage these threads' executions? 

View this question
When the command echo $$ & is run in a Bash shell, the Bash process creates a child process that executes the echo program asynchronously (i.e. executes concurrently) with Bash.

Which of the following is the order in which UNIX API methods could be called to accomplish the above:

 

View this question

On a system with 10 processors (e.g. 10 CPUs) that supports Kernel-level threads, there are only 8 processes executing. Assume the 5-state process model, where 5 of these 8 processes make I/O requests. Before any of these processes terminate, what is the

1) maximum number of processes that can be in the ready state : ?

2) minimum number of processes that can be in the running state : ?

3) maximum number of processes that can be in the blocked state :

In your answers, ignore any processes that may be related to the OS.

View this question

Let x x be a 2-digit number in base x plus 1. What is x x plus 1 in base x plus 1?

 

View this question

Suppose 18-bit instructions are copied to a CPU's instruction register, and suppose that each instruction dedicates the first 6 bits for the "opcode", with the remaining bits for specifying a memory location. What is the total number of possible memory locations that could be referenced by these instructions?

View this question
If 73 subscript x plus 50 subscript x equals 103 subscript x then what is base x?

View this question
[In this question bold text indicates Unix commands]

A process is an executing program. The Unix commands man, echo and ls are programs.

When the compound command  man man ; man echo ; echo $$ ; ls -al   is successfully executed in a Unix shell, how many processes are created?
View this question

Want instant access to all verified answers on moodle4.city.ac.uk?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!