Categories
Web programming

Unit 5 Assignment: Algorithms and Modeling Outcomes addressed in this activity:

Unit 5 Assignment: Algorithms and Modeling
Outcomes addressed in this activity:
Unit Outcomes:
Define algorithm.
Synthesize the importance of modeling in software development.
Describe modeling techniques.
Read a flowchart.
Read pseudocode.
Write code from a given flowchart or pseudocode.
Course Outcome:
IT213-3: Create plans for programs using an understanding of historical development of programming techniques and appropriate modeling techniques.
Purpose
The purpose of this assignment is to use modeling tools, such as flowcharts and pseudocode, for planning and documenting programs. Flowcharts show the flow of a program’s logic at a glance. Some brief pseudocode is also incorporated into the shapes to show processing logic. Pseudocode is used to more closely model the actual code without regard to any particular programming language’s syntax. Pseudocode should show the programmer every bit of processing in a program to be useful in writing the actual code.
Assignment Instructions
This assignment consists of two parts. For the first part, you will be creating a flowchart diagram and writing pseudocode to document a solution for the posed scenario. For the second part, you will use the provided model to complete a program in your selected language path.
You can create your diagrams in Visio®, Word, or PowerPoint® (using drawing tools in Word or PowerPoint) or draw them out by hand and share photos.
Assignment Requirements
PART 1
For this scenario, you will create both the flowchart diagram and the pseudocode for a program that will accomplish the following tasks (remember you are just doing the modeling for part 1 not coding):
Average five grades
Display the average
Display a message as to whether the average is passing or failing (average above 60 is passing)
Create a flowchart diagram that depicts a loop that requests five grades to be entered by the user one grade per iteration.
Total the user entered grades and at the end of the looping display the average and incorporate a decision statement to evaluate that average and display “Congrats, you passed” if the grade is equal to or above 60 or “Sorry, you failed” if the grade is below 60.
Using the flowchart diagram you just created as a model, create a pseudocode version of the same program.
Hint: refer to the Web Readings for this week for a short video demonstration of pseudocode and flowcharts.
Include both your pseudocode and flowchart in a single document.
PART 2
Note: If your language of choice is Web Development, you will need to complete the exercises in both PHP and JavaScript.
Using the language in which you have chosen to focus: C#, Java, web development languages (PHP and JavaScript), create a program that accurately reflects the pseudocode shown below:
Create a string variable called sentence
Set sentence to the phrase “The quick brown fox jumps over the lazy dog.”
Starting at the beginning of the sentence, examine each character, until you reach the end of the sentence.
When you find a blank character that indicates the end of a word, extract that word, increment the word count and print the word.
Continue until you reach the end of the sentence.
Print the total word count.
Hint: refer to the language specific readings assigned for this week for tips on parsing strings.
PART 2 PROGRAM EXPECTED OUTPUT
1 The
2 quick
3 brown
4 fox
5 jumps
6 over
7 the
8 lazy
9 dog
Total of 9 words.
Directions for Submitting Your Assignment
You will be submitting both the Word document for part 1 and the program source file for part 2.
The source code file is the file in your project that contains the code you wrote. You will only need to submit the source code file for your program and not the entire project folder or any additional project files. Below are listed the file extensions for the source code file for each language:
.cs file for C#
.java file for Java
.php and.js files for Web Development
The two files should be named as IT213_YourLastName_UnitX_Part 1 and IT213_YourLastName_UnitX_Part 2. Both files should be submitted to the same dropbox for submission.

Categories
Web programming

Unit 5 Assignment: Algorithms and Modeling Outcomes addressed in this activity:

