Question: CMSC 1 3 5 Introduction to Scripting Programming Assignment 1 Scope: In this lab, students will write and run Python Script. Equipment / Tool Needed:
CMSC Introduction to Scripting
Programming Assignment
Scope:
In this lab, students will write and run Python Script.
Equipment Tool Needed:
This lab requires the use of the following:
Laptop Desktop
Any version of Windows
Any WebBrowser
IDLE IDE
Lab Outcomes:
Upon completion of this lab, students will be able to:
Understand basic structures and algorithms.
Properly apply basic programming constructs and concepts including:
o Variables and types int float, char, etc.
o Strings, arrays, structures
o Sequential execution
o Assignments etc.
o Functions, procedures, and calls
o Debugging techniques
Run Python Scripts
Steps:
The following steps will be completed and submitted via a Microsoft word file along with Python source code file. Any other format will not be accepted and will result in a zero grade. Programming Labs are considered incomplete, if they do not compile and will result in a zero grade.
Check System Requirements
a Check the system requirement to know whether your computer supports IDLE.
b Download and Install IDLE Refer to CMSC Introduction to Scripting Lab
Write a program that displays user personal information as shown below. Display number of cups of each ingredient needed by the user based on how many cookies the user wants to bake based on the given data.
Personal information to display in the program:
Your name
Your address, with city, state, and ZIP
Your telephone number
Your college major
Cookie recipe calls for the following ingredients:
cups of sugar
cup of butter
cups of flour
The recipe produces cookies with this amount of ingredients.
Program Output Sample:
The recipe produces cookies with this amount of ingredients.
Program Output Sample:
a Use the following Specifications:
i cups of sugar
ii cup of butter
iii. cups of flour
The recipe produces cookies with this amount of ingredients.
Submission Requirements:
LastNameFirstNamePLabpy
Word Document with AlgorithmPseudocode and screenshot of program output.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
