Question: Q 1 : a ) Develop an efficient algorithm to find a list of prime numbers from 1 0 0 to ( 2 Marks )
Q: a Develop an efficient algorithm to find a list of prime numbers from to Marks b Differentiate between Polynomialtime and exponentialtime algorithms. Give Marks an example of one problem each for these two running times. c Using Horner's rule, evaluate the polynomial pxxxx at x Analyse the computation time required for polynomial evaluation using Marks Horner's rule against the Brute force method. d State and explain the theorems for computing the bounds OOmega and Theta Apply Marks these theorem to find the Onotation, Omeganotation and Thetanotation for the function: fnnn e Explain binary exponentiation for computing the value Write the rightto left binary ex
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
