Sachin_VeldiAPCS-P_ModuleFourAssignmentGuide_(1)_(1)

.docx

School

Trident Technical College *

*We aren’t endorsed by this school

Course

12

Subject

Computer Science

Date

Dec 6, 2023

Type

docx

Pages

8

Uploaded by EarlIce11831

Report
Google Docs Access Direction: Please click on File in the upper left corner If you are working on a Chromebook or Google Docs, Choose the Make a Copy option and save a copy of the document to your Google Drive If not, choose the Download As option and then the Microsoft Word (.docx.) option to download an editable copy of the document to your computer Module Four Assignment - Decision Maker App Guide Project Description For this project, you will create an app that helps a user make a decision. Your app must take in at least one number and one string from the user that will help to make the decision. All of this information will be used as part of the decision-making process. In addition, your code must include at least one function used to update the screen. You will submit Your final app A video that shows your program running This completed project-planning guide App Requirements At least one number and one string used to make and report a decision with a conditional statement A function which updates the screen and is called at least twice in the program Conditional statement includes at least one logical operator ( &&, || or ! ) There are at least three different possible output answers (i.e. “Yes, you can adopt a cat!”, “No, you can’t adopt a cat”, and “Congratulations, you can adopt a kitten!). Every function contains a comment explaining purpose and functionality Clear and easy to navigate user interface Cleanly written code which is free of errors Steps Brainstorm an app idea for making a decision Interview classmates for ideas on what information would be needed to make the decision Draft a flowchart of the decision making process Design your app’s user interface Design and program your app in App Lab Collect feedback from othersand update your app Record a screen capture of your app being used Submit your final app Explore : Explore the two sample apps in levels 1 and 2 and answer the following questions: Level 1: What does this app do? This app shows the best restaurants the user should buy
based on their budget and taste for food. What are the inputs? The clicks from the buttons and drop-down menus. What are the outputs? The text displayed on the bottom changes. What variables do you think would be necessary for this app to work? Price, foodType. What kinds of conditional logic do you think are necessary to make it work? Things like if the food type is Chinese && the budget is over 25$, display Din Tai Fung, etc. Uses && operators. Also likely uses if, else, else if for each type of budget. How could a function be used in this app? It could reduce the amount of code needed to update the screen each time, instead of having to write it over and over. It could also be used to repeat the code that checks the budget and food type. Level 2: What does this app do? Shows users the best type of activity/exercise to do at each time of the day with regard to their activity level. What are the inputs? Drop-down menus clicked, and options clicked. What are the outputs? showed text on the bottom with our custom name string along with the best activity. What variables do you think would be necessary for this app to work? Username, time of day, activity level What kinds of conditional logic do you think are necessary to make it work? Uses not, &&, and == to show the best exercise. How could a function be used in this app? A function could be used to make the code for figuring out the best type of activity. It could be made once and checks each time the user changes the value of the activity type. Investigate Step 1. Brainstorm App Ideas: Your app should be designed to help a user make a decision. For this project your user is your classmate. The decision can be small or big, like what to eat for lunch or where to apply for a job. Keep in mind how your idea might help solve a problem for your user. Idea 1: Airplane travel rental app? Idea 2: Should I buy a dog? Idea 3: Best place to eat? Step 2. Choose One Idea: Pick the one that you are most interested in. App Idea: Create an app that decides if a user should get a dog. It takes in account the age, and amount of money the user has. If they aren’t old enough or have enough money, they are told not to get a dog. Step 3. Interview Your Potential Users: To design your app you’ll need to understand your users. 2
For this project your users can be anyone - classmates, family, or friends. You need to understand what they already know about your topic. Interview at least 2 users. Indicate a first name and a last initial and their answers to the questions below(10 points each): Name What information is needed to make this decision? srijan How much money do we need to spend per dog? anish At what age should you get a dog? Step 4: Storing information: What variables will be used to store information? Name Information Stored Variable Type (string, number, Boolean) Ex: age The age of the user number money The budget of the user number name The name of the user string age The age of the user number Step 5: Flowchart: Draft a flowchart to show the decision making process Example: 3
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help