Create a text file content.txt and copy-paste following text (taken from Wikipedia) into it: A single-tasking system can only run one program at a time, while a multi-tasking operating system allows more than one program to be running in concurrency. This is achieved by time-sharing, dividing the available processor time between multiple processes that are each interrupted repeatedly in time slices by a taskscheduling subsystem of the operating system. Now, write a C program that opens content.txt file for reading and calls fork() function. The child process in the program will print first 150 characters from the file and the remaining characters will be printed by the parent. However, at the

Answers

Answer 1

Answer:

s0 you should figure that out because I don't know how to

Explanation:

good luck


Related Questions

7 steps in infographic design​

Answers

Answer:

Step 1: Choose your topic and research your audience. Before looking at your data, think about a topic and an audience with whom it can resonate.  

Step 2: Take a look at your data and consolidate it.  

Step 3: Craft the copy.  

Step 4: Design!  

Step 5: Review, review, review.

Step 6: Publish and promote.  

Conclusion.

Explanation:

Process infographics are a specific type of infographic, designed to visualize, summarize and simplify processes. They're perfect for visualizing marketing strategies, new employee onboarding, customer journey maps, product guides, recipes and more.

What is the major difference between the intranet and extranet?
Question 36 options:

Intranets hold more importance

The major difference between the two, however, is that an intranet is typically used internally.

Extranets improve internal communications

None of the above

Answers

Explanation:

The major difference between the two, however, is that an intranet is typically used internally.

The major difference between the intranet and extranet is that The major difference between the two, however, is that an intranet is typically used internally.

What is an Intranet?

Traditionally, an intranet is the concept of as a non-public and confined inner Web-primarily based totally web website online and/or community this is best handy to customers inside an organization.

An intranet is a non-public community contained inside an agency this is used to soundly proportion business enterprise facts and computing assets amongst employees. An intranet also can be used for operating in corporations and teleconferences. Intranets inspire communique inside an organization.

Read more about the communications:

https://brainly.com/question/26152499

#SPJ2

What can you use to make sure that you have no errors in Word Online?

Answers

Answer:

You can use grammarly. It woks amazingly!

Explanation:

Write a program that uses while loops to perform the following steps:

a. prompt the user to input two integers: firstNum and secondNum
b. Output all odd numbers between firstNum and secondNum.
c. Output the sum of all even numbers between firstNum and secondNum.
d. Output the number and their squares between 1 and 10
e. Output the sum of the square of the odd numbers between firstNum and secondNum.
f. Output all uppercase letters.

Answers

Answer:

Explanation:

//Include the required header files.

#include<iostream>

using namespace std;

//Define the main function.

int main()

{

//Define the variables.

int i, sum = 0, sqSum = 0, firstNum = 1, secondNum = 0;

char ch;

//Check for valid input.

while (!(firstNum < secondNum))

{

cout << "Enter starting number: ";

cin >> firstNum;

cout<<"Enter ending number(must be > startingNumber): ";

cin >> secondNum;

}

//Store first number in i

i = firstNum;

//Dispaly the number.

cout << "The odd numbers between " << firstNum

<< " and " << secondNum << " are:\n";

//Iterate between first and second number.

while (i <= secondNum)

{

//Check for even numbers.

//Store the sum

if (i % 2 == 0)

sum = sum + i;

//Print the odd numbers

//Evaluate the square of sum of odd number.

else

{

cout << i << " ";

sqSum = sqSum + i * i;

}

//Increase the value of i.

i++;

}

//Dispaly the sum of even numbers.

cout << "\n\nThe sum of the even numbers is:"

<< sum << endl << endl;

//Dispaly the sum of square of odd number.

cout << "The sum of squares the odd numbers is:"

<< sqSum << endl;

//Set i to 1.

i = 1;

//Dispaly the message.

cout << "\nNumber Square\n";

//Iterate and print number between 1 andd 10

//along with the sum.

while (i <= 10)

{

cout << " " << i << "\t " << i * i << endl;

i++;

}

//USe for visual studio.

system("pause");

//Return the value 0.

return 0;

}

Explanation:

The program code will perform the function listed below using loop.

Prompt the user to input two integers: firstNum and secondNum (firstNum must be less than secondNum). Output all odd numbers between firstNum and secondNum. Output the sum of all even numbers between firstNum and secondNum. Output the numbers and their squares between 1 and 10. Separate the numbers using any amount of spaces. Output the sum of the square of the odd numbers between firstNum and secondNum. Output all uppercase letters.

Hope this helps!

a technique for printing text images or pattern which originated in china as a method for printing on paper​

Answers

Answer:

Woodblock printing or block printing is a technique for printing text, images or patterns used widely throughout East Asia and originating in China in antiquity as a method of printing on textiles and later paper. As a method of printing on cloth, the earliest surviving examples from China date to before 220 AD.

