1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
levacccp [35]
3 years ago
7

Consider an environment in which there is a one-to-one mapping between user-level threads and kernel-level threads that allows o

ne or more threads within a process to issue blocking system calls while other threads continue to run. Explain why this model can make multithreaded programs run faster than their single-threaded counterparts on a uniprocessor computer.
Computers and Technology
1 answer:
DENIUS [597]3 years ago
5 0

Explanation:

According to the situation mentioned in the question about the model that can make the multi threaded execution faster as compared with the single threaded counterparts programs because multi-threaded programs have the capability to execute simultaneously in multiple processes.

In this type of system ,the blocking system cannot block the complete execution because kernel thread is present for every user thread .So, if one kernel thread gets blocked , others will still keep running .

Whereas, for uni-processor system , the program has to wait for the input -output operation completion for most of the time.Thus, multi-threaded program can execute faster than uni-processor.

 

You might be interested in
What is output if the user types 13 click all that apply ABCD
Klio2033 [76]

Answer:

AD?

Explanation:

3 0
3 years ago
CALL US ☏1≠855☼241☼6569 Aol mail not working on windows 10 ||123||**USA***
Nina [5.8K]

Answer:

umm

Explanation:

3 0
3 years ago
Assume that month is an int variable whose value is 1 or 2 or 3 or 5 ... or 11 or 12. Write an expression whose value is "jan" o
Tamiku [17]

Answer:

The code is given below

Explanation:

The correct syntax would be to place appropriate parenthesis.

(month==1?"jan":(month==2?"feb":(month==3?"mar":(month==4?"apr":(month==5?"may":(month==6?"jun":(month==7?"jul":(month==8?"aug":(month==9?"sep":(month==10?"oct":(month==11?"nov":"dec")))))))))));

Similarly, you can also use the following code:

String[] months = { "jan", "feb", "mar", "apr", "may", "jun", "jul", "aug", "sep", "oct", "nov", "dec" };

int month = 1;

String monthDescription = months[month - 1];

7 0
3 years ago
Which of the following is not a SQL*Loader file?
MatroZZZ [7]

Answer:

D. Good file

Explanation:

SQL loader is responsible for loading data from files into the database. It needs the mandatory control file, bad file, log file and an optional discard file.

A. Bad file

This file shares its name with the data file and has .bad extension.

The bad file holds all the records which are rejected ( bad data ). If a bad file is not available, it is automatically created. The data is either rejected by the SQL loader or by Oracle itself. The rejected records are not placed in the data file and hence, have to be placed in the bad file.

It is mandatory to have a bad file for every data file.

B. Control file

This is a mandatory file. This is a text file needed by the SQL loader to perform the loading process.

It contains the information related to location of data, specifies the criteria for selecting data for insertion, location for inserting data, and the like.

C. Discard file

The discard file is created if the need arises. This is not a mandatory file to be present.

The data which is discarded and gets filtered out, is placed in the discard file.

The data is not inserted in the table because it does not matches the criteria for the data to be inserted.

This criteria is mentioned in the control file.

The data is discarded only due to the mismatch and not because it is rejected or is bad data.

E. Log file

This file is mandatory to the execution. In absence of log file, the loader does not proceeds with execution and gets terminated.

In the beginning of the execution, a log file must be created by the loader. This file contains all the information regarding the data loading and also the errors encountered during the loading process.

6 0
2 years ago
Describe the two alternative for specifying structural constraints on relationships types?
AysviL [449]

Answer:

They are the cardinality ratio and participation constraints.

Explanation:

The Cardinality Ratio: This is for the binary relationship that specifies the max number of instances of relationships in which an entry can take part in. As an example, the Student Of binary relationship form, School: Student, the cardinality ratio of this is 1: N. and that means each of the schools can be mapped to any number of students, however, one student can be mapped to only one school. And various possible cardinality ratios for various types of binary relationships can be 1: N, N:1, 1:1, and M: N.

Participation constraint: This stipulates that an entity being be contingent upon another entity through relationship form. And it stipulates the least figure of instances of relationship which each of the entity can indulge in, and is often termed as least cardinality constraint. And we have participation types: partial and total.

4 0
3 years ago
Other questions:
  • Ryan is looking at investment opportunities as a cloud service provider. He wants to invest in a deployment-based cloud model th
    11·2 answers
  • In basic network scanning, ICMP Echo Requests (type 8) are sent to host computers from the attacker, who waits for which type of
    14·1 answer
  • Windows stores information from the Credential Manager application in secure folders called
    5·1 answer
  • 1. Name the program in which you can draw and colour pictures.​
    8·1 answer
  • 2. What is the name for an action performed by the VR Robot?
    7·2 answers
  • Which statement assigns the value 140 to the variable streetNumber in Python?
    13·1 answer
  • Name the technique that uses a scheme to sum the individual digits in a number and stores the unit's digit of that sum with the
    7·1 answer
  • What is Cloud computing? Explain briefly
    15·2 answers
  • Create a new data frame, first_south, by subsetting titanic to include instances where a passenger is in the first class cabin (
    8·1 answer
  • if the wide area network (wan) is supporting converged applications like voice over internet protocol (voip), which of the follo
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!