STUDYSHIELDS ASSIGNMENT HELP

  • Home
  • Blog
  • Courses
    • Child Category 1
    • Child Category 2
    • Child Category 3
    • Child Category 4
  • Services
  • Country
    • Childcare
    • Doctors
  • Home
  • Blog
  • Sample Works
  • Order Now

Friday, February 5, 2016

Write a Java program which reads a text file called mydata.txt

 February 05, 2016     No comments   

1. Write a Java program which reads a text file called mydata.txt containing the following numbers: 23 18 78 64 28 39 92 93 69 and computes the minimum, maximum and sum of the numbers and puts the output in a file called myresults.txt. (10 Points)

Attach your java program and your input and output files.

2. Write a Java Program that prints out Division by Zero and Array Out of Bounds Exceptions when a User attempts to find all integers from 1 to 1000 whose last digit is 3, but which are not divisible by 3. Attach your java program and screen capture output. (10 Points)

3. Implement the following a Phone Address Book using the Array List data structure. The Phone Book should do the following: Add Name and Phone Number to Address Book, Edit Name and Phone Number, Delete an Entry, Display all Names and Phone numbers in the Address Book. Attach your Java Programs and Screen capture of each of the runs requested. (10 points)

4.Write a Java Program which prints out all 92 solutions of the 8-Queen Problem, but modify the program to display only those solutions which are not on the 4th row or 5th column of the 8x8 matrix. Attach your Java Program and Screen Capture of the runs. (10 points)

5. Write a Java Program which implements a Stack of Integers. An Integer should only be pushed into the stack if it is even or contains the number 7. Now pop all integers that contain 5 or 9. Do this for the first 100 numbers. Print out the numbers remaining in the stack after the Pop operation. Attach your Java Program and Screen Capture of the runs. (10 points)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg
Email ThisBlogThis!Share to XShare to Facebook
Newer Post Older Post Home

0 comments:

Post a Comment

Click Here to Place order

Popular Posts

  • A “criminal minds” Aileen Wournos individual will be your “patient”
     A “criminal minds” Aileen Wournos individual will be your “patient”  A brief history of the patient including diagnoses (documented or your...
  • CEO Jane Lionel has some hard decisions to make with regard to some of the company’
     CEO Jane Lionel has some hard decisions to make with regard to some of the company’solder hands, and even on the eve of that decision, I be...
  • Problem in Supply Chain
    Problem in Supply Chain Problem 2. (Chapter 11: The Storage and Handling System) Compare the constrast private ownership of storage space to...

Recent Posts

Unordered List

Pages

  • Home

Text Widget

Blog Archive

  • November 2022 (20)
  • October 2022 (50)
  • September 2022 (119)
  • August 2022 (107)
  • February 2022 (501)
  • January 2022 (443)
  • December 2021 (488)
  • November 2021 (1574)
  • October 2021 (28)
  • September 2021 (11)
  • July 2021 (8)
  • June 2021 (15)
  • May 2021 (39)
  • April 2021 (15)
  • March 2021 (303)
  • February 2021 (712)
  • January 2021 (903)
  • December 2020 (2)
  • September 2020 (33)
  • April 2016 (5183)
  • March 2016 (3763)
  • February 2016 (4356)
  • January 2016 (1749)
  • December 2015 (22)
  • November 2015 (147)
  • October 2015 (23)

Sample Text

Copyright © STUDYSHIELDS ASSIGNMENT HELP | Powered by Blogger
Design by Hardeep Asrani | Blogger Theme by NewBloggerThemes.com | Distributed By Gooyaabi Templates