What are some study habits that you practice? Check all that apply.
studying with friends
studying on a regular schedule
taking breaks while studying
getting good sleep
studying in a quiet area

Answers

Answer:

studying in quiet place

Taking breaks

Reading from notes

good sleep

eating healthy foods

group study

studying on regular schedule

revision

Some study habits that you should practice are studying with friends, studying on a regular schedule, taking breaks while studying, getting good sleep, and studying in a quiet area. All options are correct.

What are good studying habits?

Effective study techniques can be used by someone who wants to get good scores. Summarizing, limiting distractions, taking breaks, and memorization are some good study techniques.

Several good study practices include: When studying, summarize your notes, avoid studying when you're sleepy, memorize your notes, limit distractions, and take breaks.

Study habit is an action such as reading, taking notes, holding study groups which the students perform regularly and habitually in order to accomplish the task of learning.

Therefore, the correct options are a, b, c, d, and e.

To learn more about studying habits, refer to the link:

https://brainly.com/question/14735769

#SPJ5

Which family of controls included in the risk management Infrastructure is related to preventing the use of unauthorized codes?​

Answers

Answer:

Operational Security Control

Explanation:

The family of controls included in the risk management Infrastructure that is related to preventing the use of unauthorized codes is known as "Operational Security Control."

This is because Operational Security Control defines potency of controls which involves the access controls, including the use of unauthorized codes, authentication, and security measures made to networks, systems, and applications.

Answer:

system and information integrity

Explanation:

i got a 100 on the test

Suppose we want an error correcting code that will allow all single-bit errors to be corrected for memory words of length 15. 1. How many check bits are necessary?2. Assuming we are using the Hamming algorithm presented to design our error-correcting code, find the code word to represent the 12-bit information word: 100100011010

Answers

Answer:

15

Explanation:

01234567891011121314

what are layers in Photoshop ​

Answers

Answer:

Photoshop layers are like stacked pieces of stacked acetate. You can see through some parts because they are transparent. You can use layers to add on to your picture easily like adding extra images, text, or colors.

How many digits are in the binary number system? Explain why.

Answers

Answer:

Since there are only two digits in binary, there are only two possible outcomes of each partial multiplication: If the digit in B is 0, the partial product is also 0. If the digit in B is 1, the partial product is equal to A.

Explanation:

Answer:

two digits

Explanation:

Binary – The binary numbering system has a base of 2 (MOD-2) and uses only two digits a “0” and a “1” to represent a binary number value.

Select the statements that explain marking and categorizing messages. Check all that apply.


The Read/Unread option is a toggle button that marks a message read or unread.

You can mark a message as unread when you want to come back to it later.

You can mark a message as read by turning off the Categories option.

Categories are color coded and can be renamed and sorted.

Grouping different types of messages together can be done using Read/Unread.

answer: A B D

Answers

Answer:

The Read/Unread option is a toggle button that marks a message read or unread.

You can mark a message as unread when you want to come back to it later.

Categories are color coded and can be renamed and sorted.

Explanation:

Word processing package allow users to?

Answers

Explanation:

allows users to create, edit, and print documents. It enables you to write text, store it electronically, display it on a screen, modify it by entering commands and characters from the keyboard, and print it. 

raman will perform in pune tomorrow(simple past)​

Answers

Answer:

Raman performed in Pune yesterday

Answer:

Raman had performed in Pune

When adjusting the bounding box around text, hold the key to scale proportionately or the key to skew the object

Answers

Answer: ?

Explanation:

how can you best explain server side caching with web pages​

Answers

Answer:

Server side web caching typically involves utilizing a web proxy which retains web responses from the web servers it sits in front of, effectively reducing their load and latency.

Explanation:

45. Our goals are a reflection of our:
O values
O standards
O obstacles
O resources
beliefs
values and beliefs

Answers

Values hope it helps you

1. ERICUS Company sells Ghacem cement at 30.0 Ghana Cedis per bag. The company however gives discount of 15% for customers that buy 100 or more bags, and 0% for customers that buy less than 100 bags. Write a pseudocode.

Answers

See Comment for complete question

Answer:

Input Bags

Discount = 0%

If Bags >= 100 Then

Discount = 15%

End If

Print Discount

Stop

Explanation:

This gets the number of bags bought

Input Bags

This initializes the discount to 0%

Discount = 0%

If the bags of cement bought is 100 or above

If Bags >= 100 Then

This discount becomes 15%

Discount = 15%

This ends the if statment

End If

This prints the discount percentage

Print Discount

This ends the pseudocode

Stop

HELPOO ILL GIVE BRAINLIEST

Answers

Answer:

e

Explanation:

giv brainilest :D

20.

Meter is to Kilometer as Gigabyte is to

?

... PINGULAR

A. Byte

