Description
open the file and look at the information. use Python 3,6
Unformatted Attachment Preview
CS 222 01
Programming Assignment 05 – Chapter 03
20 Points
Due:
Friday, October 27, 2017 at the beginning of class
A teacher wants to be able to enter test scores and find the average. She would like to have a feature
that allows her to remove the last test score added if she miss typed it. For example:
The test scores 98, 65, 89, 77, 16 were entered one at a time pressing the Enter key after each
one. The teacher realized that the 16 was supposed to be 61 and wants to remove the 16 and
replace it with the 61.
Write a program that uses the Stack class created in class that will hold the test scores until the teacher
enters DONE. If the teacher enters a number, it should be pushed onto the stack. If the teacher enters
REVERSE, the last number entered should be removed. After all the numbers have been entered, the
program should calculate the average and display the following:
The test scores entered listed on one line separated by a comma
The average of the test scores
The letter grade for the student – Grading scale A is 90 or more, B is 80 – 89, C is 70 – 79, D is 60
– 69 and F is below 60.
Add the following comments to the beginning of the program.
Name:
Your Name
Class and Section:
CS 222 01
Assignment:
Program Assignment 05
Due Date:
See above
Date Turned in:
Program Description: You write a short description of what the program will do
When you complete the program, do the following.
1. Turn in a printout of the source code
2. Create a folder with the following name: ProgramAssignment05
3. Copy your program to this folder
4. Copy the folder to your folder in the I:\kopp\inbox\CS 222 01 folder
Purchase answer to see full attachment
Purchase answer to see full attachment
User generated content is uploaded by users for the purposes of learning and should be used following Studypool's honor code & terms of service.
Explanation & Answer
Here is...
Completion Status:
100%
Review
Review
Anonymous
Very useful material for studying!
Studypool
4.7
Trustpilot
4.5
Sitejabber
4.4
24/7 Homework Help
Stuck on a homework question? Our verified tutors can answer all questions, from basic math to advanced rocket science!
Most Popular Content
South University Savannah Convicting a Criminal Discussion
There are no new crimes. But today, criminals are using computers more to help them commit crimes. Most criminals, however ...
South University Savannah Convicting a Criminal Discussion
There are no new crimes. But today, criminals are using computers more to help them commit crimes. Most criminals, however, don't know that the computer can contain evidence that can be used against them.
Put on your computer forensics hat and use your imagination to discuss various ways of convicting a criminal based on computer usage evidence. Find at least one example from current news reports that illustrates computers being used in some way in a criminal investigation and post the link to that article in your response.
MCCEMCC IT & Python Blog Homepage Utility Functions Dictionaries Exercise
This assignment will merge both programming and information technology elements. You will use the LopesCloud server that w ...
MCCEMCC IT & Python Blog Homepage Utility Functions Dictionaries Exercise
This assignment will merge both programming and information technology elements. You will use the LopesCloud server that was created in Topic 2 to create a homepage for your blog. You will then set the homepage of the webserver to display your results.On the webserver from Topic 2, create a homepage for your blog. Research "how to create a simple web page with HTML" on the Internet. Use w3schools.com to gain a better understanding of elements and tags.Within LopesCloud, create a new webpage C:\inetpub\wwwroot\index.html file. Add HTML elements based on your research. In addition:Add a paragraph about yourself, one about your educational and career goals, and another on a topic you are interested in.Change the background color of your homepage. Be sure to make the color of your text complementary to the color of the background so it is readable.Add at least 3 photographs to your homepage. One should be a head and shoulders shot of yourself, one about your education or career and one about the topic you discussed in #1.Put in a page title to reflect an appropriate page name. Make this also the first line heading of your webpage content.Test that your homepage works as anticipated outside of the server environment. Do this by opening a new tab on the VM browser and entering "localhost" as the address. Ensure that all elements are functional.Zip your entire wwwroot folder and submit the zipped files in the following format: firstInitialLastNameBlogHomePage.zip Example:dHaralsonBlogHomePage.zip. If your zip file is too large to submit into LoudCloud, upload your file to your GCU OneDrive account, and submit its link to LoudCloud, embedded in a word document of the same name.
CS 360 SNHU Develop And Launch A Fully Functional Mobile Application Research Paper
CompetencyIn this project, you will demonstrate your mastery of the following competency:Develop and launch a fully functi ...
CS 360 SNHU Develop And Launch A Fully Functional Mobile Application Research Paper
CompetencyIn this project, you will demonstrate your mastery of the following competency:Develop and launch a fully functional mobile applicationScenarioYour app UI design has been received positively by the client, which means you are now ready to proceed to the final stages of the development process. The client is eager to see the completed product ready for launch. To make this happen, you know that most of your time will need to be spent creating functional, error-free code that will run the app.However, you also know there are further steps that must be completed after the coding in order for the app to be made widely available. To support your client with this part of the process, you will need to create a recommended launch plan that details how to successfully reach the client’s intended users.DirectionsBegin by reviewing any feedback you received on your previous Project One and Project Two work. Next, open the Android Studio project where you developed the UI for your app in Project Two. Before you begin coding, be sure you have incorporated necessary changes to your UI design as this will help enable your success moving forward. You will be using the Android Studio Editor Window to view and write your Java code.App Code DesignDevelop code that allows a user to log in. As you develop your code, use the Android Emulator feature of Android Studio to test your code. Your app should work for users that both do and do not have accounts. This means you should focus on the following functionality:The app should check the username and password against the database when the user attempts to log in.If the user has never logged into the application before, the user should be able to create a new login and password. The application needs to save these to a table in the database.Develop code to create a database shell and display that database’s information on a user’s screen using a grid. The SQLLite database you create will depend on the option you selected in Project One and will store either inventory items, event details, or daily weight. Any information needed for your application to function correctly should be held in the database, but remember you are only creating the shell for the database so its contents can later be populated by a user. Note that you will need tables in the database to store user information when it is not being displayed in the grid. This database will be persistent so no user information is lost when the app is closed. Be sure to test your code often with the Android Emulator. Your completed database should allow a user to accomplish the following:Create: The user should be able to add items to a database.Delete: The user should be able to remove items from a database.Update: The user should be able to change the value associated with individual database items (e.g. the number of a specific item in an inventory or the date of an event).Read: The user should be able to view all of the database items displayed as a grid.Develop code that prompts users for permission to send SMS messaging notifications and makes the app function based on the individual user's response. Keep in mind that the user of your application might deny access to the permissions needed for sending text messages via SMS. If they do, your application should still continue to function, just without this feature. Test both possible options for user response by using the Android Emulator. When you do, you will be looking for the following outcomes:If the user grants permissions, the application should send alerts to the user as SMS messages. The alerts correspond to the specific notification trigger of the application you chose (low inventory, an upcoming event, or reaching a goal weight).If the user denies permission, then the rest of the application should still continue to function without the SMS messaging notification feature.Employ industry standard best practices such as in-line comments and appropriate naming conventions to enhance readability of code. This should be evident throughout all of the code you create for this project and will be assessed comprehensively. Some things to ask yourself as you code are:Have I kept my classes concise?Is my style consistent throughout the code?Would my naming conventions make sense to anyone else who looked at my code?Do my in-line comments contain enough useful information?App Launch PlanDetermine a plan for launch of the application that outlines all necessary components to support your app. Once you have completed the code for your app, there are a few more steps required to bring your app to the market. In this project you will not actually have to launch your app in the app store but you will need to outline a comprehensive plan for launch that will prepare you to bring your app to market. Later in this course you will have the opportunity to officially launch your app, if you choose, since it will be an excellent accomplishment to share as you progress along your professional pathway. For now, address the following questions as you write your plan:What will be included in your app’s description and what kind of icon will best represent your app once it is made available in the app store?Which version(s) of Android will your app successfully run on? Have you included the most current version? Note that with each version of Android, new components are introduced that add considerations and challenges in the development.What permissions will your app ask for? Be sure these are only permissions that are necessary for your app to run. For example, does your manifest ask for permission to record phone audio when your app does not use it?What is your plan for monetization of the app? Consider whether your app will include ads, require a one-time payment, both, or neither.What to SubmitTo complete this project, you must submit the following:App Code DesignSubmit a ZIP file of the completed Android Studio project folder for your fully functional, error-free application. Your professor will grade your work in the ZIP file but you may also compile and submit an APK file. This would be useful to you because if there are any issues with the code, Android Studio will not generate the APK file. Therefore you can use the APK file to check your work and demonstrate overall functionality to your instructor.App Launch PlanSubmit your completed launch plan as a Microsoft Word document of 2-3 pages in length. Use double spacing, 12-point Times New Roman font, and one-inch margins. The file name should include your name and the app option you have been using for the projects.
Similar Content
IT 403 Saudi Electronic University Algorithms & Data Structures Questions
College of Computing and Informatics
Assignment 1
1
Deadline: Tuesday 12/10/2021 @ 23:59
[Total Mark for this Assignment...
write a program pearl in one file
Create Perl functions.Note that we can and should return arrays in Perl.Don't use the built in Perl reverse.1. Sum array ...
Javascript program, computer science homework help
Write a simple HTML/Javascript program which is capable of computing the
area of a rectangle as follows:
· ...
MATH 134 Worcester Polytechnic Institute Algebraic Limit Work Exam Practice
I need help with Math calculus...............................................................................................
create a website
create a websitemy major is sociologyNeed to make a web page according to the requirements belowAND ALSO I HAVE A PARTNER...
Canadian National Women Rugby Team & Game Analysis and Presentation
PURPOSEThe purpose of big data analysis assignment is to get students accustomed to dealing with real world situations. TA...
Cloud Computing 1
Original Post: (A) Identify 3 SaaS you have used in the past. Why are those SaaS? Explain the features of those...
Carloan
//Determining the monthly interest rate by dividing the APR by 12 //declaring the variable to calculate the interest, pri...
Question 2
Everyone – Any one shopping online or doing comparison shopping. This website has a hierarchical design with the main na...
Related Tags
Book Guides
Get 24/7
Homework help
Our tutors provide high quality explanations & answers.
Post question
Most Popular Content
South University Savannah Convicting a Criminal Discussion
There are no new crimes. But today, criminals are using computers more to help them commit crimes. Most criminals, however ...
South University Savannah Convicting a Criminal Discussion
There are no new crimes. But today, criminals are using computers more to help them commit crimes. Most criminals, however, don't know that the computer can contain evidence that can be used against them.
Put on your computer forensics hat and use your imagination to discuss various ways of convicting a criminal based on computer usage evidence. Find at least one example from current news reports that illustrates computers being used in some way in a criminal investigation and post the link to that article in your response.
MCCEMCC IT & Python Blog Homepage Utility Functions Dictionaries Exercise
This assignment will merge both programming and information technology elements. You will use the LopesCloud server that w ...
MCCEMCC IT & Python Blog Homepage Utility Functions Dictionaries Exercise
This assignment will merge both programming and information technology elements. You will use the LopesCloud server that was created in Topic 2 to create a homepage for your blog. You will then set the homepage of the webserver to display your results.On the webserver from Topic 2, create a homepage for your blog. Research "how to create a simple web page with HTML" on the Internet. Use w3schools.com to gain a better understanding of elements and tags.Within LopesCloud, create a new webpage C:\inetpub\wwwroot\index.html file. Add HTML elements based on your research. In addition:Add a paragraph about yourself, one about your educational and career goals, and another on a topic you are interested in.Change the background color of your homepage. Be sure to make the color of your text complementary to the color of the background so it is readable.Add at least 3 photographs to your homepage. One should be a head and shoulders shot of yourself, one about your education or career and one about the topic you discussed in #1.Put in a page title to reflect an appropriate page name. Make this also the first line heading of your webpage content.Test that your homepage works as anticipated outside of the server environment. Do this by opening a new tab on the VM browser and entering "localhost" as the address. Ensure that all elements are functional.Zip your entire wwwroot folder and submit the zipped files in the following format: firstInitialLastNameBlogHomePage.zip Example:dHaralsonBlogHomePage.zip. If your zip file is too large to submit into LoudCloud, upload your file to your GCU OneDrive account, and submit its link to LoudCloud, embedded in a word document of the same name.
CS 360 SNHU Develop And Launch A Fully Functional Mobile Application Research Paper
CompetencyIn this project, you will demonstrate your mastery of the following competency:Develop and launch a fully functi ...
CS 360 SNHU Develop And Launch A Fully Functional Mobile Application Research Paper
CompetencyIn this project, you will demonstrate your mastery of the following competency:Develop and launch a fully functional mobile applicationScenarioYour app UI design has been received positively by the client, which means you are now ready to proceed to the final stages of the development process. The client is eager to see the completed product ready for launch. To make this happen, you know that most of your time will need to be spent creating functional, error-free code that will run the app.However, you also know there are further steps that must be completed after the coding in order for the app to be made widely available. To support your client with this part of the process, you will need to create a recommended launch plan that details how to successfully reach the client’s intended users.DirectionsBegin by reviewing any feedback you received on your previous Project One and Project Two work. Next, open the Android Studio project where you developed the UI for your app in Project Two. Before you begin coding, be sure you have incorporated necessary changes to your UI design as this will help enable your success moving forward. You will be using the Android Studio Editor Window to view and write your Java code.App Code DesignDevelop code that allows a user to log in. As you develop your code, use the Android Emulator feature of Android Studio to test your code. Your app should work for users that both do and do not have accounts. This means you should focus on the following functionality:The app should check the username and password against the database when the user attempts to log in.If the user has never logged into the application before, the user should be able to create a new login and password. The application needs to save these to a table in the database.Develop code to create a database shell and display that database’s information on a user’s screen using a grid. The SQLLite database you create will depend on the option you selected in Project One and will store either inventory items, event details, or daily weight. Any information needed for your application to function correctly should be held in the database, but remember you are only creating the shell for the database so its contents can later be populated by a user. Note that you will need tables in the database to store user information when it is not being displayed in the grid. This database will be persistent so no user information is lost when the app is closed. Be sure to test your code often with the Android Emulator. Your completed database should allow a user to accomplish the following:Create: The user should be able to add items to a database.Delete: The user should be able to remove items from a database.Update: The user should be able to change the value associated with individual database items (e.g. the number of a specific item in an inventory or the date of an event).Read: The user should be able to view all of the database items displayed as a grid.Develop code that prompts users for permission to send SMS messaging notifications and makes the app function based on the individual user's response. Keep in mind that the user of your application might deny access to the permissions needed for sending text messages via SMS. If they do, your application should still continue to function, just without this feature. Test both possible options for user response by using the Android Emulator. When you do, you will be looking for the following outcomes:If the user grants permissions, the application should send alerts to the user as SMS messages. The alerts correspond to the specific notification trigger of the application you chose (low inventory, an upcoming event, or reaching a goal weight).If the user denies permission, then the rest of the application should still continue to function without the SMS messaging notification feature.Employ industry standard best practices such as in-line comments and appropriate naming conventions to enhance readability of code. This should be evident throughout all of the code you create for this project and will be assessed comprehensively. Some things to ask yourself as you code are:Have I kept my classes concise?Is my style consistent throughout the code?Would my naming conventions make sense to anyone else who looked at my code?Do my in-line comments contain enough useful information?App Launch PlanDetermine a plan for launch of the application that outlines all necessary components to support your app. Once you have completed the code for your app, there are a few more steps required to bring your app to the market. In this project you will not actually have to launch your app in the app store but you will need to outline a comprehensive plan for launch that will prepare you to bring your app to market. Later in this course you will have the opportunity to officially launch your app, if you choose, since it will be an excellent accomplishment to share as you progress along your professional pathway. For now, address the following questions as you write your plan:What will be included in your app’s description and what kind of icon will best represent your app once it is made available in the app store?Which version(s) of Android will your app successfully run on? Have you included the most current version? Note that with each version of Android, new components are introduced that add considerations and challenges in the development.What permissions will your app ask for? Be sure these are only permissions that are necessary for your app to run. For example, does your manifest ask for permission to record phone audio when your app does not use it?What is your plan for monetization of the app? Consider whether your app will include ads, require a one-time payment, both, or neither.What to SubmitTo complete this project, you must submit the following:App Code DesignSubmit a ZIP file of the completed Android Studio project folder for your fully functional, error-free application. Your professor will grade your work in the ZIP file but you may also compile and submit an APK file. This would be useful to you because if there are any issues with the code, Android Studio will not generate the APK file. Therefore you can use the APK file to check your work and demonstrate overall functionality to your instructor.App Launch PlanSubmit your completed launch plan as a Microsoft Word document of 2-3 pages in length. Use double spacing, 12-point Times New Roman font, and one-inch margins. The file name should include your name and the app option you have been using for the projects.
Earn money selling
your Study Documents