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
3241004551 [841]
2 years ago
15

Consider the following program:

Engineering
1 answer:
EleoNora [17]2 years ago
5 0

Answer:

The solution of this question is given below in explanation section.

Explanation:

The correct answer to this question is A i.e. 112002 .

the correct code of this question is given below

#include  <stdio.h>

#include  <string.h>

#include  <sys/types.h>

//#include "csapp.h"

void end(void)

{

printf("2");

}

int main()

{

if (fork() == 0)

atexit(end);

if (fork() == 0)

printf("0");

else

printf("1");

exit(0);

}

/* $end forkprob2 */

when you run this program, fork function print different values.

However, it is noted that when you run the program repeatedly, it will show you different values. But the most possible value that this program will show is A.

The picture is attached of the running program to get the idea of code.

You might be interested in
The "Big Dig" was the nickname of the civil engineering project that redesigned the highway Infrastructure for the city of
zheka24 [161]
Geotechnical since it’s geologicaly based
4 0
3 years ago
The total floor area of a building, including below-grade space but excluding unenclosed areas, measured from the exterior of th
alex41 [277]

Answer:

Gross building area

Explanation:

The Gross building area refers to the entire area of a building covering all the floors. The measurement is expressed in square feet. The Gross building area also includes basements, penthouses, and mezzanines. It is calculated by estimating the exterior dimension of the building. Storage rooms, laundries, staircases are also a part of the gross building area.

6 0
3 years ago
Generally, final design results are rounded to or fixed to three digits because the given data cannot justify a greater display.
creativ13 [48]

Answer:

(a) 1.90 kpsi

(b) 0.40 kpsi

(c) 0.61 in.

(d) 0.009

(a) 8 MPa

(b) 1.30 cm⁴

(c) 2.04 cm⁴

(d) 62.2 MPa

Explanation:

(a) σ = M/Z, where M = 1770 lbf·in and Z = 0.943 in³.

1770/0.943 = 1876.988 lbf/in² = 1.90 kpsi

(b) σ = F/A, where F = 9440 lbf and A = 23.8 in².

9440 /23.8 = 396.639 lbf/in² = 0.4 kpsi

(c) y = Fl³/(3EI)

F = 270 lbf

l = 31.5 in.

E = 30 Mpsi

I = 0.154 in.⁴

y = 270×31.5³/(3×30×10⁶×0.154) = 0.61 in.

(d) θ = Tl/(GJ), where T = 9740 lbf·in, l = 9.85 in. G = 11.3 Mpsi, and d = 1.00 in.

J = π·d⁴/32 = π/32 in.⁴

∴ θ = 9740  × 9.85 /(11.3 × 10⁶× π/32) = 0.009

(a) σ = F/wt, where F = 1 kN, w = 25 mm, and t = 5 mm

∴ σ = 1000/(0.025 × 0.005) = 8 MPa

(b) I = bh³/12, where b = 10 mm and h = 25 mm.

10×25³/12 = 1.30 cm⁴

(c) I = π·d⁴/64 where d = 25.4 mm.

I = π × 25.4⁴/64 = 2.04 cm⁴

(d) τ = 16×T/(π×d³), where T = 25 N·m, and d = 12.7 mm.

16×25/(π×0.0127³) = 62.2 MPa.

8 0
2 years ago
Removing Shingles from a roof is called a
torisob [31]
D remodeling roofing
7 0
2 years ago
Any change in the system from one equilibrium state to another is called: A) Path B) Process C) Cycle D) None of the above
dexar [7]

Answer:

B) Process

Explanation:

In thermodynamics a process is a passage of a thermodynamic system from an initial to a final state of thermodynamic equilibrium.

A thermodynamic process path is the series of states through which a system passes from an initial to a final state.

Cycle is a process in which initial and final state are identical.

7 0
3 years ago
Other questions:
  • The greater the force applied to an object, the _____ the change in speed or direction of the object.
    6·1 answer
  • Explain the differences between planned and predictive maintenance.
    12·1 answer
  • What does this work for
    6·1 answer
  • Water (cp = 4180 J/kg·°C) enters the 2.5 cm internal diameter tube of a double-pipe counter-flow heat exchanger at 17°C at a rat
    7·1 answer
  • What is the difference between a Datum and a Datum Feature? a) A Datum and Datum Feature are synonymous. b) A Datum is theoretic
    14·1 answer
  • Prompt the user to enter five numbers, being five people's weights. Store the numbers in an array of doubles. Output the array's
    11·2 answers
  • Determine the number of flipflops required to build a binary counter that count from 0 to 2043
    14·1 answer
  • Who wanna rp?????????????????????????!
    15·1 answer
  • Drivers must be careful when driving close to cyclists and should keep at least ___ feet apart when passing cyclists on the road
    15·1 answer
  • Hole filling fasteners (for example, MS20470 rivets) should not be used in composite structures primarily because of the
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!