Unit 5 Assignment: Algorithms and Modeling
Outcomes addressed in this activity:
Unit Outcomes:
Define algorithm.
Synthesize the importance of modeling in software development.
Describe modeling techniques.
Read a flowchart.
Read pseudocode.
Write code from a given flowchart or pseudocode.
Course Outcome:
IT213-3: Create plans for programs using an understanding of historical development of programming techniques and appropriate modeling techniques.
Purpose
The purpose of this assignment is to use modeling tools, such as flowcharts and pseudocode, for planning and documenting programs. Flowcharts show the flow of a program’s logic at a glance. Some brief pseudocode is also incorporated into the shapes to show processing logic. Pseudocode is used to more closely model the actual code without regard to any particular programming language’s syntax. Pseudocode should show the programmer every bit of processing in a program to be useful in writing the actual code.
Assignment Instructions
This assignment consists of two parts. For the first part, you will be creating a flowchart diagram and writing pseudocode to document a solution for the posed scenario. For the second part, you will use the provided model to complete a program in your selected language path.
You can create your diagrams in Visio®, Word, or PowerPoint® (using drawing tools in Word or PowerPoint) or draw them out by hand and share photos.
Assignment Requirements
PART 1
For this scenario, you will create both the flowchart diagram and the pseudocode for a program that will accomplish the following tasks (remember you are just doing the modeling for part 1 not coding):
Average five grades
Display the average
Display a message as to whether the average is passing or failing (average above 60 is passing)
Create a flowchart diagram that depicts a loop that requests five grades to be entered by the user one grade per iteration.
Total the user entered grades and at the end of the looping display the average and incorporate a decision statement to evaluate that average and display “Congrats, you passed” if the grade is equal to or above 60 or “Sorry, you failed” if the grade is below 60.
Using the flowchart diagram you just created as a model, create a pseudocode version of the same program.
Hint: refer to the Web Readings for this week for a short video demonstration of pseudocode and flowcharts.
Include both your pseudocode and flowchart in a single document.
PART 2
Note: If your language of choice is Web Development, you will need to complete the exercises in both PHP and JavaScript.
Using the language in which you have chosen to focus: C#, Java, web development languages (PHP and JavaScript), create a program that accurately reflects the pseudocode shown below:
Create a string variable called sentence
Set sentence to the phrase “The quick brown fox jumps over the lazy dog.”
Starting at the beginning of the sentence, examine each character, until you reach the end of the sentence.
When you find a blank character that indicates the end of a word, extract that word, increment the word count and print the word.
Continue until you reach the end of the sentence.
Print the total word count.
Hint: refer to the language specific readings assigned for this week for tips on parsing strings.
PART 2 PROGRAM EXPECTED OUTPUT
1 The
2 quick
3 brown
4 fox
5 jumps
6 over
7 the
8 lazy
9 dog
Total of 9 words.
Directions for Submitting Your Assignment
You will be submitting both the Word document for part 1 and the program source file for part 2.
The source code file is the file in your project that contains the code you wrote. You will only need to submit the source code file for your program and not the entire project folder or any additional project files. Below are listed the file extensions for the source code file for each language:
.cs file for C#
.java file for Java
.php and.js files for Web Development
The two files should be named as IT213_YourLastName_UnitX_Part 1 and IT213_YourLastName_UnitX_Part 2. Both files should be submitted to the same dropbox for submission.

Categories
Web programming

Lab Details: Carefully read through the Overview content of the lab. It provides

Lab Details: Carefully read through the Overview content of the lab. It provides detailed instructions for accessing and completing the lab.
– Click the following link to access the lab: https://seedsecuritylabs.org/Labs_16.04/Software/Format_String_Server/
After completing the assigned activities, take a screenshot showing that each has been completed.
The screenshots must show this week date .
Paste these screenshots into a Microsoft Word document with an explanation
for each screenshot and for each step.
the document should start with an introduction and end with a conclusion of the labs activity.
Thank you.

Categories
Web programming

Lab Details: Carefully read through the Overview content of the lab. It provides

Lab Details: Carefully read through the Overview content of the lab. It provides detailed instructions for accessing and completing the lab.
– Click the following link to access the lab: https://seedsecuritylabs.org/Labs_16.04/Software/Format_String_Server/
After completing the assigned activities, take a screenshot showing that each has been completed.
The screenshots must show this week date .
Paste these screenshots into a Microsoft Word document with an explanation
for each screenshot and for each step.
the document should start with an introduction and end with a conclusion of the labs activity.
Thank you.

Categories
Web programming

Programming Assignment #3 (25 points) *modified at the end* This assignment will