B. Terabyte

C. Kilobyte

O D. Pedabyte

E. Megabyte

Previous

Answers

Answer:

Megabyte

Explanation:

Megabytes come before Gigabytes like how Gigabytes come before Terrabytes

Under the Gramm-Leach-Bliley-Act (GLBA), banks must protect customer privacy. A given bank has just implemented its online banking solution that allows customers to access their accounts and perform transactions via their computers or personal digital assistant (PDA) devices. Online banking servers and their public Internet hosting would fall within which domains of security responsibility?

Answers

Answer:

System/Application Domain and LAN-to-WAN Domain.

Explanation:

The Gramm-Leach-Bliley-Act is also referred to as the Financial Services Modernization Act of 1999. It was enacted by the 106th Congress of the United States of America and it requires that financial institutions explain to their customers the information sharing policies and ensure that customer sensitive data (privacy) is safeguarded.

This, under the Gramm-Leach-Bliley-Act (GLBA), banks must protect customer privacy.

In this scenario, a given bank has just implemented its online banking solution that allows customers to access their accounts and perform transactions via their computers or personal digital assistant (PDA) devices.

Hence, online banking servers and their public Internet hosting would fall within the System/Application Domain and LAN-to-WAN Domain.

In an IT infrastructure, there are seven main domains and these are the: User Domain, Workstation Domain, LAN Domain, LAN-to-WAN Domain, Remote Access Domain, WAN Domain, and System/Application.

Which tab of the ribbon should you go to for removing gridlines on a worksheet?​

Answers

Answer:

just click on the option gridline

You should go to the Page Layout tab of the ribbon to remove gridlines on a worksheet.

This tab hold all the features and options that can enable you to arrange your documents as you want them to appear.

It can help you to do the following:

set marginstake control of the page orientationDisplay line breaksAdd sectionsSet paragraphs and also indent.

Read more on: https://brainly.com/question/11874395?referrer=searchResults

What is a boot sector

Answers

Explanation:

A boot sector is the sector of a persistent data storage device which contains machine code to be loaded into random-access memory and then executed by a computer system's built-in firmware. Usually, the very first sector of the hard disk is the boot sector, regardless of sector size and partitioning flavor.

8.11 LAB: Contact list (C++)









A contact list is a place where you can store a specific contact with other associated information such as a phone number, email address, birthday, etc. Write a program that first takes as input an integer N that represents the number of word pairs in the list to follow. Word pairs consist of a name and a phone number (both strings). That list is followed by a name, and your program should output the phone number associated with that name.


Ex: If the input is:


3 Joe 123-5432 Linda 983-4123 Frank 867-5309

Frank

the output is:


867-5309


Your program must define and call the following function. The return value of GetPhoneNumber is the phone number associated with the specific contact name.

string GetPhoneNumber(vector nameVec, vector phoneNumberVec, string contactName)


Hint: Use two vectors: One for the string names, and the other for the string phone numbers.

Answers

Answer:

The vectors and phone numbers are 123-5432-983-4123-867-5309

Explanation:

1) Who invented C Language.?
A) Charles Babbage
B) Grahambel
C) Dennis Ritchie
D) Steve Jobs​

Answers

Answer:

Dennis Ritchie is the answer

A header is printed in the _____ margin
(1)Top
(2)Bottom
(3)Side
(4)both a and b ​

Answers

Answer:

(1)Top

Explanation:

Bcoz it is header

A header can be printed on the top margin.

What is a header?

A part of a text in the line that is generally used to describe the title or the topic of the text contained below such line is known as a header. It is represented in the top margin, as a title can be written on the bottom side.

Hence, option A holds true regarding a header.

Learn more about a header here:

https://brainly.com/question/15163026

#SPJ2

Say you have 3 computers. Compare the cost of replacing the modem with a router/modem. Include the brand as well as price. I can't answer questions about this as I don't know what to do

Answers

Answer:

Comparing the cost of replacing the modem with a router/modem and its need in day today changing life.

Explanation:

As you known modem devices develop at a very gradual pace, you can normally use a modem for months, until it breakdown, but you might need to substitute a router because you require a more reachable area. After all, you've joined more computers to your web and your old router isn't holding up, or because you need to take the support of the latest development.

Write a program that:

a. asks user to input the temperature in Fahrenheit.
b. It converts the inputted temperature into Celsius.
c. Calculates the speed of sound in meters per second and in feet per second. The program should display user's inputs and print the results in both m/s and ft/s

Answers

Answer:

sucks to suck

Explanation:

If Mark has a read-write permission to the share \\fileserver\securefiles and a read-only permission to the file coolstuff.docx on the NTFS file system shared by the file share, he is able to perform which action?

a. Rename the file.
b. Read the file.
c. Change the contents of the file.
d. Delete the file.

Answers

