On Windows 10, provide a screenshot that displays the count of threads per process on the...
Given an operating system that supports a one-to-one relationship between user-level threads and kernel-level threads and allows one or more threads from a process to issue blocking system calls while other threads (within that process) continue to run. What must a kernel provide for an effective user-level thread implementation?
1. Three threads are created by a process with pid 10. How many threads of execution are there after the creation assuming nothing has time to terminate? 2. Where are the PCBs for processes stored? (i) In an individual process’s memory in user-space. (ii) In a kernel data structure. (iii) Managed by some user-space OS service.
python format: write a program that displays, 10 numbers per line, all the numbers from 100 to 200 that are divisible by 5 or 6, but not both. The numbers are separated by exactly one space My Code: count = 0 for i in range (100, 201): if (i %6==0 and i %5!=0) or (i%5==0 and i%6!=0): print(str(i), "") count = count + 1 if count == 10: string = str(i) + str("") print(string)...
C# WINDOWS FORMS APPLICATION (not CONSOLE APPLICATION ) (Please screenshot window form of this program and write code on computer. Thank you very much !) For this week's assignment , create and complete a Windows application for the following question. Airline Reservation System: An airline has just bought a computer for its new reservation system. Develop a new system to assign seats on the new airplane( capacity: 10 seats) Display the following alternatives: "Please type 1 for first class, and...
Memory Management Explain how kernel level threads in the same process are able to have shared memory. Be specific in terms of process layout and memory map. Give a possible approach for a user-level threads package to support memory needed for multiple threads without OS support. Include what parts of memory are unique per thread and what parts are shared by all threads.
17. Suppose there is a process with three threads that use the same amount of time to execute. Thread 1 spends 50% of its time waiting on I/O. Thread 2 spends 10% of its time waiting for information from Thread 1. Thread 3 spends 10% of it's time waiting for information from thread 2. How much of a speedup will there be if the threads are implemented as kernel-level threads on 2 processors as apposed to user-level threads? a. A...
Consider the following two threads of a process, to be run concurrently in a shared memory (all variables are shared between the two threads): Assume the following: 1. a single-core system 2. load and store are atomic (i.e. they start and finish without interruption) 3. x is initialized to 0 before either thread starts, and 4. x must be loaded into a register before being incremented (and stored back to memory afterwards). The following questions consider the final value of...
(#3a){Screenshot.} Create a VIEW named ProductProfit that
displays the Category Description, Product Description, and the
Profit (SalePrice - Cost). Name the Category description column
‘Category’ and the Product description ‘Item’. The screenshot
should show the SQL code to create the view and a SELECT statement
displaying the records returned in descending order of the Profit
column.
(#3b){Screenshot.} Using the ProductProfit VIEW, display the
records that are in the TOP 10 Percent of Profit. The screenshot
should show the SELECT statement...
A machining process produces screws for which the population proportion of screws with defective threads is .10 (10%). A new laser-enhanced process has become available and the developer claims that the population proportion of screws with defective threads will be less than .10. To test the validity of this claim, 900 screws produced by the new process are selected at random and the sample proportion of defectives is computed. This result will be used to make a decision as to...
19, A website reported that 85% of personal computers run a Windows operating system, 10% ru n a Mac operating system, and 5% are running an operating system other than Windows or Mac. Suppose in a random sample of 300 personal computers it was found that 273 cf them are running Windows, 21 are using a Mac operating system, and 6 are running something other than Windows or Mac. Do the sample data provide evidence that the website's reported percentages...