Programming Assignment #3 (25 points) *modified at the end*
This assignment will give you practice with while loops and pseudorandom numbers. You are
going to write a program that allows the user to play a simple game in which your program thinks
up an integer and allows the user to try to determine the number with a minimum number of tries.
For each incorrect try you will tell the user whether the right answer is higher or lower. Your
program is required to exactly reproduce the format and behavior of the log of execution at the end
of this write-up, so you may want to look that over first.
At a minimum, your program should have the following static methods in addition to method
main:
a method to give instructions to the user
a method to report overall results to the user
You may define more methods than this if you find it helpful, although you will find that the
limitation that methods can return only one value will tend to limit how much you can
decompose this problem.
You are to define a class constant for the maximum number used in the game. The sample below
selects a number from 1 to 100, but the choice of 100 is arbitrary. By introducing a constant for
100, you should be able to change just the value of the constant to make the program play the
game with a range of 1 to 50 or a range of 1 to 250 or some other range starting with 1.
When you ask the user whether or not to play again, you should use the “next()” method of the
Scanner class to read a one-word answer from the user. You should continue playing if this
answer begins with the letter “y” or the letter “Y”. Notice that the user is allowed to type words
like “yes”. You are to look just at the first letter of the user’s response and see whether it begins
with a “y” or “n” (either capitalized or not) to determine whether to play again.
Assume that the user always types an integer when trying, that the integer is always in an
appropriate range and that the user gives you a one-word answer beginning with “y”, “Y”, “n” or
“N” when asked whether to play again.
You will notice at the end of the log that you are to report various statistics about the series of
games played by the user. You are to report the total number of games played, the total number of
tries made (all games included), the average number of tries per game and the maximum number
of tries used in any single game. You should also report the user’s best game(s) indicating which
game(s) had the minimum number of tries and what that minimum was.
Here are a few helpful hints to keep in mind:
this program needs to generate pseudorandom numbers
To deal with the yes/no response from the user, you might want to use some of the String class
methods. You will want to use the next() method of the Scanner class to read a word from the
console.
Because this program uses pseudorandom numbers you won’t be able to recreate this exact
log. The key requirement is that you reproduce the format of this log and that your calculations
for overall statistics are correct for your log.
It’s a good idea to change the value of your class constant and run the program to make sure
that everything works right with the new value of the constant. For example, turn it into a
game for numbers between 1 and 5.
This program is more difficult than most to decompose into methods, so you may end up having
methods that are longer than 15 lines. You are required to have a while loop in main that plays
multiple games and prompts the user for whether or not to play another game. You shouldn’t
have all the code in main because you are required to have the methods described at the
beginning of this write-up.
You are expected to make appropriate choices about when to store values as int versus double,
which if/else constructs to use, what parameters to pass, and so on.
Your program should be stored in a file called Guess.java.
Include a comment at the beginning of your program with basic information and a description of
the program. This includes having an adequate comment header, commenting every line, and the
integrity statement. The integrity statement must be included or the max score will be cut in half.
Turn in your screenshot in Word of the output with filename
JonBrownCIS1501ScreenShotsProgrammingAssignment3Jan122017 (your name, the course
name, the content of the file, and the date), Guess.java and Guess.class (Please make sure to
name your files exactly, including identical capitalization.) Then put all three files in one zip file.
The zip file should be named: your name, the course name, the content of the file, and the date
and then submit to the Assignments link on the course web page.
Log of execution (user input underlined)
This program allows you to play a game.
I will think of a number between 1 and 100
and will allow you to try to determine it.
For each try, I will tell you whether the
right answer is higher or lower than your
try.
I’m thinking of a number…
Your try? 20
higher
Your try? 40
higher
Your try? 60
higher
Your try? 80
higher
Your try? 100
lower
Your try? 90
lower
Your try? 88
lower
Your try? 86
Game #1: You got it right in 8 tries
Do you want to play again? Yes
I’m thinking of a number…
Your try? 20
higher
Your try? 40
higher
Your try? 60
higher
Your try? 80
higher
Your try? 82
higher
Your try? 84
higher
Your try? 86
higher
Your try? 88
higher
Your try? 90
higher
Your try? 92
higher
Your try? 94
lower
Your try? 93
Game #2: You got it right in 12 tries
Do you want to play again? YES
I’m thinking of a number…
Your try? 20
higher
Your try? 40
higher
Your try? 60
lower
Your try? 58
lower
Your try? 56
Game #3: You got it right in 5 tries
Do you want to play again? No
Overall results:
total games = 3
total tries = 25
tries/game = 8.333333333333334
max tries = 12
Your best game was Game#3 in 5 tries
Here are the modifications for this term.
user must play at least 3 games and no more than 5
you must ask the user how many games they wish to play right from the start; if they say less than 3 or more than 5, you must prompt them again, this time with instructions on the limits
now you must capture the maximum value for each game offering a choice of 50, 100, 200 or 500 (other entries are not allowed)
you must keep track of the number of guesses AND accumulate how far off each guess was from the given number (25 is 10 off from 35 and so is 45 (no negative values))
Sample output:
Let’s play a number guessing game.
How many games do you want to play?
6
I’m sorry. We must play between 3 and 5 games.
How many do you want to play?
3
For these 3 games, what is the range of numbers we are going to use? 1 to __?
75
Acceptable answers are 50, 100, 200 or 500. Please respond:
100
Good luck!
Game 1:
This program allows you to play a game.
I will think of a number between 1 and 100

Categories
Web programming

Please make sure to follow the guidelines precisely! Also, please ensure the cod

Please make sure to follow the guidelines precisely! Also, please ensure the code works in eclipse so that I can create a new package, add the necessary files in new classes, and have the entire code work nicely and immaculately.
Please message me right away if you have any questions or clarifications and please make sure all the work completed is clearly shown and all the files are easy to see and download. As a writer please make sure you are available right away after finishing the task if I have any questions!
(PLEASE DO NOT ASSIGN MY LAST WRITER FROM THE LAST TASK)

Categories
Web programming

We want to make a connect 4 game, my part is to change from the tic-tac-toe game

We want to make a connect 4 game, my part is to change from the tic-tac-toe game to connect 4 game called with button onclick, from line 93.

Categories
Web programming

We want to make a connect 4 game, my part is to change from the tic-tac-toe game

We want to make a connect 4 game, my part is to change from the tic-tac-toe game to connect 4 game called with button onclick, from line 93.

Categories
Web programming

The attached code is a Dash web application of retail sales. The code consists t

The attached code is a Dash web application of retail sales. The code consists two files:
data_loader.py which reads data from a file retail_sales.csv and populates pandas dataframes.
app.py which is a Dash-based web application for detailing a dashboard showing the retail sales.
Your assignment is as follows:
Make the code provided work within your development environment.
Add the ability to look at individual store data by having the user select a particular store. Then all charts and cards are updated to reflect only the one store’s sales data.

Categories
Web programming

No need to touch the backend implementation. Just work on the frontend with angu

No need to touch the backend implementation. Just work on the frontend with angular.
– Login, Logout and register logic to be implemented
– A dashboard with transactions