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
mojhsa [17]
3 years ago
15

. Assuming each reference costs 1 byte, and each piece of data/info costs 1 byte as well. When will a doubly linked list be more

appropriate when space cost is the most important thing in our decision making process comparing to a 256 element array? Show your analysis on how you reached to the conclusion.
Computers and Technology
1 answer:
mixer [17]3 years ago
4 0

Answer:

The circular individually linked list is more efficient for time sharing process ,when multiple application are running on pc it is responsibility of an output system to put all process on a list and execute them all by giving them piece of time and make them wait when cpu is selected to other process.

It will be more suitable for output system to use circular list as when it reaches to last of list it will be manually reaches to starting node or process.

Singly circular linked list is used when we are concerned with the memory as only one process will be allocated memory at once and there are no chances of process to go never-ending waiting.

Explanation:

You might be interested in
Match the correct pairs of column A and B to prove your computer
ohaa [14]

Explanation:

1 Ms word - b. Word processing software

2 Pagemaker - c desktop publishing

3 Ms excel - f finance and data analyses

4 dbase - a database management system

6 Mcafee/Norton - d anti-virus software

7 virus - h computer program that can replicate itself

8 inbox, compose,.............. - parts of an email account

5 0
3 years ago
Write a program that reads a person's first and last names separated by a space, assuming the first and last names are both sing
Dmitriy789 [7]

<em>Complete Question:</em>

<em>Write a program that reads a person's first and last names, separated by a space. Then the program outputs last name, comma, first name. End with newline.  </em>

<em>Example output if the input is: Maya Jones </em>

<em>Jones, Maya</em>

<em></em>

<em>In C++</em>

<em></em>

Answer:

The program written in C++ is as follows

<em>#include<iostream></em>

<em>using namespace std;</em>

<em>int main(){</em>

<em>string lname, fname;</em>

<em>cout<<"First name: ";</em>

<em>cin>>fname;</em>

<em>cout<<"Last name: ";</em>

<em>cin>>lname;</em>

<em>cout<<lname<<", "<<fname;</em>

<em>return 0;</em>

<em>}</em>

<em />

Explanation:

This line declares lname, fname as string to get the user's last name and first name, respectively

<em>string lname, fname;</em>

This line prompts the user for first name

<em>cout<<"First name: ";</em>

This line gets the user first name

<em>cin>>fname;</em>

This line prompts the user for last name

<em>cout<<"Last name: ";</em>

This line gets the user last name

<em>cin>>lname;</em>

This line prints the desired output

<em>cout<<lname<<", "<<fname;</em>

7 0
3 years ago
Explain why a CPU’s speed is affected by the number of buses.
Irina-Kira [14]

The Effect of the Motherboard's Bus Speed on CPU Speed:

 

 

A computer motherboard's bus speed has no effect on the installed CPU's speed. In a computer, the motherboard and the CPU are two separate components and do not alter how well the other one performs. However, the user experience is measured in how well the two perform together.

 

 

CPU

The CPU, or the computer's main processor, has a factory-determined operating speed. The processor's speed can be altered through the motherboard's BIOS settings on some computers. Hardware compatibility errors aside, the CPU's speed is not altered by any other part of the computer. However, the CPU is the fastest part of the computer and often gets held up by other hardware that can't keep up. CPUs handle all the computer's computational work outside of major graphical work performed by the GPU.

 

 

 

 

 

 

 

 

Bus

The motherboard's bus is the part of the device that transfers data between parts. The term "bus speed" refers to how quickly the system bus can move data from one computer component to the other. The faster the bus, the more data it can move within a given amount of time. The system's "Front Side Bus" connects the CPU to the computer's "Northbridge," which handles communication between the computer's RAM and the processor. This is the fastest part of the bus and handles the computer's most vital workload.

 

 

 

Bus Feeds the CPU

The CPU itself is pointless unless it has data to process; the bus’s job is to get that data to the CPU. The bus does not increase or decrease the CPU's speed but handles that data that flows in and out of the device, which plays a key role in how well the CPU performs. This is the point where the Bus can affect the CPU's performance output -- the CPU works in a cyclical process, with data going in and out of the device on a timed interval. If the CPU doesn't have any data to work with in a cycle, it wastes a cycle and doesn't process any data.

 

Insufficient Bus

An insufficient bus speed could leave a computer's CPU hanging as it waits for more information to process. This creates a "bottleneck," or the point at which one part of the computer slows down performance for another part of the system. If the bus is too slow, the CPU will waste a substantial amount of cycles and the computer user would perceive this as slower performance.

 

 

Sufficient Bus

A motherboard that has a sufficient or excessive bus speed for the CPU will offer the optimal performance speed. If the bus is fast enough, the CPU will consistently have new data to process ready to go when it completes a cycle. While the process isn't perfect and there always being unused cycles, a sufficient bus speed helps maximize how many of those cycles are used.

<span>Source: http://smallbusiness.chron.com/effect-motherboards-bus-speed-cpu-speed-70907.html</span>

8 0
3 years ago
Help me please will give credit to the right answer
MissTica

Answer:

the answer should be A that's the best

5 0
3 years ago
Read 2 more answers
In your Pest Busters game, how does Player 2 move the Ship 2 object?
Nuetrik [128]

Answer:

The answer is A.

Explanation:

7 0
3 years ago
Other questions:
  • The theory of continental drift suggests that at one time,
    15·2 answers
  • What does this translate to?: 01001001 01110011 00100000 01100010 01110010 01100001 01101001 01101110 01101100 01111001 00100000
    5·1 answer
  • In its simplest form, the __________ has two columns: the first column lists every computer and device in the network, while the
    15·1 answer
  • What is the main purpose of a graphic organizer?
    10·2 answers
  • What is your favorite food
    11·2 answers
  • What functions do these WLAN applications and tools perform on WLANs: airmonng, airodump-ng, aircrack-ng, and aireplay-ng
    10·1 answer
  • Host Y sends the first TCP ACK message for the transaction?<br><br> a. true<br><br> b. false
    9·1 answer
  • Question # 2
    7·1 answer
  • Mario is giving an informative presentation about methods for analyzing big datasets. He starts with the very basics, like what
    13·1 answer
  • Write a python code for a calculator
    8·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!