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
Yuliya22 [10]
3 years ago
8

Lungi’s risk manager has advised him never to have more than 30 blankets in stock. Q.2.1 Write the pseudocode for two modules wh

ich could be incorporated into the application planned for Lungi in Question 1. The first module must: a. Allow Lungi to enter the description and size of the blankets. b. Store the details entered in arrays. c. Provide Lungi with the option to view the list of blankets captured. If Lungi wishes to view the list of blankets, the contents of the arrays should be passed to another module. The second module should: a. Receive the arrays as arguments. b. Write the contents of the arrays to a text file that Lungi can print.
Computers and Technology
1 answer:
USPshnik [31]3 years ago
6 0

Using the knowledge of pseudocodes it is possible to organize the stock of a store with the correct amount of blankets.

<h3>Writing the code in pseudocode we have:</h3>

<em>int blanket_info(30)</em>

<em>int blanket_disc,size_blanket,i,j;</em>

<em>for (i=0;i<n;i++){</em>

<em>insert the discription of every blanket (blanket_disc);</em>

<em>}</em>

<em>for(j=0;j<n;j++){</em>

<em>insert the size of blanket (size_blanket);</em>

<em>}</em>

<em>return arr [ ][ ];</em>

<em>int print_list()</em>

<em>end;,</em>

See more about pseudocode at brainly.com/question/13208346

#SPJ1

You might be interested in
A TCP segment consisting of 1500 bits of data and 160 bits of header is sent to the IP layer, which appends another 160 bits of
Tatiana [17]

Answer:  2140 bits.

Explanation:

In order to traverse the first network, the Data Link Layer builds a frame, which adds a 24-bit header to the IP datagram, which has 1820 bits (1500 bits of TCP data + 160 bits of TCP Header + 160 bits of IP Header).

When the frame arrives to the router that interconnects the two networks, the network layer is informed that the MTU for the destination network, is 800 bits only.

So, as the maximum size for a frame in the destination network must be 800 bits (including the 24-bit header), the IP protocol must fragment the original 1820-bit datagram, in a way that any frame have at a maximum 800 bits.

So the IP datagram is fragmented in 3 datagrams, two of them with 760 bits each (600 from the TCP segment + 160 bits from the IP Header), and a last one, with 620 bits (460 bits from the TCP segment + 160 bits from the IP Header).

All the datagrams are completed adding the 24-bit header to build frames that traverse the destination network until they reach to the final destination.

After stripping the 24-bit header, the frames (that became datagrams), arrive to the network layer protocol, divided in 3 fragments, one of 620 bits and two of 760 bits, with a total of  2140 bits, which, once reassembled, will become the original 1500 bits + 160 bits header of the TCP segment, after stripping the IP headers.

6 0
3 years ago
You are looking for a computer to provide a central location for online game play. What kind of computer do you need
katovenus [111]

Answer:

A server

Explanation:

It provides a centralized access point from where all the gaming computers can communicate and have their activities synchronized in real time.

7 0
2 years ago
I want to know why almost every single "expert answer verified" thing I come across is wrong. If it's wrong, why the h is it exp
Studentka2010 [4]

Answer:

Because people just give out the verified things to the first person to answer their question

Explanation:

3 0
3 years ago
Read 2 more answers
How to add links in HTML? ​
saveliy_v [14]

Answer:

<a href="url">link text</a>

6 0
2 years ago
Start
Crank

Answer:

N=5  key task decision start and end

Explanation:

8 0
3 years ago
Other questions:
  • The ability to anticipate and determine upcoming driving hazards and conditions are adversely affected by stress.
    10·1 answer
  • An interface is a class that contains only the method headings and each method heading is terminated with a semicolon. True Fals
    7·1 answer
  • A measuring cylinder is used to measure the volume of an irregular<br>solid object.​
    5·1 answer
  • Which is true about POP3 and IMAP for incoming email?
    14·1 answer
  • What is the purpose of reading in typography
    10·1 answer
  • Hubs connect network hosts in which configuration?
    7·1 answer
  • Number the steps to describe how Tristan can complete
    6·2 answers
  • Enter the word that belongs in the blank:
    13·1 answer
  • What maintains data about various types of objects, events, people, and places?
    10·1 answer
  • How can blockchain be used to support sustainable business practices?
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!