Efficiency of variable n using big-o notation

Assignment Help Computer Engineering
Reference no: EM1315579

1) Consider following loop construct:

X := 1
repeat
Y := N
while Y > 0 do
. . . // something (the ellipsis)
Y := Y - 1
endwhile
X := X + X
until X > N * N

Classify its efficiency in terms of the variable N utilizing the big-O notation. Also, suppose that statements represented by the ellipsis need four chief memory accesses with each access requiring 1 microsecond, and two disk file accesses with each requiring 1 millisecond. Express this in milliseconds the amount of time this construct would be needed in order to execute if N = 1000.

Reference no: EM1315579

Questions Cloud

Determining standard deductions with standard deviation : Survey of 16 tax returns reports families with incomes between $75,000 and 100,000 have on average $8,562 in Standard Deductions with the standard deviation of $1,800.
Laws of supply and demand : D&Z Dry Foods Distributions specializes in the whole distribution of dry goods, such as rice and dry beans. The firm's manager is concerned about an article he read in the morning's Wall Street Journal
Find all the subfield of k containing q : Find all the subfield of K containing Q.
Advantages and limitations of simple linear regression model : Why is estimating a multiple regression model just as easy as bivariate regression?
Efficiency of variable n using big-o notation : Classify its efficiency in terms of the variable N utilizing the big-O notation. Also, suppose that statements represented by the ellipsis need four chief memory accesses with each access requiring 1 microsecond.
Multiple choice questions on jit : Multiple choice questions on JIT and actions are likely to reduce the length of a company's cash conversion cycle?
Estimate the galois group : Estimate the galois group.
Firm pricing rule and profit maximization : The Hanover Manufacturing Company believes that the demand curve for its product is P = 5 - Q-Evaluate the wisdom of the firm's pricing policy
Computation of price of the bond : Computation of price of the bond and The market requires an interest rate of 8% on bonds of this risk

Reviews

Write a Review

Computer Engineering Questions & Answers

  Dns servers and dhcp servers

Assume that both the DNS servers and the DHCP servers send your client PC and IP addresses. Write down the differences between these two addresses.

  What do you mean by pseudocode and case subroutine call

What do you mean by pseudocode and case Subroutine call

  Utilize server manager to install dns role

Utilize Server Manager to install DNS role

  Write a recursive implementation of euclids algorithm

Write a recursive implementation of Euclids algorithm

  Federal rules and criminal codes

Think about computer forensics professional’s testimony preparations, and how the investigator must ensure that the federal rules and criminal codes are followed both during and after the completion of the investigation. Identify and discuss some ..

  Managing the webpage using php

When we open webpage, first folder images are displayed and when we refresh or click on any link it display second folder imagesis this possible utilizing the php.

  Creating a source documents on access 2010

Explain how to generate a source documents on the access 2010 with the information to involve the password, user ID, name, telephone, address, item number, e-mail address, bid offered, and method of payment.

  Write program that generates casual number between 1 and 100

Write program that generates casual number between 1 and 100?

  Write down a program to solve linear system

Write down a program to solve linear system

  Purpose and use of the java adapter classes

Purpose and use of the Java Adapter classes

  What aspects of environment support structure of colleges

What aspects of environment support structure of colleges.

  How to write code for selection sort, insertion sort

How to write code for selection sort, insertion sort. Using your performance of selection, bubble and insertion sort, add a counter in an appropriate place so as to measure the runtime of your code for example this capacity be a counter to track ..

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd