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
m_a_m_a [10]
4 years ago
10

When you open a stream for both reading and writing files, what must you always remember to do at the end?

Computers and Technology
1 answer:
Leona [35]4 years ago
6 0

Answer:

When you open a stream for both reading and writing you must always remember to close the stream.

Explanation:

There are three basic steps to follow to read and write data from stream.

Steps to read data from the stream

1) Open the stream

2) Read the data from the stream

3) Close the stream

Step to write data to the stream

1) Open the stream

2) Write the data to the stream

3) Close the stream

You might be interested in
What are technology trends in science check all that apply
Doss [256]

Answer:

3D Printing Molecules.

Adaptive Assurance of Autonomous Systems.

Neuromorphic Computing (new types of hardware) and Biomimetic AI.

Limits of Quantum Computing: Decoherence and use of Machine Learning.

Ethically Trustworthy AI & Anonymous Analytics.

Explanation:

6 0
3 years ago
Juan has performed a search on his inbox and would like to ensure the results only include those items with attachments which co
Mars2501 [29]

Answer:

refine

Explanation:

3 0
3 years ago
Read 2 more answers
Which data type stores a single letter?
Irina-Kira [14]

Answer:

c

Explanation:

4 0
3 years ago
Write a C++ programthat simulates a cash register. The user should keeptyping
-Dominant- [34]

Answer:

//C++ code for the cash register..

#include <iostream>

#include<vector> //including vector library

using namespace std;

int main() {

vector<float> cash; //declaring a vector of type float.

float item=2,cash_sum=0;

int counter=1;

while(item!=0)//inserting prices in the vector until user enters 0...

{

    cout<<"Enter the price of item "<<counter<<" :"<<endl;

cin>>item;

counter++;

cash.push_back(item);//inserting element in the vector...

}

for(int i=0;i<cash.size();i++)//looping over the vector...

{

    cash_sum+=cash[i];//summing each element..

}

cash_sum*=1.08;//adding 8% sales tax.

cout<<cash_sum;//printing the result....

return 0;

}

Explanation:

I have taken a vector of type float.

Inserting the price of each item in the vector until user enters 0.

Iterating over the vector for performing the sum operation.

Then after that adding 8% sales tax to the sum.

Printing the output at last.

6 0
3 years ago
Allen needs a program that injects automatically semi-random data into a program or stack and detects bugs. What will he use?
Goryan [66]

Answer:

A) fuzzer

Explanation:

From the question, we are informed that Allen needs a program that injects automatically semi-random data into a program or stack and detects bugs. In this case,he will use a fuzzer. A fuzzer can be regarded as a program that gives in a semi-random data to a program/stack, and it will detect bug. fuzzing testing can be regarded as

software testing process which discover bugs in the software, this is done automatically by giving in input of randomized data to the computer program. Generation of data is done by a generator, while vulnerability identification depends on the tools use in the debugging process.

8 0
3 years ago
Other questions:
  • Add the number <br><br> 10010110+10111101
    12·2 answers
  • OSHA has authority over the employers of
    5·2 answers
  • B. Write a function that takes one double parameter, and returns a char. The parameter represents a grade, and the char represen
    7·1 answer
  • 6. Write a program that can multiply an n x m matrix and m x n matrix together: The input specifications are these: Read n and m
    11·1 answer
  • Write a program that reads a sentence as input and converts each word to "Pig Latin". In one version of Pig Latin, you convert a
    7·1 answer
  • ________ computers are specially designed computer chips that reside inside other devices such as a car.
    11·1 answer
  • 4.2 Code Practice: Question 2​
    14·1 answer
  • A column does not consist of
    10·1 answer
  • Can someone please help me with this .
    11·1 answer
  • Sidney needs to create a decimal number variable that will be added to another number. What kind of variable is required?binaryB
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!