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
coldgirl [10]
3 years ago
12

Give a big-o estimate for the number of operations (where an operation is an addition or a multiplication) used in this segment

of an algorithm. t := 0 for i := 1to3 for j := 1to4 t := t + ij
Mathematics
1 answer:
Marianna [84]3 years ago
6 0
We have a "rectangular" double loop, meaning that both loops go to completion.
So there are 3*4=12 executions of t:=t+ij.

Assuming two operatiions per execution of the innermost loop, (i.e. ignoring the implied additions in increment of subscripts), we have 12*2=24 operations in all.

Here the number of operations (+ or *) is exactly known (=24). 

Big-O estimates are used for cases with a varying scale of operations, governed by a variable (usually n) to indicate the sensitivity of the number of operations relative to a change in the size of n.

Here we do not have a scale, nor n is defined.  The number of operations is constant and known at 24.   So a variable is required to find the big-O estimate.
You might be interested in
Can someone help please
s344n2d4d5 [400]
Okay, so this is exponential. The formula for the exponental function is Y=ab^x

a is the y-intercept

b is the rate/ratio

x is the time

According to the graph, (remember the y-intercept is in the y-axis) so 2 is the y-intercept.

Knowing what the y-intercept is, you know what the answer is.

A.
5 0
3 years ago
All the numbers from 1 to 100 that have 13 as a factor
Marrrta [24]
26, 39, 52, 65, 78, 91
3 0
3 years ago
Cube - Finding Volume when you have Surface Area (no model of prism for this question)
mr Goodwill [35]

Answer:

512 cm^3

Step-by-step explanation:

Divide 384 by 6 to find the surface area of one face of the cube. 384/6 = 64.

Find the square root of 64 to find both the length and width of the square. They are equal in a square. \sqrt{64} = 8 = x

Volume = xyz or x^3

8^3 = 512

5 0
3 years ago
Read 2 more answers
70:80 simplest form as a ratio
emmasim [6.3K]

Answer:

7 : 8

Step-by-step explanation:

70 : 80 divided by 2 =

35 : 40 divided by 5 =

7 : 8

OR

70 : 80 divided by 10 =

7 : 8

6 0
3 years ago
Read 2 more answers
Convert 6 Km into decimeter
anyanavicka [17]

Answer:

60000

Step-by-step explanation:

Brainliest ?!?!?!?!

5 0
2 years ago
Other questions:
  • Identify the slope and the y-intercept of the line with the given equation:<br> y = 7x-5
    9·1 answer
  • What is the area of a shape that has the lengh of 10 cm and the height of 5cm
    14·1 answer
  • 1. Find the conditional probability of the indicated event when two fair dice (one red and one green) are rolled. The sum is 6,
    11·1 answer
  • Log of square root of 9/25
    15·1 answer
  • Which is the greatest value A.two and hundredhs B.two and five thousandths C.two and five tenths
    8·1 answer
  • Use a formula to calculate the amount of money you would have if you invest $3000 at a rate of 5% compounded quarterly, for 3 ye
    13·1 answer
  • Given the equation Y-4=3/4(x+8) in point-slope form, identify the equation of the same line in standard form
    8·1 answer
  • Solve the two step equation. -3 + 10x = 7. show all steps
    14·1 answer
  • Sam bought a kit to make a skateboard ramp. The kit contains 3 pieces of wood, one is 3 feet long, one is 4 feet
    9·1 answer
  • The talk-time battery life of a group of cell phone is normally distributed with a mean of 5 hours and a standard deviation of 1
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!