Ishaan_T._Joshy_APCS-P_ModuleFourAssignmentGuide_(1)
docx
keyboard_arrow_up
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?
Displayed 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: Europe Travel Agency App
Idea 2:
Should I buy a hamster?
Idea 3: Best place for weddings.
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 hamster. 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 hamster.
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?
Prajitha Panakkal.
How much money do we need to spend per hamster?
Joshy Mathew
At what age should you get a hamster?
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
name
The name of the user
string
money
The budget of the user
number
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
Component
Purpose
Start your flowchart with a question. What decision are you
trying to make?
Baggies are used to represent the variables
which store
information. In your flowchart, draw a small rectangle for the
variables.
A diamond represents a decision point, based on the original
question. Write the Boolean expression that will be used to
determine the answer.
True and False arrows designate the paths taken, based on the
result of a decision (diamond). Note that every decision may
have only 2 possible paths that result from it, one for true and
one for false.
A rectangle at the end of a decision path represents a possible
result.
A
simple arrow
indicates that we are moving from one action to
the next without considering any decision. These will generally
be used to link a set of actions to be completed one after the
other.
Flowchart
4
Design
5
Should I buy a
hamster?
I can if
I am over 10 and
have more than
40ドル.
Money
Name
Age
[Name] can’t adopt
a hamster
[Name] can adopt
a hamster
age>
10
Money >=
40
Fals
e
Tru
e
True
Fals
e
Step 6. Design User Interface:
In the space below draw a rough sketch of your user interface.
This means you should include all the buttons, text, and images that the user will be able to use.
Write notes or draw arrows showing how different user interface elements should work.
Note: There are no screen requirements for this app - you may use one or more screens.
You can sketch below or create the screens in
the app lab
and copy and paste a screenshot below.
Prototype
Step 7. Start Building Your App:
Build your app. Along the way make sure you:
●くろまる
Use the design you drew as a starting point, but it’s OK to update as you go.
●くろまる
Reference the flow chart when setting up your conditional statements
●くろまる
Use your debugging skills to check that your app is working
●くろまる
Comment all functions explaining purpose (what does it do) and functionality (how does it
work) - also include header comments explaining what the app does.
The app lab has
levels 2-4
to walk you through the beginning steps of creating the components of
your app
Test
Step 8. Testing:
You will need to test your app to make sure it works as expected. To do that find
at least two users to run your app. While they use the app watch them to see if anything is broken
or confusing. Afterwards ask them to share any specific improvements they’d like to see.
6
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
Name
Things that could be improved based
on watching them use the app
Improvements this person
recommends
Prajitha
Panakkal
Can make the picture of the hamster
bigger and rearrange the money sign.
Make the picture bigger.
Joshy
Mathew
Can make the picture of the hamster
bigger and rearrange the money sign.
Add a bigger font to the money display.
Step 9. Pick Improvements:
Pick at least one improvement you plan to make to your app based
on feedback you collected from your classmate.
Improvement 1:
I will make the hamster picture bigger so the app has a more cohesive look.
Improvement 2 (Optional):
I will add a bigger font to the money display.
Step 10: Complete Your App:
Finish your app! Copy the share link here:
https://studio.code.org/projects/applab/14R6lCcNtHkwLjwlWYD3pEYbli0KLyiecap6xvIzh5o
Step 11: Record Video.
Record a video that demonstrates the running of your program as
described below. Your video may NOT contain voice narration and must be no more than 1 minute
in length.
Link to unlisted video: (Canvas media
wasn’t working whatsoever)
https://youtu.be/L4wCScnlVaY
Your video must demonstrate your program running, including:
●くろまる
Input to your program
●くろまる
At least one aspect of the functionality of your program
●くろまる
Output produced by your program
Check these suggestions if you are not sure how to record your screen.
Speaking Assignment
Instructions.
7
Question 1:
Provide a written response that:
●くろまる
describes the overall purpose of the program
●くろまる
describes the functionality of your app
●くろまる
describes the input and outputs of your app
(Approx 150 words)
The purpose of my app is to create an app where people can input their details and see if
they would be able to take care of a hamster. They must be over 10 years old and have
atleast 40 dollars. The inputs are the clicks from the drop down menus, the characters
inputted in the name field, and the button presses on the money inputs. The outputs of my
app are changes in the variables money, age, and name. These are displayed on the box at
the bottom.
Question 2:
This project was created using a development process that required you to
incorporate the ideas of your partner and feedback from your classmates. Provide a written
response that describes one part of your app that was improved through input from EITHER your
partner or feedback you received from classmates. Include:
●くろまる
Who specifically provided the idea or recommendation
●くろまる
What their idea or recommendation was
●くろまる
The specific change you made to your app’s user interface or functionality in response to the
recommendation
●くろまる
How you believe this change improved your app
(Approx 150 words)
Prajitha provided a great idea to increase the size of the hamster photo as that was one of the main focuses of
our app. Secondly, Joshy said to increase the size of the money counter, as it was hard to see. Both of these
changes allowed me to create a more cohesive look that worked better for my users. It become more
accessible and improved the readability of the overall app. I did this by increasing the font size of the text.
8
Related Documents
Recommended textbooks for you
Text book image
Microsoft Windows 10 Comprehensive 2019
Computer Science
ISBN:9780357392607
Author:FREUND
Publisher:Cengage
Text book image
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:9780357392676
Author:FREUND, Steven
Publisher:CENGAGE L
Text book image
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:9781337102124
Author:Diane Zak
Publisher:Cengage Learning
Text book image
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:9781337508841
Author:Carey
Publisher:Cengage
Recommended textbooks for you
- Text book imageMicrosoft Windows 10 Comprehensive 2019Computer ScienceISBN:9780357392607Author:FREUNDPublisher:CengageText book imageCOMPREHENSIVE MICROSOFT OFFICE 365 EXCEComputer ScienceISBN:9780357392676Author:FREUND, StevenPublisher:CENGAGE LText book imageProgramming with Microsoft Visual Basic 2017Computer ScienceISBN:9781337102124Author:Diane ZakPublisher:Cengage Learning
- Text book imageNp Ms Office 365/Excel 2016 I NtermedComputer ScienceISBN:9781337508841Author:CareyPublisher:Cengage
Text book image
Microsoft Windows 10 Comprehensive 2019
Computer Science
ISBN:9780357392607
Author:FREUND
Publisher:Cengage
Text book image
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:9780357392676
Author:FREUND, Steven
Publisher:CENGAGE L
Text book image
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:9781337102124
Author:Diane Zak
Publisher:Cengage Learning
Text book image
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:9781337508841
Author:Carey
Publisher:Cengage