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
solmaris [256]
3 years ago
5

Speed(?)

Computers and Technology
1 answer:
Blizzard [7]3 years ago
4 0

Answer:

used HP UC visit relationship Nurs.Makrapar.

You might be interested in
a. Write a function called fizzbuzz. This function will take 1 number as a parameter. The function will print all numbers from 0
OLga [1]

Answer:

def fizzbuzz (num):

 for item in range(num):

   if item % 2 == 0 and item % 3 == 0:

     print("fizzbuzz")

   elif item % 3 == 0:

     print("buzz")

   elif item % 2 == 0:

     print("fizz")  

   else:

     print (item)

fizzbuzz(20)

Explanation:

Using Python programming Language

Use a for  loop to iterate from 0 up to the number using the range function

Within the for loop use the modulo (%) operator to determine divisibility by 2 and 3 and print the required output

see attached program output screen.

5 0
3 years ago
Half of the integers stored in the array data are positive, and half are negative. Determine the
jonny [76]

Answer:

Check the explanation

Explanation:

Below is the approx assembly code for above `for loop` :-

1). mov ecx, 0

2). loop_start :

3).    cmp ecx, ARRAY_LENGTH

4).    jge loop_end

5).    mv temp_a, array[ecx]

6).    cmp temp_a, 0

7).    branch on nge

8).        mv array[ecx], temp_a*2

9).   add ecx, 1

10).   jmp loop_start

11). loop_end :

Assumptions :-

*ARRAY_LENGTH is register with value 1000000

*temp_a is a register

Frequency of statements :-

1) will be executed one time

3) will be executed 1000000 times

4) will be executed 1000000 times

5) will be executed 1000000 times

6) will be executed 1000000 times

7) `nge` will be executed 1000000 times, branch will be executed 500000 times

8) will be executed 500000 times

9) will be executed 1000000 times

10) will be executed 1000000 times

Cost of statements :-

1) 10 ns

3) 10ns + 10ns + 10ns [for two register accesses and one cmp]

4) 10ns [for jge ]

5) 10ns + 100ns + 10ns [10ns for register access `ecx`, 100ns for memory access `array[ecx]`, 10ns for mv]

6) 10ns + 10ns [10ns for register_access `temp_a`, 10ns for mv]

7) 10ns for nge, 10ns for branch

8) 30ns + 110ns + 10ns

10ns + 10ns + 10ns for temp_a*2 [10ns for moving 2 into a register, 10ns for multiplication],

110ns for array[ecx],

10ns for mv

9) 10ns for add, 10ns for `ecx` register access

10) 10ns for jmp

Total time taken = sum of (frequency x cost) of all the statements

1) 10*1

3) 30 * 1000000

4) 10 * 1000000

5) 120 * 1000000

6) 20 * 1000000

7) (10 * 500000) + (10 * 1000000)

8) 150 * 500000

9) 20 * 1000000

10) 10 * 1000000

Sum up all the above costs, you will get the answer.

It will equate to 0.175 seconds

7 0
2 years ago
Dropbox is an example of ________. Bluetooth technology optical storage SSD technology cloud storage
inessss [21]

IaaS

Laas is Framework as a help are online administrations that give significant level APIs used to dereference different low-level subtleties of basic organization foundation like actual registering assets, area, information dividing, scaling, security, reinforcement and so forth

7 0
2 years ago
The political spectrum spans from Communism on the extreme left to __________ on the extreme right. /8178757/1f6bdbf3?utm_source
Delvig [45]
If the options are: <span><span><span>A.Socialism, </span><span>B.Liberalism, </span><span>C.Anarchism, </span>D.Conservatism, then the answer is D. Conservatism. I can see that some people have previously answered Anarchism. But it can't be the right answer because anarchism does not advocate either leftist or rightist politics - it advocates stateless politics. On the other hand, both left-wing and right-wing politics operate within the conventional field of states and governments. Now, communism is the extreme leftist position of egalitarianism, that is social equality, without private property. On the other hand, conservatism advocates social hierarchies and inequality as a natural order of society. Liberalism isn't the answer either because it isn't a rightist political option.</span></span>
6 0
3 years ago
Read 2 more answers
SELF-CHECK 1.2
muminat

Answer:

1. Architectural sheet.

2. Site plan.

3. Floor plan.

4. Title page and index.

5. Geodetic Engineer.

Explanation:

1. Architectural sheet: A drawing sheet that contains perspective, site development title, page and sheet index. It is generally used by architects as a graphical representation of a development plan or project.

2. Site plan: A drawing of the lot showing the setback and development of the house in relation to the lot.

3. Floor plan: The top view of the site or lot where the proposed house will be built.

4. Title page and index: Generally includes title block, table of contents, and signs and sealed of the duly licensed and registered professionals in the plans.

5. Geodetic Engineer: He signs in the lot survey plans. A geodetic engineer studies geodynamic phenomenon such as tide, polar motion and the earth movement.

8 0
2 years ago
Other questions:
  • What type of socket should be used with an air impact wrench
    12·1 answer
  • Renter’s insurance is not necessary if you don’t have a lot of expensive things.
    13·1 answer
  • The desktops of computers running the same OS all look the same
    8·1 answer
  • What are the main purposes of regulatory policies? Check all that apply.
    5·2 answers
  • Issues with paper based records include a. time spent re-keying data, searching for paper copies, and filing. b. storage volume
    9·1 answer
  • Higher-speed Ethernet technologies use an electronic device known as a Hub rather than a switch True/False
    15·1 answer
  • This isn't a homework question but rather a technological problem. I connected my device to the motherboard but it will not dete
    5·2 answers
  • The _device provides a means of communication between a computer and outer world.​
    14·1 answer
  • What is the family access code right now?
    5·1 answer
  • Meteoroids are small space rocks. They are usually pieces of asteroids or comets. Meteoroids orbit the sun like asteroids and co
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!