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
ki77a [65]
4 years ago
12

What is the answer to this?

Computers and Technology
1 answer:
mixer [17]4 years ago
8 0

Honestly, that sounds like Space Invaders to me if that's an answer choice.

You might be interested in
What should be entered to make the loop print
Scilla [17]

Answer:

x = x + <u>10</u>

Explanation:

since the difference between 60, 70 and 80 is 10, adding 10 to x will make the loop print.

7 0
3 years ago
Given the following stream of accesses to a 4-block fully associative cache with LRU replacement, determine whether the access i
erma4kov [3.2K]

The number of memory miss cycles for instructions in terms of the Instruction count (I) is

image

As the frequency of all loads and stores is 36%, we can find the number of memory miss cycles for data references:

image

The total number of memory-stall cycles is 2.00 I+1.44 I=3.44 I. This is more than three cycles of memory stall per instruction. Accordingly, the total CPI including memory stalls is 2+3.44=5.44. Since there is no change in instruction count or clock rate, the ratio of the CPU execution times is

image

The performance with the perfect cache is better byimage.

What happens if the processor is made faster, but the memory system is not? The amount of time spent on memory stalls will take up an increasing fraction of the execution time; Amdahl’s Law, which we examined in Chapter 1, reminds us of this fact. A few simple examples show how serious this problem can be. Suppose we speed-up the computer in the previous example by reducing its CPI from 2 to 1 without changing the clock rate, which might be done with an improved pipeline. The system with cache misses would then have a CPI of 1+3.44=4.44, and the system with the perfect cache would be

image

The amount of execution time spent on memory stalls would have risen from

image

to

image

Similarly, increasing the clock rate without changing the memory system also increases the performance lost due to cache misses.

3 0
3 years ago
Write a C++ Win32 Console Application that will use nested for loops to generate a multiplication table from 1 x 1 to 10 x 10. U
aleksandrvk [35]

Answer:

#include <iostream>

using namespace std;

int main()

{

for (int outer = 1; outer <= 10; outer++)

{

 for (int inner = 1; inner <= 10; inner++)

 {

  cout << inner << "\tx\t" << outer << "\t=\t" << inner*outer << endl;

 }

 cout << endl;

}

}

Explanation:

I think when you replace the tabs by spaces, the layout is more pleasing. Couldn't figure out if you can override the default tab size of 8 characters...

5 0
3 years ago
Application partitioning gives developers the opportunity to write application code that can later be placed on either a client
Hunter-Best [27]

Answer:

True

Explanation:

Application partitioning is defined as the process by which pieces of application codes are assigned to servers or clients. it provides a description of the processes involved when developing applications that requires distribution of the application logic among more than one computer in a network. It provides developers the opportunity to write application codes capable of being placed on a later time on a server or client workstation. The decision is dependent on the location capable of bringing the best performance.

8 0
3 years ago
Write a program to take in a time-of-day on the command-line as 3 integers representing hours, minutes, and seconds, along with
nexus9112 [7]

Answer:

In Python:

hh = int(input("Hour: ")) * 3600

mm = int(input("Minutes: ")) * 60

ss = int(input("Seconds: "))

seconds = int(input("Additional Seconds: "))

time = hh+ mm + ss + seconds

hh =  int(time/3600)

time = time - hh * 3600

mm = int(time/60)

ss = time - mm * 60

while(hh>24):

   hh = hh - 24

print(str(hh)+" : "+str(mm)+" : "+str(ss))

Explanation:

We start by getting the time of the day. This is done using the next three lines

<em>hh = int(input("Hour: ")) * 3600</em>

<em>mm = int(input("Minutes: ")) * 60</em>

<em>ss = int(input("Seconds: ")) </em>

Then, we get the additional seconds

<em>seconds = int(input("Additional Seconds: "))</em>

The new time is then calculated (in seconds)

<em>time = hh+ mm + ss + seconds</em>

This line extracts the hours from the calculated time (in seconds)

hh =  int(time/3600)

time = time - hh * 3600

This line extracts the minutes from the calculated time (in seconds)

mm = int(time/60)

This line gets the remaining seconds

ss = time - mm * 60

The following iteration ensures that the hour is less than 24

while(hh>24):

   hh = hh - 24

This prints the calculated time

print(str(hh)+" : "+str(mm)+" : "+str(ss))

6 0
3 years ago
Other questions:
  • I have Mac(the last version installed) and I use Wine (application for using windows files, programmes on mac) but I have some p
    6·1 answer
  • Continuous reboots of a Windows host upon encountering a persistent stop error might be caused by Startup and Recovery configura
    10·1 answer
  • If you want to access your files anywhere from almost any connected device, you should store your files on your ________.
    9·1 answer
  • Which are examples of copyrighted online materials? Check all that apply.
    14·2 answers
  • What are all the folders located on the DOCK called?
    11·1 answer
  • Question 9 (1 point)
    14·1 answer
  • Organizations must protect their sensitive information through digital security measures and their _____ through physical securi
    13·2 answers
  • g Given the information below, answer each part of the question: Page Size: 4 KB a. How many bits are in the Page Offset
    11·1 answer
  • Write code that will copy the contents of the file into an array. You can assume that the file will only have 5 data values
    11·1 answer
  • What is one of four key principles of Responsible Artificial Intelligence
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!