akosiraff

Download CIST 1305 Unit 07 Lab Answer

Nov 6th, 2017
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.28 KB | None | 0 0
  1.  
  2. Download: https://solutionzip.com/downloads/cist-1305-unit-07-lab/
  3. CIST 1305
  4. Unit 07 Drop Box Assignment
  5. The Assignment
  6. ONLY ONE FILE may be turned in for the assignment. If you make a mistake and need to turn in your work
  7. again, you may do so. I will only grade the latest file you turn in. The older ones will be ignored. For instruction
  8. on How To do assignments and create the file see the “How To Do Homework” document under the “Start Here”
  9. button.
  10. You will create a word processing document and create a psuedocode solution to the following problem.
  11. Design an application that prompts the user to enter a number as an array size, and then attempt to declare an
  12. array using the entered size. If the array is created successfully, display an appropriate message. Assume that a
  13. NegativeArraySizeException is generated if you attempt to create an array with a negative size, and that a
  14. NumberFormatException is generated if you attempt to create an array using a nonnumeric value for the size.
  15. Use a catch block that executes if the array size is nonnumeric or negative and displays a message that the
  16. array was not created. [1]
  17. What to turn in
  18. At the top of your paper make sure you put your name, date, and “CIST 1305 Unit 07 Lab”. You can save your
  19. document for your own use in any format you like. Name your paper “Unit07_Lab_.xxx”. Where xxx is the file extension your word processor uses. So Tom Swift (who used Word) would
  20. name his file Unit01_Lab_tswift.docx.
  21. But, create a PDF document to turn in. So Tom’s document to turn in would be named Unit07_Lab_tswift.pdf.
  22. All modern word processors can create a PDF file by use of a “Save As …” dialog or an “Export…” dialog usually
  23. found under the “File” menu. If you are not sure how to export a PDF Google it to find out. If that does not help
  24. post to our HELP discussion board.
  25. Grading Rubric
  26. How your answer will be graded
  27. File turned in is in PDF format 10.00%
  28. Correct prompt and input statements and output statement is present for normal operation 15.00%
  29. Try block is correct 25.00%
  30. Both exceptions are caught correctly 50.00%
  31. [1] Farrell, Joyce, An Object-Oriented Approach to Program Logic and Design, 4th ed, p 398
  32. Version 1.3
  33. Download: https://solutionzip.com/downloads/cist-1305-unit-07-lab/
Add Comment
Please, Sign In to add comment