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
labwork [276]
3 years ago
5

Assume that you want two C# or C++ programs to share some data. You can write the first program so that it writes it's output to

a file, and then write the second program so that it reads the data from this file. However this process can be difficult and time consuming, especially if you don't know how to program in C# or C++. What feature of the UNIX/Linux shell can you use to simplify the process of sharing data between programs?
Computers and Technology
1 answer:
Dominik [7]3 years ago
7 0

Certain ways exist to simplify the process of data sharing between programs.some of these ways are;

A) When there are two programs that are not running at the same time,then the pipes or the sockets won't be able to work as their buffers would not be able to hold large files because they are small.

Looking at this scenerio,shared memory can be used.

The Sysv IPC shared memory API, POSIX shared the memory API or rather files on a tmpfs system of files can actually be used for shared memory operations.

B) Another possible solution can be named file. Instead of using an unnamed and shell pipeline,a name pipeline them uses the file system.

However,it can be treated with the use of mkfifo() or mknod() commands and then two separate programs or also processes can as well access the pipe by making use of the name of the pipe.

But one process(program) can actually open the pipe but as a reader for reading purposes and the other for writing purposes as a writer.

You might be interested in
Insert the missing code in the following code fragment. This fragment is intended to implement a method to set the value stored
N76 [4]

Answer:

A)

Explanation:

In this code example the missing piece of code would be...

public void setHourly(String isHourly)

This piece of code is creating a function called setHourly which takes in one String variable as it's parameter. Based on the rest of the code, the function takes that parameter variable and places it into an instance variable called Hourly which can be used when the function is called.

5 0
3 years ago
Given the three side lengths, how can you tell if a triangle<br>is a right triangle?​
Tatiana [17]
<h3>Sample Response from Edge 2020:</h3>

Square all side lengths. If the longest side length squared is equal to the sum of the squares of the other two side lengths, then it is a right triangle.

8 0
3 years ago
Which is the best way to determine the bare minimum amount ofhard drive space a system needed?
Zolol [24]

Answer: D)add up the storage requirements for the operating system and all of the software applications currently installed.

Explanation:Hard disk drive (HDD) is the secondary hardware device for the storage of the data permanently. It can be used for storing data along with the videos, documents, pictures etc.

Hard drive can store data  in a large amount as compared to any other drive and having varying capacity of data storage according to the data.The minimum space of the  hard drive to be embedded in a system is calculated on the basis of the storage of files of operating system,software programs and other data.

So, option (D) is the correct option.

5 0
3 years ago
Susan is working with an IT company. She has been asked to make sure that all of the functions in the company are in place and p
MrMuchimi

According to Henri Fayol, it can be said that there are five functions of management: planning, organizing, staffing, directing, and controlling. From the description in the question, it seems that Susan should employ the controlling management function – which is defined as ensuring that all the ongoing process are proceeding as planned.

It is clear that this definition is precisely what Susan needs to do to fulfill the request that she was given.

7 0
3 years ago
Components of a video controller include display generator circuitry, software stored in rom, a video processor, and ____.
Basile [38]
<span>A display monitor. These are more commonly called video card or graphics card now. It's designed to put images on the screen by translating binary into graphics we see on the screen. When they were called video controller, it was integrated into the motherboard itself.</span>
8 0
3 years ago
Other questions:
  • Create a web page that uses JavaScript to print a payroll report for a company that has a few employees, all earning the same ho
    12·1 answer
  • Rachel is on her way to an interview for the position of a project manager. She is trying to prepare for this interview by analy
    6·1 answer
  • You can create user accounts on the linux system by using the ____ command.
    9·1 answer
  • When creating a mail merge, you must insert all of the items from your data source into your merged document. Truth or false ?
    6·2 answers
  • In a typical e-mail address the host is
    14·1 answer
  • The arrange all function is used to organize multiple open workbooks at once. Select the correct navigational path to use the ar
    13·2 answers
  • You must regularly do this on your computer to prevent a virus from infecting it​
    9·2 answers
  • Explain what an IM is, and what is the technology shown in the accompanying figure
    7·2 answers
  • A unique aspect of Java that allows code compiled on one machine to be executed on a machine of a different hardware platform is
    8·1 answer
  • Overview In this assignment, you will gain more practice with designing a program. Specifically, you will create pseudocode for
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!