ECSE202L Lab Assignment 1 solution

$14.99

Original Work ?

Download Details:

  • Name: Lab1-5.zip
  • Type: zip
  • Size: 99.35 KB

Category: You will Instantly receive a download link upon Payment||Click Original Work Button for Custom work

Description

5/5 - (4 votes)

Question 1: Write a program in Java to generate 1000 random numbers in a range from 1 to 99 and write it down in the file.
Question 2: Write a program in Java to search a user defined or a random variable in the file generated in question 1 and display the required number of iterations.
Question 3: Write a program in java to find a user defined number in the Sorted array using Binary Search Technique and display the required number of iteration.
Input File: 1000 Random Numbers
Output File: Number of Iterations for the user defined numbers.