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
castortr0y [4]
3 years ago
7

Suppose you need to organize a collection of telephone numbers for a company division. There are currently about 6,000 employees

, and you know that the phone switch can handle at most 10,000 phone numbers. You expect several hundred lookups against the collection every day. Would you use an array list or a linked list to store the information
Computers and Technology
2 answers:
Anettt [7]3 years ago
6 0

Answer:

Using an array list is preferable

Explanation:

A Linked List is an arranged collection of information of the same type in which each element is connected to the next using pointers.

An array list contains set of similar data objects stored in a well arranged memory locations under a common heading or a variable name.

Array elements can be accessed randomly using the array index and can be looked up anytime which makes it correct.Random accessing is not possible in linked list.

eduard3 years ago
5 0

Answer:

<em>I would use an array list over a linked list to store the given information from the question.</em>

Explanation:

<em>Let us define what an array list and linked list are</em>

<em>Array list: Array List and Linked List both maintains insertion order and  implements List interface. Array List basically uses a dynamic array to keep or store  the elements.</em>

<em>Linked list: Linked List internally uses a  list that is doubly linked to keep or store the elements</em>

<em>Now,</em>

<em>Using an array list will be of advantage  than a linked list as far as look ups are concerned. also we do have some idea about the size of information, </em>

<em>while a Linked list  will be useful when we don't know the size of data. also retrieving the information from the array list is much more simpler than linked list as  random access is possible with arrays against sequential traversal for lists. </em>

<em> </em>

<em />

You might be interested in
Read the integer numbers in the text file "1000 Random Number from 0 to 100.txt" into a list
Marianna [84]

Answer:

random_number_file = open("1000 Random Number from 0 to 100.txt", 'r')

random_number_list = random_number_file.readlines()

print('random_number_list)

Explanation:

The name of the file containing the random integer text is ; "1000 Random Number from 0 to 100.txt"

The random_number_file variable stores the opened file ("1000 Random Number from 0 to 100.txt") using the open keyword and reads it ('r')

This file stored in the random_number_file variable is the read into a list by using the readlines() method on the random_number_file

6 0
3 years ago
A _______ is used to analyze and summarize your data without graphical support.
hodyreva [135]
Pivot table is the answer
8 0
4 years ago
Does speedtest report megabytes per second or megabits
Lesechka [4]

that could be both *shrugging*

7 0
3 years ago
Complete the static method stringSearch, which returns a String that tells where the first occurrence of the characters (chr) we
inysia [295]
Well can't do it for you but try using that phrase argument with string compare functionality
4 0
3 years ago
A network technician has configured a point-to-point interface on a router. Once the fiber optic cables have been run, though, t
masya89 [10]

Answer:

Wavelength Mismatch

Explanation:

Optical fiber cables are used because they have lowest attenuation(loss of signal strength).

Attenuation is directly proportional to wavelength.

According to me this issue is most likely caused by Wavelength mismatch.If the wavelength of the signal is high then there is more attenuation in that signal.

6 0
3 years ago
Other questions:
  • 14. Which commercial RDBMS product was the first to hit the market and is the biggest?
    15·1 answer
  • Question 1 : Which statement is true about interlaced images? This task contains the radio buttons and checkboxes for options. T
    8·1 answer
  • A search engine company needs to do a significant amount of computation every time it recompiles its index. For this task, the c
    5·1 answer
  • Write an algorithm that receives 500 numbers from the user and prints out the maximum of the numbers.
    9·1 answer
  • Habilidades de la alfabetizacion digital?
    12·1 answer
  • When drawing multiple objects on the same slide they cannot overlap<br> true<br> false
    8·2 answers
  • Modify theme in excel
    5·1 answer
  • Choose the correct term to complete the sentence.
    12·1 answer
  • Prepare the truth table for the following boolean expressions: (A+B).(A+C).(B)
    12·1 answer
  • What do you think are the IPO components in an online movie ticket booking system?
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!