Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

do it in C++ program make sure read and do as question ask using 191031424 as seed generator make sure expert do this and the

image text in transcribed

do it in C++ program

make sure read and do as question ask

using 191031424 as seed generator

make sure expert do this and the code can be run

instruction:

just do one by one for example create a pseudorandom number generator first to get 100 unique number

from that 100 unique number,identify the last number

find that last number using search method 1

get the time of it

repeat the searching using search method 2

get the time again

repeat again for search method 3 and get the time

after finish that three method,use pseudorandom number generator to get 200 number

and again

find the last number in that 200 uniques number

use search method again

Write a code without error. Do it in C++ program Create a random number generator to create a list of unique integers that will appear once. It must able to generate 300 integers (no repeated number) using: 191031424 as a seed generator Implement linear search, interpolation search and binary search - Discuss the algorithms used for 100, 200 and 300 integers execution time in millisecond Include details remarks/ comment in the code Create a main function that will be able to call the number generator and algorithms By using function from the first task, generate 300 unique integers. Output the list in a 100data.txt. Get the last integer in the list as k. Read the integers from the file in an array or linked list Repeat the process with 200 and 300 integers Write a code without error. Do it in C++ program Create a random number generator to create a list of unique integers that will appear once. It must able to generate 300 integers (no repeated number) using: 191031424 as a seed generator Implement linear search, interpolation search and binary search - Discuss the algorithms used for 100, 200 and 300 integers execution time in millisecond Include details remarks/ comment in the code Create a main function that will be able to call the number generator and algorithms By using function from the first task, generate 300 unique integers. Output the list in a 100data.txt. Get the last integer in the list as k. Read the integers from the file in an array or linked list Repeat the process with 200 and 300 integers

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Oracle Databases On The Web Learn To Create Web Pages That Interface With Database Engines

Authors: Robert Papaj, Donald Burleson

11th Edition

1576100995, 978-1576100998

More Books

Students also viewed these Databases questions