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
Degger [83]
3 years ago
8

Net has a class that can generate parallel threads without the programmer needing to be overly burdened with thread maintenance.

One method from this class that we examined in this course is:_________.
A. Thread.Invoke()
B. Cast.All
C. Parallel.For
D. Thread.Cast()
E. ThreadPool.Invoke()
Computers and Technology
1 answer:
zheka24 [161]3 years ago
8 0

Answer:

The correct answer is option C "Parallel.For"

Explanation:

Parallel.For for the most part work best on external loop as opposed to inward circles. This is on the grounds that with the previous, you're offering bigger lumps of work to parallelize, weakening the administration overhead. Parallelizing both inward and external loops is typically superfluous. In the accompanying model, we'd commonly need in excess of 100 cores to profit by the inward parallelization.

Designers use the Parallel class for a situation alluded to as information parallelism. This is where a similar activity is acted in equal on various things. The most widely recognized illustration of this is in an array which should be followed up on. Using the Parallel class, you can use this procedure/operation on any sort of iteration, in Parallel.

You might be interested in
In javascript, what can I put after player. to make my character go in the center of the screen? like example:
melamori03 [73]

Answer:

0,0

Explanation:

you could try to use the x-axis and y-axis to put your character in a certain place. I'm not totally sure if that is how javascript works, but for the x-axis and y-axis, the center is always(0,0).

6 0
3 years ago
Project 1-1: Set Up a Small Network
Wewaii [24]

Answer:

a. peer-to-peer

b star topology

Explanation:

3 0
3 years ago
Write a program that asks for the number of calories and fat grams in a food. The program should display the percentage of calor
Zigmanuir [339]

Answer:

 The solution code is written in Python 3:

  1. calories = int(input("Enter number of calories: "))
  2. fats = int(input("Enter number of fat in grams: "))
  3. if(calories > 0 and fats > 0):
  4.    cf = fats * 9
  5.    if(cf < calories):
  6.        percent = cf / calories  
  7.        if(percent < 0.3):
  8.            print("Food is low in fat")
  9.    else:
  10.        print("Error input. Calories from fat cannot more than total calories")
  11. else:
  12.    print("Error input. Calories and fats must be more than 0")

Explanation:

Firstly, use input function to ask user to enter total number of calories and fat in grams (Line 1-2)

Next we do the first input validation to check if the calories and fats are more than 0 (Line 4). If so apply formula to calculate calories from fats. If not, print error input message (Line 5, 13)

Then we proceed to next input validation to check if calories from fact more than total calories. If so, proceed to calculate percentage of calories from fats and if it is lower than 30%, display the appropriate message (Line 6 - 9). If fail the second input validation, the program will display another error input message again (Line 11)

7 0
3 years ago
What can you say about 3s in 43,335?
Greeley [361]
That 43,335 is divisible by 3 giving a whole number as result
6 0
4 years ago
Read 2 more answers
The second phase of the writing process is when you draft your message. Choose the appropriate step in the drafting phase to com
Kamila [148]

Answer: a. Proofreading

Explanation:

Proofreading is an important part in the publication process. In this the carefully all the contents of the text are thoroughly read and errors are rectified and corrected like formatting issues, spelling mistakes, grammatical errors, inconsistencies, punctuation mistakes, and other mistakes are checked. Without proofreading no writing should be published.

According to the given situation, proofreading is the part of the revision process of the writing. This is done when the writing part is completed and the content is sent for electronic printing before electronic printing thorough revision of the content is required.

6 0
3 years ago
Read 2 more answers
Other questions:
  • Para saan po yung points dito?
    15·1 answer
  • Mark had been a resident of Larchmont for 17 years, and local folks thought of him as a solid citizen. "In this sentence, the wo
    7·2 answers
  • 15 POINTS COMPUTER LITERACY <br> The range A2:A4 has how many cells<br> -2<br> -4<br> -6<br> -8
    14·1 answer
  • Object Linking and Embedding (OLE) data integration allows you to
    8·1 answer
  • Choose all items that represent HTML characteristics.
    5·2 answers
  • A runtime error is usually the result of:
    9·1 answer
  • Which type of computer graphic can be blown up to a much larger size without getting distorted or losing quality?
    5·1 answer
  • Will technology be the destruction or salvation of human-kind
    13·2 answers
  • What animal is perry the platypus ​
    6·2 answers
  • Leroy wants to keep the bride and groom in a picture, but remove the rest of the family. Which photo-editing tool should Leroy u
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!