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
Alenkasestr [34]
3 years ago
14

CAN SOMEONE PLEASE HELP ME WITH THIS PLEASE ?!!!!!!!!

Computers and Technology
1 answer:
kherson [118]3 years ago
7 0
Get feedback about your product from the restaurant
You might be interested in
Columns are most useful for which tasks ?
amid [387]
Laying out newsletters and creating a visual appeal without images
5 0
3 years ago
G The method of mapping where each memory locationis mapped to exactly one location in the cache is
Otrada [13]

Answer:

Direct Mapped Cache

Explanation:

Given that a Direct Mapped Cache is a form of mapping whereby each main memory address is mapped into precisely one cache block.

It is considered cheaper compared to the associative method of cache mapping, and it is faster when searching through it. This is because it utilizes a tag field only.

Hence, The method of mapping where each memory location is mapped to exactly one location in the cache is "Direct Mapped Cache"

4 0
3 years ago
a. The two programs perform the same function. Describe it. b. Which version performs better, and why
Ulleksa [173]

Programs are series of instructions interpreted by a computer

  • The description of the program is to compute the square of the difference between corresponding elements of two arrays
  • The better version of the program is program A.

<h3>How to describe the programs</h3>

From the programs, we have the following highlights

  • The program iterates from 1 to n - 1
  • The iteration calculates the difference between corresponding elements of the arrays
  • The difference is then squared

Hence, the description of the program is to compute the square of the difference between corresponding elements of two arrays

<h3>The better version</h3>

The better version of the program is program A.

This is so, because the program uses fewer instructions for the same task as program B

Read more about programs at:

brainly.com/question/16397886

3 0
2 years ago
Suppose that a list contains integers that are in order of largest to smallest and an integer can appear repeatedly in this list
salantis [7]

Answer:

(a) The algorithm is as follows:

count = 0

for i = 1 to n:

  if x = xi:

       count++

print(count)

(b) n comparisons

Explanation:

Solving (a):

Assume the integer to locate is x and the elements of the list are: x_1, x_2, x_3, x_4..... x_n

Such that: x_1 \ge x_2 \ge x_3 ...... \ge x_n

The algorithm is as follows:

<em>count = 0</em>

<em>for i = 1 to n:</em>

<em>   if x = xi:</em>

<em>        count++</em>

<em>print(count)</em>

<em />

The above iterates through the count of the list (i.e. n) and makes comparison with each element of the list (i.e. element 1 to element n).

When a match is found, the count variable is incremented by 1 and printed at the end of the loop

Furthermore:

If there are 3 elements in the list, the algorithm makes 3 comparisons.

It makes 10 comparisons if there are 10 elements in the list.

<em>So: it makes n elements if there are n elements in the list</em>

6 0
3 years ago
Write a program with a loop that asks the user to enter a series of positive numbers. the user should enter a negative number to
Dafna11 [192]
Int main(void){
int  n,s=0;
while(1){
scanf(" %d",&n);
if(n<0) break;
s+=n;
}
printf("sum=%d\n",s);
return 0;
}
5 0
3 years ago
Other questions:
  • The binary search algorithm ________. will have a maximum number of comparisons equal to the number of elements in the array wil
    7·1 answer
  • Hardware- The ______________ equipment that makes up the computer.
    6·1 answer
  • Why is monitoring email, voice mail, and computer files considered legal?
    6·1 answer
  • business ethics chapter 7 jordan, a software engineer, is responsible for maintaining the private piece of his company's interne
    15·1 answer
  • Which of the following is the best name for a history report about World War I?
    7·2 answers
  • Which type of programming language is understood directly by the computer? Assembly language Machine language Visual Basic Java
    13·1 answer
  • Write a java program to read elements in an array from user and count total number of duplicate elements in array.
    12·1 answer
  • Construct a SQL query that displays a list of colleges, their sity/state, the accrediting agency, and whether or not the school
    8·1 answer
  • What type of software repairs or improves a larger application that is already installed on a system?
    9·2 answers
  • What version of bluetooth is installed on the yaesu ft-5dr?.
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!