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
Pepsi [2]
3 years ago
9

In order to detect repeated lines anywhere in the input, myuniq must keep track of all of the lines it has seen as it moves thro

ugh the input. It will also need to count the frequency for each line. An array of structs to store this information seems like just the tool for the job, but we have a conundrum. How many entries do we need for this array
Computers and Technology
1 answer:
andrew11 [14]3 years ago
7 0

Answer:

Explanation:

The two solutions to this problem would be to either count the number of total lines in the input file and initialize the array with the exact number of lines, or use an ArrayList. The first solution would work since it would analyze the file first in order to make sure the array will fit every input line. The second solution will also work since ArrayLists are dynamic and do not have a fixed size. You can simply continue adding to the ArrayList and it will adjust its size accordingly.

You might be interested in
__________ is a single set of hardware, databases, networks, people, and procedures configured to collect, manipulate, store, an
sergiy2304 [10]

Answer:

Computer-based Information System

Explanation:

According to my research on information technology, I can say that based on the information provided within the question the term being described is called a Computer-based Information System (CBIS). This is (like mentioned in the question) a data processing system into a high-quality information and can be used to support decision-making, coordination and control as well as visualizing and analyzing data.

I hope this answered your question. If you have any more questions feel free to ask away at Brainly.

6 0
4 years ago
Jin needs to add a row into his spreadsheet, but he does not want to remove any existing data. Which combination of options shou
disa [49]

Answer:

b. insert > entire row

5 0
4 years ago
Read 2 more answers
Given num_rows and num_cols, print a list of all seats in a theater. Rows are numbered, columns lettered, as in 1A or 3E. Print
nata0808 [166]

Answer:

Following are the program for the above question in python:

Explanation:

def seat(num_rows,num_cols):#function definition.

   for x in range(1,num_rows+1):#first for loop.

       c='A'

       for y in range(1,num_cols+1): #second for loop.

           print(str(x)+c,end=" ") #print the value

           c=chr(ord(c)+1) #expression to form a charater addition.

seat(int(input("enter the number of rows: ")),int(input("enter the number of columns: "))) #take the input from the user.

Output:

  • If the user inputs 2 and 3, then the output is :"1A 1B 1C 2A 2B 2C 3A 3B 3C 4A 4B 4C".

Code Explanation :

  • The above code is in python language, in which the first line is used to render a message to the user then take the inputs from the user and then pass to the function after converting into int function.
  • Then there are two loops in the function which are used to print the number of the seat.
  • The first loop is used to print the row number and the second loop is used to print the column number.
4 0
4 years ago
Which tab is used to configure an export to PST in Outlook 2016?
Blizzard [7]

Answer:

file

Explanation:

you should go through the file so as to configure it

3 0
4 years ago
Read 2 more answers
Describe a strategy that you could use to win the recess basketball shooting game HORSE. Analyze your strategy’s risks and rewar
kobusy [5.1K]

Answer:

i mean, theres not much strategy to the game at all, its just being able to shoot from hard spots, and obviously have good consistentsy

Explanation:

5 0
4 years ago
Other questions:
  • discuss in an essay format the steps one needs to take to develop a management information system(MIS)give examples to support y
    7·1 answer
  • Presentation guidelines state that slides should have no more than bullet points.
    9·2 answers
  • printArray is a method that accepts one argument, an arrayof int. The method prints the contents of the array; it does not retur
    5·1 answer
  • Which step of the laser printer imaging process requires troubleshooting if a printer produces ghost images on output pages?
    13·1 answer
  • Which protocol sends a request to view or download a website or file ​
    7·1 answer
  • Which device do engineers use to drive a system of gears?
    15·2 answers
  • Write two eaxmple of operating system​
    14·2 answers
  • Https://www.canva.com/design/DAEdipB8WJ4/etwBH9c1cMBNIaThAaOUqg/view?utm_content=DAEdipB8WJ4&utm_campaign=designshare&ut
    5·1 answer
  • Which statement best characterizes under what circumstances you should add your social media profile to a resume? You should add
    9·1 answer
  • The _____ standard spells out measures and security procedures to safeguard the card issuer, the cardholder, and the merchant.
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!