IT2249 Introduction to Programming with Java
Unit 01 Discussion
Your First Java Console Application
Review the resources and instructions in the Discussion Prep Study before completing this discussion.
To prepare for this discussion, set up your Java development environment using the NetBeans IDE and develop your first Java console application that displays the words “Hello, World!” to the screen. Review the resources in the Unit 1 Discussion Prep Study.
Download, install, and configure the NetBeans IDE to your computing device. Then, using NetBeans, create a new Java console application that displays “Hello, World!” on the screen.
For this discussion:
Provide a screenshot of the result of your work. Your screenshot should look like the "Hello World Result."
Explain, briefly, how you completed this exercise, the major issues you faced, and how you solved them.
IT2249 Introduction to Programming with Java
Unit 02 Discussion
Echo Input from the Console to the Screen
Review the resources and instructions in the Discussion Prep Study before completing this discussion.
To prepare for this discussion, you practiced echoing the value read from the console to the screen. Create a Java program that reads in any value entered at the console and then prints it out to the screen.
Provide a screenshot of your result of your work. Your screenshot should look like the example in the "Echo Input Results" resource.
Explain, briefly, how you completed this exercise, the algorithm you used (via pseudo code or other description tools), the major issues you faced, and how you solved them.
IT2249 Introduction to Programming with Java
Unit 03 Discussion
Debug and Fix Four Compile Time Errors
Review the resources and instructions in the Discussion Prep Study before completing this discussion.
For this discussion, you practiced debugging a Java program that does not compile and fixing it so that it compiles without errors. The program is to read in an integer value and then determines if the value is a multiple of 5 number, an even number, or neither. But the program has four compile errors.
Identify these compile errors and propose remedies for each compile error. Note that these errors are compile errors and are not runtime or program logic errors.
Provide a screenshot of your result of your work. (See the example in the "Four Compile Errors Results" resource.)
Explain, briefly, how you completed this exercise, the major issues you faced, and how you solved them.
IT2249 Introduction to Programming with Java
Unit 04 Discussion
Determine if a Character is a Letter, a Digit, or Neither
Review the resources and instructions in the Discussion Prep Study before completing this discussion.
For this discussion, you explored some of the available methods of the Character class to manipulate individual characters.
Create a Java program that reads in a single character entered at the console and then prints it out if the character is a letter, a digit, or neither.
Provide screenshots of the result of your work. Your screenshots should look like those in the "IsLetterIsDigitElse Result" Resource.
Explain, briefly, how you completed this exercise, the algorithm you used (via pseudo code or other description tools), the major issues you faced, and how you solved them.
IT2249 Introduction to Programming with Java
Unit 05 Discussion
Add Five Integers Using Java Loops
Review the resources and instructions in the Discussion Prep Study before completing this discussion.
For this discussion, practiced looping constructs by repeatedly reading the values of integers from the console and tallies their sum.
Create a Java program that reads in five integer values entered at the console and tallies their sum. The program then prints the sum out to the screen.
Provide a screenshot of the result of your work. Your screenshot should look like the "Add5IntsWithLoops Results" resource.
Explain, briefly, how you completed this exercise, the algorithm you used (via pseudo code or other description tools), the major issues you faced, and how you solved them.
IT2249 Introduction to Programming with Java
Unit 06 Discussion
Echo Input from the Console to the Screen Using Methods
Review the resources and instructions in the Discussion Prep Study before completing this discussion.
For this discussion, you practiced using Java methods to echo input from the console to the screen. Create a Java program that reads in any value entered at the console and then prints it out to the screen. The program must have at least three methods including the main() method.
Provide a screenshot of the result of your work.
Explain, briefly, how you completed this exercise, the algorithm you used (via pseudo code or other description tools), the major issues you faced, and how you solved them.
IT2249 Introduction to Programming with Java
Unit 07 Discussion
Echo Five Integers Using Java Arrays
Review the resources and instructions in the Discussion Prep Study before completing this discussion.
In this discussion, you will practice using Java arrays to store values entered at the console and then to print them out to the screen. That is, you will practice echoing the entered values using arrays.
Create a Java program that reads in five integer values entered at the console and stores them into an array. The program then prints these integer values out to the screen.
Provide a screenshot of the result of your work.
Explain, briefly, how you completed this exercise, the algorithm you used (via pseudo code or other description tools), the major issues you faced, and how you solved them.
IT2249 Introduction to Programming with Java
Unit 08 Discussion
Count Occurrences in Seven Integers Using Java Two Dimension Arrays
Review the resources and instructions in the Discussion Prep Study before completing this discussion.
In this discussion, you will practice using a Java 2-dimensional array to count the number of occurrences of seven integer values entered by the user from the keyboard.
Create a Java program that reads in seven integer values entered at the console, counts the number of occurrences of each of the seven values, and prints the number of occurrences to the screen.
Provide a screenshot of the result of your work.
Explain, briefly, how you completed this exercise, the algorithm you used (via pseudo code or other description tools), the major issues you faced, and how you solved them.
IT2249 Introduction to Programming with Java
Unit 09 Discussion
Design, Draw UML Class Diagram, and Implement a Java Course Class
Review the resources and instructions in the Discussion Prep Study before completing this discussion.
For this discussion, you practiced designing a Java class called Course, drawing a UML class diagram for the Course class, and then implementing the Course class in Java code. Review the Resources section to help you with this discussion.
Design a Java class called Course that has the following attributes:
code – a string field to store the course code (e.g., IT1006).
creditHours – an int field to store the credit hours of the course (e.g., 6).
Draw a UML class diagram for the Course class. Then implement your design of the Course class in Java.
Provide a screenshot of the result of your work.
Explain, briefly, how you completed this exercise, the major issues you faced, and how you solved them.
IT2249 Introduction to Programming with Java
Unit 10 Discussion
Complete the Programming of a Simple Object-Oriented Application
Review the resources and instructions in the Discussion Prep Study before completing this discussion.
For this discussion, you practiced instantiating an already defined Java class into objects and invoking the attributes of these objects. Unzip the attached NetBeans project zip file (U10D1_InstantiateUseArrayOfObjects.zip) and load it into your NetBeans IDE.
The project defines two classes:
A Java class called Course (in Course.java) with certain attributes, and
Another class called U10D1_InstantiateUseArrayOfObjects (in U10D1_InstantiateUseArrayOfObjects.java). This class creates an array of Course objects and initializes their attributes to specific values and then calls the WriteCurrentRegistration() to print the current list of registered classes and their total credit hours. The WriteCurrentRegistration() still needs to be coded.
Code the WriteCurrentRegistration() method to meet the stated requirements specified in the project.
For this discussion:
Provide a screenshot of the result of your work.
Explain, briefly, how you completed this exercise, the algorithm you used (via pseudo code or other description tools), the major issues you faced, and how you solved them.
IT2249 Introduction to Programming with Java
Unit 1 Assignment
Software Development and Your Role in It
In this assignment, you will articulate the roles played by team members in a software development project. You will explain how the Java programming language and development environment enable you to perform your role as a software programmer/developer in a development project.
Please refer to the studies in this unit to learn about the software development process and the roles played in a typical software development project. You may wish to reference these resources in your assignment.
Follow these steps to complete this assignment:
Research the software development process and the roles played by the development team members in software development projects.
Create a document named “U1A1_SWRoles.docx” of 2–3 pages in which you:
Describe the software development process and its phases.
Explain at least four of the roles played by team members in a software development project and examine their corresponding responsibilities. The four roles must include the role of the software developer/programmer.
As an aspiring Java programmer, articulate how the Java programming language and the Java development environment enable you to perform the role of a Java developer in a software development project.
Your document should follow APA style and guidelines, including proper spelling and grammar. See the APA Module linked in the Resources for more information.
Deliverables
Submit your paper as Word document saved as: "U1A1_SWRoles.doc."
Your assignment will be scored on the following criteria:
Describe the software development process and its phases.
Explain roles and responsibilities of the developer/programmer teams.
Articulate how the programming language and development environment enable the role of a developer/programmer.
Communicates efficiently, effectively, and in an appropriate manner as an IT professional.
Resources
Use the following, linked in the Resources:
6 Basic Steps of Software Development.
The Key Difference Between Developer and Architect Roles
Team Functions and Responsibilities.
Five Key Roles and Responsibilities for Software Development Projects Success.
SDLC: Overview.
Java Developer Job Description.
IT2249 Introduction to Programming with Java
Unit 2 Assignment
Add and Multiply Three Integers
In this assignment, you will design and code a simple Java application that reads in three integer values and prints out both the sum and the product of these three values.
Your program output should look like the sample output provided in the "Add and Multiply Three Integers" course file resource. Complete instructions and required templates are included in the Resources section (Week X Solution Submission Template and Add and Multiply Three Integers Instructions).
Your assignment will be scored on the following criteria:
Design a program that meets Java arithmetic operators requirements.
Code an application that exercises fundamental constructs.
Test the application and document testing.
Explain the approach taken to develop the application and the major decisions made.
Identify relevant fundamental constructs in the submitted program.
Communicates efficiently, effectively, and in an appropriate manner as an IT professional.
Resources
Add and Multiply Three Integers Scoring Guide.
Opening an Existing Project in NetBeans.
Week X Solution Submission Template.
Add and Multiply Three Integers Instructions.
IT2249 Introduction to Programming with Java
Unit 3 Assignment
Debug and Fix if Statements
In this assignment, you will debug and fix a given Java console application that uses if statements, but the application does not compile nor execute.
Your program output should look like the sample output provided in the "Debug and Fix if Statements" course file resource. Full instructions for successfully completing this assignment are included in this resource. Use the submission template provided in the resources, WeekXSolutionSubmissionTemplate.docx.
Your assignment will be scored on the following criteria:
Identify Java decision statement bugs in a program using development tools.
Code an application to fix bugs.
Test the application and document testing.
Explain the approach taken to complete the fix and the major decisions made.
Identify relevant fundamental constructs in the submitted program.
Communicates efficiently, effectively, and in an appropriate manner as an IT professional.
Resources
Debug and Fix if Statements Scoring Guide.
DebugFixIFStmts.zip.
Week X Solution Submission Template.
Debug and Fix if Statements Instructions.
IT2249 Introduction to Programming with Java
Unit 4 Assignment
Validate User Input Using Java Chars and Strings
In this assignment, you will design and code a Java console application that validates the data entry of a course code (like IT4782) and report back if the course code is valid or not valid. The application uses the Java char and String data types to implement the validation.
Your program output should look like the sample output provided in the "Validate User Input Using Java Chars and Strings Instructions" course file resource. Full instructions for successfully completing this assignment are included in this resource. Use the submission template, WeekXSolutionSubmissionTemplate.docx.
Your assignment will be scored on the following criteria:
Design a program that meets char and String processing requirements.
Code an application that validates data entry.
Test the application and document testing.
Explain the approach taken to complete data validation and the major decisions made.
Identify relevant fundamental constructs in the submitted program.
Communicates efficiently, effectively, and in an appropriate manner as an IT professional.
Resources
Validate User Input Using Java Chars and Strings Scoring Guide.
Week X Solution Submission Template.
Validate User Input Using Java Chars and Strings Instructions.
IT2249 Introduction to Programming with Java
Unit 5 Assignment
Find Highest and Lowest of Five Integers Using Java Loops
In this assignment, you will design and code a Java console application that takes as input five integer values and produces as output the lowest and highest values of these five integer values. The application uses Java looping constructs to implement its functionality.
Your program output should look like the sample output provided in the "Find Highest and Lowest of Five Integers Using Java Loops Instructions" course file resource. Full instructions for successfully completing this assignment are included in this resource. Use the provided submission template, WeekXSolutionSubmissionTemplate.docx.
Your assignment will be scored according to the following criteria:
Design a program that meets Java looping statements requirements.
Code an application that exercises looping constructs.
Test the application and documents testing.
Explain the approach taken to develop the application and the major decisions made.
Identify relevant fundamental constructs in the submitted program.
Communicates efficiently, effectively, and in an appropriate manner as an IT professional.
Resources
Find Highest and Lowest of Five Integers Using Java Loops Scoring Guide.
Week X Solution Submission Template.
Find Highest and Lowest of Five Integers Using Java Loops Instructions.
IT2249 Introduction to Programming with Java
Unit 6 Assignment
Complete the Programming of a Java Console Application Using Methods
In this assignment, you will complete the programming of a Java method in a console application that registers students for courses in a term of study. The application does compile and does run, but it does not produce the expected result as stated in its requirements.
Your program output should look like the sample output provided in the "Complete the Programming of a Java Console Application Using Methods Instructions" course file resource. Full instructions for successfully completing this assignment are included in this resource. Use the submission template, WeekXSolutionSubmissionTemplate.docx.
Your assignment will be scored on the following criteria:
Design a program that meets Java method invocation requirements.
Code an application that uses methods.
Test the application and document testing.
Explain the approach taken to complete this assignment and the major decisions made.
Identify relevant fundamental constructs in the submitted program.
Communicates efficiently, effectively, and in an appropriate manner as an IT professional.
Resources
Complete the Programming of a Java Console Application Using Methods Scoring Guide.
Console Register for Course Result | Transcript.
U6A1_ConsoleRegisterForCourse.zip.
Complete the Programming of a Java Console Application Using Methods Instructions.
Week X Solution Submission Template.
IT2249 Introduction to Programming with Java
Unit 7 Assignment
Count Occurrences in Seven Integers Using Java Single Dimension Arrays
In this assignment, you will design and code a Java console application that reads in seven integer values and prints out the number of occurrences of each value. The application uses the Java single dimension array construct to implement its functionality.
Your program output should look like the sample output provided in the "Count Occurrences in Seven Integers Using Java Single Dimension Arrays Instructions" course file resource. Full instructions for successfully completing this assignment are included in this resource. Use the submission template available in the resources, WeekXSolutionSubmissionTemplate.docx.
Your assignment will be scored on the following criteria:
Design a program that meets Java single dimensional arrays requirements.
Code an application that exercises single array constructs.
Test the application and document testing.
Explain the approach taken to develop the application and the major decisions made.
Identify relevant fundamental constructs in the submitted program.
Communicates efficiently, effectively, and in an appropriate manner as an IT professional.
Resources
Count Occurrences in Seven Integers Using Java Single Dimension Arrays Scoring Guide.
Week X Solution Submission Template.
Count Occurrences in Seven Integers Using Java Single Dimension Arrays Instructions.
IT2249 Introduction to Programming with Java
Unit 8 Assignment
Debug and Fix a 2-Dimensional Array Java Console Application
In this assignment, you will debug and fix a given Java console application that uses 2-dimensional arrays, but the application does not compile nor execute.
Your program output should look like the sample output provided in the "Debug and Fix a 2-Dimensional Array Java Console Application Instructions" course file resource. Full instructions for successfully completing this assignment are included in this resource. Use the submission template from the resources, WeekXSolutionSubmissionTemplate.docx.
Your assignment will be scored on the following criteria:
Identify Java 2-dimensional array bugs in a program using development tools.
Code an application to fix bugs.
Test the application and document testing.
Explain the approach taken to complete this assignment and the major decisions made.
Identify relevant fundamental constructs in the submitted program.
Communicates efficiently, effectively, and in an appropriate manner as an IT professional.
Resources
Debug and Fix a 2-Dimensional Array Java Console Application Scoring Guide.
2D Console Register for Course | Transcript.
U8A1_2DConsoleRegisterForCourse.zip.
Week X Solution Submission Template.
Debug and Fix a 2-Dimensional Array Java Console Application Instructions.
IT2249 Introduction to Programming with Java
Unit 9 Assignment
Define Java Classes and Instantiate Their Objects
In this assignment, you will design and code a simple Java application that defines a class, instantiates the class into a number of objects, and prints out the attributes of these objects in a specific way.
Your program output should look like the sample output provided in the "Define Java Classes and Instantiate their Objects Instructions" course file resource. Full instructions for successfully completing this assignment are included in this resource. Use the submission template available in the resources, WeekXSolutionSubmissionTemplate.docx.
Your assignment will be scored on the following criteria:
Design a program that meets basic object-oriented constructs requirements.
Code an application that exercises classes and objects.
Test the application and document testing.
Explain the approach taken to develop the application and the major decisions made.
Identify relevant fundamental constructs in the submitted program.
Communicates efficiently, effectively, and in an appropriate manner as an IT professional.
Resources
Define Java Classes and Instantiate Their Objects Scoring Guide.
Week X Solution Submission Template.
Define Java Classes and Instantiate Their Objects Instructions.
IT2249 Introduction to Programming with Java
Unit 10 Assignment
Complete the Programming of an Object-Oriented Console Application
In this assignment, you will complete the programming of two Java class methods in a console application that registers students for courses in a term of study. The application is written using the object-oriented features of the Java programming language. The application does compile and does run, but it does not produce the expected result as stated in its requirements.
Your program output should look like the sample output provided in the "Complete the Programming of an Object-Oriented Console Application Instructions" course file resource. Full instructions for successfully completing this assignment are included in this resource. Use the submission template available in the resources, WeekXSolutionSubmissionTemplate.docx.
Your assignment will be scored on the following criteria:
Design a program that meets object-oriented design requirements.
Code an application that exercises object-orientation.
Test the application and document testing.
Explain the approach taken to develop the application and the major decisions made.
Identify relevant fundamental constructs in the submitted program.
Communicates efficiently, effectively, and in an appropriate manner as an IT professional.
Resources
Complete the Programming of an Object-Oriented Console Application Scoring Guide.
OO Console Register for Course | Transcript.
Opening an Existing Project in NetBeans.
OOConsoleRegisterForCourse.zip.
Complete the Programming of an Object-Oriented Console Application Instructions.
Week X Solution Submission Template.