Answer:

I don't know  you should figure that out good luck

Explanation:

good luck

While the Internet is used to share many useful services and information, there are growing concerns about the way that the Internet can be used to spread damaging information ranging from national secrets to calls for violence. Censoring this information may provide some people with increased security, but potentially risks free speech and the safety of social and political activists.

a. True
b. False

Answers

Answer:

A true!

Explanation:

Consider the following code segment, which is intended to simulate a random process. The code is intended to set the value of the variable event to exactly one of the values 1, 2, or 3, depending on the probability of an event occurring. The value of event should be set to 1 if the probability is 70 percent or less. The value of event should be set to 2 if the probability is greater than 70 percent but no more than 80 percent. The value of event should be set to 3 if the probability is greater than 80 percent. The variable randomNumber is used to simulate the probability of the event occurring.
int event = 0;
if (randomNumber <= 0.70)
{
event = 1;
}
if (randomNumber <= 0.80)
{
event = 2;
}
else
{
event = 3;
}
The code does not work as intended. Assume that the variable randomNumber has been properly declared and initialized. Which of the following initializations for randomNumber will demonstrate that the code segment will not work as intended?
A) randomNumber = 0.70;
B) randomNumber = 0.80;
C) randomNumber = 0.85;
D) randomNumber = 0.90;
E) randomNumber = 1.00;

Answers

Answer:

A) randomNumber = 0.70;

Explanation:

The code works perfectly for all values of randomNumber given in the options except option (a)

This is so because:

The first condition

if (randomNumber <= 0.70)  {  event = 1;  }

It checks if randomNumber is less than or equal to 0.70. This is true, so event is set to 1.

However, the next condition after it will also be executed because it is a different conditional to be executed.

So, we have:

if (randomNumber <= 0.80)  {  event = 2;  }

This condition is also true, so event is set to 2.

From the question randomNumber is meant to be event 1. However, this is different from the result of executing the code.

Hence, (a) is true

Other Questions
There are 20 apples. Divide thethe ratio3:4:5inapples a) John wants to buy a house and is trying to figure out how much money he needs for the down payment. If the housecosts $275,000 and the down payment is 15% of the price of the house, how much will the down payment be? $ For the expression 2 x squared + 28 x + 93 Over (x + 6) cubed, which sum represents the correct form of the partial fraction decomposition? which of the following explains a role of the industrial revolution played in undermining mercantilism the product of 8 and a number is 25 less than twice that number. find the number The provision that allows Congress to makeall laws that they consider necessary andproper is called the A food pantry is making packages. Each package weighs 64 pounds.Here are two situations. For each situation, write and solve an equation to represent the situation, then explain what your solution means in the situation. If you get stuck, try drawing a diagram. (upload your work when complete) 1.Each package contains 4 boxes. Each box contains a 7-pound bag of beans and a bag of rice. 2.The bags of rice are all identical. Each package contains 4 identical bags of rice and a 7-pound bag of beans.Please i rly need this!!!!!!!!! Karen has 12 items in her suitcase. Which is the most reasonable prediction for the total weight of her suitcase? En qu estructura de texto est escrito Un largo camino hacia el agua?Comparar y contrastarSecuenciaDescripcinProblema y solucinCausa y efecto what was the impact of the Mayflower Compact on the colonies What was one change that was made after the Titanic tragedy?No more than 100 people can be on a boat at a time.Ships must have a lifeboat for every person on board.England does not build ships anymore.No boats are allowed to be named the Titanic. Will the sum of 56+ (-56) be Positive negative or zero Rite Bite Enterprises sells toothpicks. Gross revenues last year were $8.0 million, and total costs were $3.9 million. Rite Bite has 1.2 million shares of common stock outstanding. Gross revenues and costs are expected to grow at 4 percent per year. Rite Bite pays no income taxes. All earnings are paid out as dividends. (Do not round intermediate calculations and round your answers to 2 decimal places. (e.g., 32.16))a. If the appropriate discount rate is 14 percent and all cash flows are received at years end, what is the price per share of Rite Bite stock? $35.53b. Rite Bite has decided to produce toothbrushes. The project requires an immediate outlay of $17.5 million. In one year, another outlay of $6.5 million will be needed. The year after that, earnings will increase by $4.7 million. That profit level will be maintained in perpetuity. What will the new stock price be if the project is undertaken? Which factors cause air masses to move in the United States? Check all that apply.prevailing easterliesprevailing westerliesjet streamtrade windsfront just using the words given to complete the text PLZZZZZZ Below is a set of data about temperatures. The range of a set of data is the distance between the lowest and highest value in the set. What is the range of these temperatures 9C3C22C-5C11C15C PLEASE ANSWER ASAP !!! need help please, please make it simple i just need the answer no explination. please solve thanks lovee explain why the civil war ended .