Unit 7 Assignment: Multi-Tier Architecture and Working with XML Outcomes covered

Unit 7 Assignment: Multi-Tier Architecture and Working with XML
Outcomes covered in this activity:
Unit Outcomes:
Create XML sequential file from the data.
Add data, remove data, and update data.
Identify client/server relationship.
Apply three-tier architecture.
Course Outcome:
IT391-4: Analyze client/server relationship.
Purpose
The purpose of this assignment is to design and implement a multi-tier application. The data will be stored in an XML file. You will first create an XML file using a text editor of your choice. Specifically, you will create an XML file that holds 24 final student grades. The application you create will read and parse the grades from the XML file (stored on the server). The application will then calculate the average grade, the lowest grade, and the highest grade and return this information to a browser page, using a form to display the values.
Java students will create the application using Java Server Pages (JSP).
C# students will create the application using C# and ASP.NET or ASP.NET Core
Web Development students will create the application using HTML with PHP and/or JavaScript.
It is important to design the application before coding (implementation) begins.
Create a design document that shows the approach you will take in creating the application, including the description of each tier.
When you have completed the assignment, document the steps you took, and discuss any issues you faced and how you addressed each issue.
Assignment Instructions
1. Create an XML file that stores 24 student grades.
2. Store the XML file on your server. Use the following locations based on the programming language you are using:
Java: on the Apache® Tomcat server — store the file in the Temp folder.
C#: on the Microsoft Internet Information Server® (IIS) within Visual Studio — store the file in the IIS root directory, which during a typical installation is located in C:Program Files (x86)IIS Express.
Web Development: on the Apache web server — store the file in the htdocs folder.
(Videos in the reading section are available in this unit for using Java with the Apache Tomcat and for using C# with IIS. For web development, you will use the XXAMP Apache web server that you set up for previous units.)
3. Name the file studentGrades.xml.
You will find examples of how to create an XML file and what the format is in your textbook readings and videos.
Write a multi-tier program that performs the following actions:
1. Read and parse the grades from the studentGrades.xml.
2. Determine the lowest grade, the highest grade, and the average grade. Display these values to the screen in graphical user interface form, not console output.
3. Provide documentation of steps taken, issues faced, and how issues were resolved. (You can add this to the end of the design document.)
Directions for Saving and Submitting Your Assignments
Zip your solution folder, the design document, and the XML file in one zip file.

Posted in C++

Unit 7 Assignment: Multi-Tier Architecture and Working with XML Outcomes covered

Unit 7 Assignment: Multi-Tier Architecture and Working with XML
Outcomes covered in this activity:
Unit Outcomes:
Create XML sequential file from the data.
Add data, remove data, and update data.
Identify client/server relationship.
Apply three-tier architecture.
Course Outcome:
IT391-4: Analyze client/server relationship.
Purpose
The purpose of this assignment is to design and implement a multi-tier application. The data will be stored in an XML file. You will first create an XML file using a text editor of your choice. Specifically, you will create an XML file that holds 24 final student grades. The application you create will read and parse the grades from the XML file (stored on the server). The application will then calculate the average grade, the lowest grade, and the highest grade and return this information to a browser page, using a form to display the values.
Java students will create the application using Java Server Pages (JSP).
C# students will create the application using C# and ASP.NET or ASP.NET Core
Web Development students will create the application using HTML with PHP and/or JavaScript.
It is important to design the application before coding (implementation) begins.
Create a design document that shows the approach you will take in creating the application, including the description of each tier.
When you have completed the assignment, document the steps you took, and discuss any issues you faced and how you addressed each issue.
Assignment Instructions
1. Create an XML file that stores 24 student grades.
2. Store the XML file on your server. Use the following locations based on the programming language you are using:
Java: on the Apache® Tomcat server — store the file in the Temp folder.
C#: on the Microsoft Internet Information Server® (IIS) within Visual Studio — store the file in the IIS root directory, which during a typical installation is located in C:Program Files (x86)IIS Express.
Web Development: on the Apache web server — store the file in the htdocs folder.
(Videos in the reading section are available in this unit for using Java with the Apache Tomcat and for using C# with IIS. For web development, you will use the XXAMP Apache web server that you set up for previous units.)
3. Name the file studentGrades.xml.
You will find examples of how to create an XML file and what the format is in your textbook readings and videos.
Write a multi-tier program that performs the following actions:
1. Read and parse the grades from the studentGrades.xml.
2. Determine the lowest grade, the highest grade, and the average grade. Display these values to the screen in graphical user interface form, not console output.
3. Provide documentation of steps taken, issues faced, and how issues were resolved. (You can add this to the end of the design document.)
Directions for Saving and Submitting Your Assignments
Zip your solution folder, the design document, and the XML file in one zip file.

Posted in C++

Unit 6 Assignment: Validating Data Outcomes addressed in this activity: Unit Out

Unit 6 Assignment: Validating Data
Outcomes addressed in this activity:
Unit Outcomes:
Begin the UI development.
Develop user input validation plan.
Course Outcomes:
IT391-3: Analyze best practices for interactive user interface design.
GEL-2.02: Interpret various data formats.
Purpose
The purpose of this assignment is to develop and implement a user interface that accepts user input.
This assignment will consist of two parts (Part A and Part B).
Assignment Requirements
For the programming portion:
Java students: use WindowBuilder™ in Eclipse.
C# students: use Visual Studio.
Web development students use the HTML Web Editor in Eclipse.
There are videos on the reading page that show how to use each of these tools.
Graphical User Interface — C#
Graphical User Interface — Java
Graphical User Interface — Web Development
Assignment Instructions
Unit 6 Assignment: Part A
Consider the data that you will be asking the user to input and write a 1- to 2-page data input validation plan that includes the following:
A discussion of the steps you will take in your interface design to ensure that data entry is correct in terms of content and format.
A review of the data types for each field of data entry in the user interface that you developed.
An explanation of the rationale for choosing each data type.
Your sources and content should follow proper APA citation style. For more information on APA style formatting, go to Academic Writer, formerly APA Style Central, under the Academic Tools area of this course.
Unit 6 Assignment: Part B
Using the appropriate tool for your language, (as noted above), implement a user interface that allows the user to enter data. You can create the interface based on your previously created wireframe, or you can create a new interface. Validate the data according to your data validation plan.
When the user interface is complete, ask at least one person to use the interface and provide feedback. Test that your data validation plan is implemented and working correctly. Record the results of your test.
For the test, ask the user to enter both correct and incorrect data and both correct and incorrect formats to demonstrate that validation is working. Your test report should list each input provided by the user and the result.
Input Age (between 5 and 18):
User enters 19 Result:
Age is out of range
Input Email: User enters happy.purdueglobal.edu
Result: email requires an @ symbol
Directions for Submitting Your Assignment
Submit a single zip file containing the data validation plan, the zipped project folder, and the test results (in Word or Excel)

Posted in C++

“Implementing polymorphism and virtual functions in C++ for better code structur

“Implementing polymorphism and virtual functions in C++ for better code structure. Using GCC compiler.”Title: Notes on C++ Programming
1. Introduction to C++:
– C++ is a high-level programming language derived from C, with added features.
– Combines procedural and object-oriented programming paradigms.
– Widely used in system/application software, game development, embedded systems, etc.
2. Basic Syntax:
– Similar to C, includes data types, variables, control structures, functions, etc.
– Additional features like classes, objects, inheritance, polymorphism, etc.
3. Object-Oriented Programming (OOP) Concepts:
– Classes and Objects:
– Classes define blueprints for objects, encapsulating data and methods.
– Objects are instances of classes, representing real-world entities.
– Inheritance:
– Allows a class to inherit properties and behavior from another class.
– Supports the creation of hierarchical class structures.
– Polymorphism:
– Ability of objects to take multiple forms, achieved through function overloading and overriding.
– Encapsulation:
– Bundling data and methods within a class, hiding internal implementation details.
4. Pointers and Memory Management:
– Pointers facilitate dynamic memory allocation and manipulation.
– Essential for managing memory efficiently, but requires careful handling to avoid memory leaks and segmentation faults.
5. Standard Template Library (STL):
– Provides a collection of generic data structures and algorithms.
– Includes containers (vectors, lists, maps, etc.) and algorithms (sorting, searching, etc.).
– Boosts productivity and code reusability.
6. Exception Handling:
– Mechanism to handle runtime errors gracefully.
– Enables the separation of error-handling code from normal program logic.
– Uses try, catch, and throw keywords.
7. File Handling:
– Allows reading from and writing to files.
– Uses streams (ifstream, ofstream) to perform file operations.
– Facilitates input/output operations for persistent data storage.
8. C++11/14/17 Features:
– Modern C++ standards introduce new features like lambda expressions, auto keyword, smart pointers, etc.
– Enhances code readability, performance, and maintainability.
9. Compiler and Development Environment:
– Various compilers available (GCC, Clang, Visual C++, etc.).
– Integrated Development Environments (IDEs) like Visual Studio, Code::Blocks, and CLion offer comprehensive tools for C++ development.
10. Best Practices and Coding Guidelines:
– Follow naming conventions and coding standards for consistency.
– Use comments to document code and improve readability.
– Practice modularization and code reuse for maintainability.
11. Conclusion:
– C++ is a powerful and versatile programming language suitable for a wide range of applications.
– Understanding its core concepts and features is essential for writing efficient and maintainable code.

Posted in C++

The code is a demo for the Conway’s game of life, need to be review that it look

The code is a demo for the Conway’s game of life, need to be review that it looks good. Then optimize the implementation of Conway’s Game of Life using pragmas in order to improve performance while ensuring the RTL cosimulation works correctly and how to interpret the results of the waveform.

Posted in C++

Write the definitions of the functions to implement the operations defined for t

Write the definitions of the functions to implement the operations defined for the class dateType in Programming Exercise 6.
You may write a main.cpp to test your class dateType. You will only be graded on the contents of the dateType class. Make sure your dates are formatted MM-DD-YYYY.
Task #01: dateType class works as expected
Task #02: Implement the numberOfDaysPassed function of the dateTypeclass
Task #03: Implement the getDaysInMonth function of the dateType class
Task #04: Implement the isLeapYear function of the dateType class
Task #05: The incrementDate method increments the day by the given number of days
Task #06: numberOfDaysLeft function returns the number of days left in the year

Posted in C++

Write the definitions of the functions to implement the operations defined for t

Write the definitions of the functions to implement the operations defined for the class dateType in Programming Exercise 6.
You may write a main.cpp to test your class dateType. You will only be graded on the contents of the dateType class. Make sure your dates are formatted MM-DD-YYYY.
Task #01: dateType class works as expected
Task #02: Implement the numberOfDaysPassed function of the dateTypeclass
Task #03: Implement the getDaysInMonth function of the dateType class
Task #04: Implement the isLeapYear function of the dateType class
Task #05: The incrementDate method increments the day by the given number of days
Task #06: numberOfDaysLeft function returns the number of days left in the year

Posted in C++

Hello, I need help with creating a project in C++. I attached the file with the

Hello, I need help with creating a project in C++. I attached the file with the instructions. The final project has to have 5 files (as the instruction says). Programming language: C++, using Sorting Algorithms and Object-oriented programming! You must comment your program properly – describe why you wrote each line of code in this way. No plagiarism allowed!

Posted in C++

In c++, Define a class counterType to implement a counter. Your class must have

In c++, Define a class counterType to implement a counter. Your class must have a private data member counterof type int. Define a constructor that accepts a parameter of type int and initializes the counterdata member. Add functions to:
Set counter to the integer value specified by the user.
Initialize counter to 0.
Return the value of counter with a function named getCounter.
Increment and decrement counter by one.
Print the value of counter using the printfunction.Example output: Counter = 0.
The value of counter must be nonnegative.
Task 1: Included the private member variable counter
Task 2: counterType’s getCounterreturns the value of counter
Task 3: counterType’s incrementCounter increments the value of counter
Task 4: counterType’s decrementCounter decrements the value of counter
Task 5: counterType’s print prints the value of counter main.cpp was provided: #include
#include “counterType.h”
#include
using namespace std;
int main()
{
counterType counter1;
counterType counter2(5);
counter1.print();
cout << endl; counter1.incrementCounter(); cout << "After Increment counter1: " << counter1.getCounter() << endl; cout << "Counter2 = " << counter2.getCounter() << endl; counter2.decrementCounter(); cout << "After decrement counter2 = " << counter2.getCounter() << endl; counter1.setCounter(-6); cout << "After resetting counter1: " << counter1.getCounter() << endl; return 0; }

Posted in C++

In c++, Define a class counterType to implement a counter. Your class must have

In c++, Define a class counterType to implement a counter. Your class must have a private data member counterof type int. Define a constructor that accepts a parameter of type int and initializes the counterdata member. Add functions to:
Set counter to the integer value specified by the user.
Initialize counter to 0.
Return the value of counter with a function named getCounter.
Increment and decrement counter by one.
Print the value of counter using the printfunction.Example output: Counter = 0.
The value of counter must be nonnegative.
Task 1: Included the private member variable counter
Task 2: counterType’s getCounterreturns the value of counter
Task 3: counterType’s incrementCounter increments the value of counter
Task 4: counterType’s decrementCounter decrements the value of counter
Task 5: counterType’s print prints the value of counter

Posted in C++