1. Operating system is a collection of a) Software routines b) Input-output devices c) Hardware components...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
1. Operating system is a collection of a) Software routines b) Input-output devices c) Hardware components d) All of these 2. FIFO scheduling is a) Fair-share scheduling b) Deadline scheduling c) Non-preemptive scheduling d) Preemptive scheduling 3. How many times the following C program prints yes? Int main() { fork(); fork(); printf("yes"); } a) Once b) Twice c) Four d) eight 4. If a thread invokes the exec system call; a) Only the exec executes as a separate process b) The program specified in the parameter to exec will replace the entire process c) The exec is invoked as it is invoked by a thread d) None of the mentioned 5. Which of the following is not shared by threads? a) program counter b) stack c) both program counter and stack d) none of the mentioned 6. A process can be: a) Single threaded b) Multiple threaded c) Both single and multithreaded d) None of the mentioned 1. Operating system is a collection of a) Software routines b) Input-output devices c) Hardware components d) All of these 2. FIFO scheduling is a) Fair-share scheduling b) Deadline scheduling c) Non-preemptive scheduling d) Preemptive scheduling 3. How many times the following C program prints yes? Int main() { fork(); fork(); printf("yes"); } a) Once b) Twice c) Four d) eight 4. If a thread invokes the exec system call; a) Only the exec executes as a separate process b) The program specified in the parameter to exec will replace the entire process c) The exec is invoked as it is invoked by a thread d) None of the mentioned 5. Which of the following is not shared by threads? a) program counter b) stack c) both program counter and stack d) none of the mentioned 6. A process can be: a) Single threaded b) Multiple threaded c) Both single and multithreaded d) None of the mentioned
Expert Answer:
Answer rating: 100% (QA)
The detailed answer for the above question is provided below Here are the answers to the multiplechoice questions youve got 1 Operating system is a co... View the full answer
Related Book For
Posted Date:
Students also viewed these operating system questions
-
Managing Scope Changes Case Study Scope changes on a project can occur regardless of how well the project is planned or executed. Scope changes can be the result of something that was omitted during...
-
In OS/2, what is commonly embodied in the concept of process in other operating systems is split into three separate types of entities: session, processes, and threads. A session is a collection of...
-
C) Use the appropriate Maxwell relation and determine whether the specific heat capacity at constant pressure (Cp) is a function of pressure at onstant temperature for: i) An ideal gas ii) [6 marks]...
-
When a compact disk with a 12.0-cm diameter is rotating at 34.6 rad/s, what are (a) The linear speed (b) The centripetal acceleration of a point on its outer rim? (c) Consider a point on the CD that...
-
The file named FormattingDDAnum.xlsx gives a bunch of text strings, such as DDA : D in cell C4, DDA1250045 in cell C17, and so on. A cell is properly formatted if the first three characters are DDA...
-
A centrifugal air compressor has a rotor inner diameter of \(D_{1}=2.0\) in., a rotor outer diameter of \(D_{2}=6.5\) in., a rotor depth of \(10 \mathrm{in}\)., and a rotor rotational speed of \(3600...
-
CommercialServices.com Corporation provides business-to-business services on the Internet. Data concerning the most recent year appear below: Sales . . . . . . . . . . . . . . . . . . . . . . . . . ....
-
Complete the ARM assembly language program below so that it implements the following C++ statements. const int size = 12; int x[size] (12, 1, -45, 1232, 44, -44, 27, -14, 3, 100, -12478, 4581}; int...
-
? ?? Journalize the closing entries. Include Posting References, using the account numbers in your spreadsheet. Refer to your answers from Chapter 4, Part 1 to complete this part. If an amount box...
-
One neighbor said to another, "Will you cut my grass while I am away in exchange for forty dollars, which I will give you when I return?" The other neighbor said, "Sure." An executed contract . An...
-
Why do companies/governments often borrow at different maturities? Why do people act in this way too? What do credit rating agencies do? How do they do it? How do they benefit both borrowers and...
-
The single-index model (SIM) is possibly the simplest asset pricing model that we use in finance to measure the tradeoff between the systematic risk and return of a stock. Mathematically the SIM...
-
Valuation simplifies considerably if we drop the notion of intrinsic price and try to establish only relative pricing valuations.' Explain why intrinsic valuation is so difficult?
-
Suppose Procter & Gamble sells 20 million bars of soap per week, but the demand is not constant and production management would like to get a better handle on how sales are distributed over the year....
-
How prudential regulations help in risk management of banks in Pakistan summarize the prudential regulations related to the risk?
-
Select any multinational company and cover Feasibility of international Trade areas/sections as follows: A. Based on Cost and Pricing Analysis: 3 Marks each 1. Explain in detail how company conducts...
-
Walker, Inc., is an all-equity firm. The cost of the company's equity is currently 11.4 percent and the risk-free.rate is 3.3 percent. The company is currently considering a project that will cost...
-
Let P be a polynomial of degree N. a) Show that P is of bounded variation on any closed interval [a, b]. b) Obtain an estimate for Var(P) on [a, b], using values of the derivative P'(x) at no more...
-
Suppose that V is open in Rn, that a V, and that F : V R is C1 on V. If F(a) = 0 Fxj(a) and u(j): = (x1 . . . . .. . . .-xj-1, xj+1,. . . . . . . . ., xn) for j = 1,2, ...,n, prove that there exist...
-
Graph generic open balls in R2 with respect to each of the "non-Euclidean" norms || ||1 and || ||. What shape are they?
-
Verify that \(\left|\Delta v_{\mathrm{u} x} ight| /\left|\Delta v_{\mathrm{s} x} ight| \approx 1 / 3\) for the two carts in Figure 4.9. Figure 4.9 Velocity-versus-time graph for a standard cart and a...
-
Is the inertia of the cart of unknown inertia in Figure 4.9 greater or less than that of the standard cart? Figure 4.9 Velocity-versus-time graph for a standard cart and a cart of unknown inertia...
-
What is the ratio of the \(x\) components of the change in velocity for the plastic and metal carts, \(\Delta v_{\mathrm{p} x} / \Delta v_{\mathrm{m} x}\), in Figure 4.10? Figure 4.10...
Study smarter with the SolutionInn App