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
iogann1982 [59]
3 years ago
5

When a called function completes its task, it normally:_________a. logs its results b. terminates program execution normally c.

aborts program execution d. returns to the calling function
Computers and Technology
2 answers:
nlexa [21]3 years ago
8 0

Answer:

a

Explanation:

gavmur [86]3 years ago
6 0

Answer:

sorry this is tought

Explanation:

no idea

You might be interested in
The producer thread will alternate between sleeping for a random period of time and inserting a random integer into the buffer.
Llana [10]

Answer:

// Producer Thread

void *producer(void *param) {

buffer_item item;

while (true) {

item = rand() % 100;

sem_wait(&empty);

pthread_mutex_lock(&mutex);

if (insert_item(item))

printf("Can't insert item\n");

else

printf("Producer %d: produced %d\n", *((int*)param), item);

pthread_mutex_unlock(&mutex);

sem_post(&full);

}

}

// Consumer Thread

void *consumer(void *param) {

while (true) {

buffer_item item = NULL;

if (in > 0)

item = buffer[in - 1];

sem_wait(&full);

pthread_mutex_lock(&mutex);

if (remove_item(&item))

printf("Can't remove item\n");

else

printf("Consumer %d: consumed %d\n", *((int*)param), item);

pthread_mutex_unlock(&mutex);

sem_post(&empty);

}

}

Explanation:

An outline of the producer and consumer threads appears as shown above.

3 0
3 years ago
Which of the following is a default letter assigned for the primary hard drive
d1i1m1o1n [39]

C

.............

When hard disk drives became standard in most PCs in the later 1980s, since the first two letters were already commonly used for these floppy drives, they logically labeled the third storage device “C”, even though it now tended to be the main storage medium for the computer, including usually containing the operating system.

6 0
4 years ago
Read 2 more answers
Please choose odd one out please tell fast​
nikdorinn [45]

Answer: arrow key

Explanation:

3 0
3 years ago
Which guidelines should you follow when adding tables or spreadsheets to your presentations?
zhenek [66]
<span>What guidelines should you follow when adding tables or spreadsheets to your presentations?

a. Limit the number of columns to four.
b. Make them large enough so they can be seen by your audience.
c. Use a small font size (10-point or less) so all of your information fits on the slide.
d. Use at least eight rows.
e. Use column and row headers that are appropriate and descriptive.</span>

A, B, E are the answers. I know this is a different script but should help you if need be.
5 0
4 years ago
Read 2 more answers
What would be considered a benefit of using simulation in the modern industry field? Simulation increases labor and manufacturin
Sholpan [36]
Simulation predicts possible problems before they occur
5 0
2 years ago
Other questions:
  • To indent the first line of a paragraph which key should you use
    13·2 answers
  • You are responsible for tech support at your company. You have been instructed to make certain that all desktops support file an
    15·1 answer
  • _____ represents an entity in the real world that can be distinctly identified.
    11·1 answer
  • Tell me dynamo is easily charge 12 v battery if dc motor is 100w in electric cycle?
    5·1 answer
  • Choose all items that represent essential items to bring to an interview.
    9·2 answers
  • One concern some users have about storing data or accessing applications in the cloud is .
    10·1 answer
  • How many types of sharing of Google Forms are possible?
    15·1 answer
  • . . ........Sad + sad= very sad
    7·2 answers
  • What should the car be programmed to do if it encounters an unavoidable accident? (about autonomous vehicles)(help me :c)
    8·1 answer
  • Object Material: metal or non-metal? Prediction: Will the light bulb light up? Morm Observation: Does the light bulb light up? n
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!