(New Full Course Guide) CS192 Entire Course Study Solution Download
CS192 Entire Course Study Solution Download Grantham University
CS192 Programming Essentials Entire Course
CS192 Entire Course includes:
CS192 Programming Essentials – Week 8 Assignment
CS192 Programming Essentials – Week 7 Assignment
CS192 Programming Essentials – Week 6 Assignment
CS192 Programming Essentials – Week 5 Assignment
CS192 Programming Essentials – Week 4 Assignment
CS192 Programming Essentials – Week 3 Assignment
CS192 Programming Essentials – Week 2 Assignment
CS192 Programming Essentials – Week 1 Assignment
You May Also Like:
CS192 Programming Essentials – Week 1 Assignment
CS192 Programming Essentials – Week 2 Assignment
CS192 Programming Essentials – Week 3 Assignment
CS192 Programming Essentials – Week 4 Assignment
CS192 Programming Essentials – Week 5 Assignment
CS192 Programming Essentials – Week 6 Assignment
CS192 Programming Essentials – Week 7 Assignment
CS192 Programming Essentials – Week 8 Assignment
CS192 Programming Essentials – Week 8 Assignment
Modify one of the programs you designed in weeks 1-6 to do the following:
· Incorporate the TRY and EXCEPT blocks
· Handle any errors and exceptions that you can find
Example of the week 1 program’s input and output is shown below:
Enter your amount 1: zero
Error: Invalid input! Numeric value expected.
You May Also Like:
CS192 Programming Essentials – Week 1 Assignment
CS192 Programming Essentials – Week 2 Assignment
CS192 Programming Essentials – Week 3 Assignment
CS192 Programming Essentials – Week 4 Assignment
CS192 Programming Essentials – Week 5 Assignment
CS192 Programming Essentials – Week 6 Assignment
CS192 Programming Essentials – Week 7 Assignment
CS192 Programming Essentials – Week 7 Assignment
A turtle can “stamp” its footprint onto the canvas, and this will remain after the turtle has moved somewhere else.
Modify the turtle footprint below to complete the following tasks:
· Create a 1-minute turtle footprint with custom attributes (size, pattern, color, direction, etc.)
· Customize the shape pattern drawn by the turned and change at least 5 attributes.
· Change the background color of your canvas and display your name on the canvas.
You May Also Like:
CS192 Programming Essentials – Week 1 Assignment
CS192 Programming Essentials – Week 2 Assignment
CS192 Programming Essentials – Week 3 Assignment
CS192 Programming Essentials – Week 4 Assignment
CS192 Programming Essentials – Week 5 Assignment
CS192 Programming Essentials – Week 6 Assignment
CS192 Programming Essentials – Week 8 Assignment
CS192 Programming Essentials – Week 6 Assignment
Modify your program from week 5 so that the program utilizes object-oriented programming to create an application which allows the user to create, delete or modify orders. Your program should do the following in order:
1. Define a class and class variables
2. Create a function to set the order amount
· Set order amount
3. Create a function to set order type
· Set order type
4. Create a function to set the order number
· Set order number
5. Create a function to get the order amount
· Return the order amount
6. Create a function to get the order type
· Return the order type
7. Create a function to get the order number
· Return the order number
8. Modify the function to display the order menu
Display a menu so that the user can select 1 of 6 options:
· Add Order
· Delete Order
· Edit Order
· Display Order
· Save Order
· Exit the Program
9. Create a new function to save the order items added to the list in a text file.
10. Repeatedly execute the menu selections unit the user enters 6 to exit the program.
Examples of the program’s input and output is shown below:
Add and Edit Order
Print, Save, and Exit Order
Order Saved To Text File
You May Also Like:
CS192 Programming Essentials – Week 1 Assignment
CS192 Programming Essentials – Week 2 Assignment
CS192 Programming Essentials – Week 3 Assignment
CS192 Programming Essentials – Week 4 Assignment
CS192 Programming Essentials – Week 5 Assignment
CS192 Programming Essentials – Week 7 Assignment
CS192 Programming Essentials – Week 8 Assignment
CS192 Programming Essentials – Week 5 Assignment
Create a program utilizes functions to append, delete, and index methods discussed this week. Your program should allow the user to add, remove or edit an item from a list. Your program should also print the list values and display a menu for the user to select a menu option. You will need to complete the following steps in your program:
1. Create a list called “transactions”
2. Create a function to display a menu so that the user can select 1 of 5 options:
· Add Transaction
· Delete Transaction
· Edit Transaction
· Display Transactions
· Exit the Program
3. Create a function to add a transaction to the list
· Ask user to enter transaction key
· Append transaction key to list
4. Create a function to delete a transaction from the list
· Ask user to enter transaction key
· Delete transaction key from list
5. Create a function to edit a transaction from the list
· Ask user to enter transaction key
· Edit existing transaction key
1. Create a function to print the list
· Print all transaction keys in the list
2. Repeatedly display the menu selections if the user has not selected option 5 to exit the program.
Examples of the program’s input and output is shown below:
**********Main Menu***********
1. Add Transaction
2. Delete Transaction
3. Edit Transaction
4. Display Transactions
5. Exit the Program
Choose a menu option from 1-4 or 5 to exit the program: 1
Enter the transaction key to add: 1234
**********Main Menu***********
1. Add Transaction
2. Delete Transaction
3. Edit Transaction
4. Display Transactions
5. Exit the Program
Choose a menu option from 1-4 or 5 to exit the program: 4
Displaying transaction keys list:
1234
**********Main Menu***********
1. Add Transaction
2. Delete Transaction
3. Edit Transaction
4. Display Transactions
5. Exit the Program
Choose a menu option from 1-4 or 5 to exit the program: 3
Enter the transaction key to edit: 1234
Enter the new transaction key to add: 5678
**********Main Menu***********
1. Add Transaction
2. Delete Transaction
3. Edit Transaction
4. Display Transactions
5. Exit the Program
Choose a menu option from 1-4 or 5 to exit the program: 5
Exiting program.
You May Also Like:
CS192 Programming Essentials – Week 1 Assignment
CS192 Programming Essentials – Week 2 Assignment
CS192 Programming Essentials – Week 3 Assignment
CS192 Programming Essentials – Week 4 Assignment
CS192 Programming Essentials – Week 6 Assignment
CS192 Programming Essentials – Week 7 Assignment
CS192 Programming Essentials – Week 8 Assignment
CS192 Programming Essentials – Week 4 Assignment
Modify the week 3 program assignment to do the following in order:
1. Ask the user to enter a name or ‘q’ to quit
2. While the user has not entered ‘q’ ask the user to enter an amount “account balance”
3. Ask the user to enter a number “amount”
4. If the amount is positive, calculate the “new account balance” by adding the amount and the account balance, print out the new account balance
5. If the amount is negative, calculate the “new account balance” by subtracting the amount from the account balance, print out “Account is overdrawn” and the new account balance
6. When the user enters ‘q’, quit the program. The program should continue to prompt the user to enter a name until the user enters ‘q’.
7. Round all numeric outputs to 2 decimal places.
An example of the program’s input and output is shown below:
Enter your name or ‘q’ to quit: Belinda Patton
Enter an amount your account balance: 56.61
Enter amount to withdraw (-) or deposit (+): 25
Your account balance is $81.61
Enter your name or ‘q’ to quit: Belinda Patton
Enter an amount your account balance: 23.61
Enter amount to withdraw (-) or deposit (+): -25
Your account balance is $-1.39
Enter your name or ‘q’ to quit: Belinda Patton
Enter an amount for your account balance: 33
Enter amount to withdraw (-) or deposit (+): -33
Your account balance is zero
Enter your name or ‘q’ to quit: q
Exiting Program
You May Also Like:
CS192 Programming Essentials – Week 1 Assignment
CS192 Programming Essentials – Week 2 Assignment
CS192 Programming Essentials – Week 3 Assignment
CS192 Programming Essentials – Week 5 Assignment
CS192 Programming Essentials – Week 6 Assignment
CS192 Programming Essentials – Week 7 Assignment
CS192 Programming Essentials – Week 8 Assignment
CS192 Programming Essentials – Week 3 Assignment
Write a program that does the following in order:
1. Ask user to enter a name
2. Ask the user to enter five numbers “amount1”, “amount2”, “amount3”, “amount4”, “amount5”
3. Calculate the sum of the numbers “amount1”, “amount2”, “amount3”, “amount4”, “amount5”
4. If the sum is greater than 0, print out the sum
5. If the sum is equal to zero, print out “Your account balance is zero”
6. If the sum is less than 0, print out “Your account is overdrawn” and the “negative amount”
7. Round all print values to 1 decimal place
Examples of the program’s inputs and outputs are shown below:
Enter your name: Belinda Patton
Enter your amount 1: 52
Enter your amount 2: 2
Enter your amount 3: -22
Enter your amount 4: 12
Enter your amount 5: 32
Your account balance is $76.0
Enter your name: Belinda Patton
Enter your amount 1: -52
Enter your amount 2: 2
Enter your amount 3: 22
Enter your amount 4: 12
Enter your amount 5: 28
Your account balance is zero.
Enter your name: Belinda Patton
Enter your amount 1: -52
Enter your amount 2: 2
Enter your amount 3: -22
Enter your amount 4: 12
Enter your amount 5: -32
Your account is overdrawn. The overdrawn amount is -$92.0
You May Also Like:
CS192 Programming Essentials – Week 1 Assignment
CS192 Programming Essentials – Week 2 Assignment
CS192 Programming Essentials – Week 4 Assignment
CS192 Programming Essentials – Week 5 Assignment
CS192 Programming Essentials – Week 6 Assignment
CS192 Programming Essentials – Week 7 Assignment
CS192 Programming Essentials – Week 8 Assignment
CS192 Programming Essentials – Week 2 Assignment
Write a program that does the following in order:
1. Asks the user to enter a name
2. Asks the user to enter a number “gross income”
3. Asks the user to enter a number “state tax rate”
4. Calculates the “Federal Tax”, “FICA tax” and “State tax”
5. Calculates the “estimated tax” and round the value to 2 decimal places
6. Prints values for “name”, “gross income” and “estimated tax”
The program should contain three additional variables to store the Federal tax, FICA tax, State tax, gross income, and estimated tax.
Federal Tax = gross income * 9.45%
FICA Tax = gross income * 7.65%
State Tax = gross income * your state tax percent
Estimated Tax = Federal tax + FICA tax + State tax
NOTE: Percentages must be converted to decimal values, for example:
15.9%=15.9*0.01=0.159
An example of the program’s input and output is shown below:
Enter your name: Belinda Patton
Enter your gross income: 53398.12
Enter your state income tax rate: 4.27
Belinda Patton’s estimated tax is $11411.08 based on a gross income of $53398.12
You May Also Like:
CS192 Programming Essentials – Week 1 Assignment
CS192 Programming Essentials – Week 3 Assignment
CS192 Programming Essentials – Week 4 Assignment
CS192 Programming Essentials – Week 5 Assignment
CS192 Programming Essentials – Week 6 Assignment
CS192 Programming Essentials – Week 7 Assignment
CS192 Programming Essentials – Week 8 Assignment
CS192 Programming Essentials – Week 1 Assignment
Write a program that does the following in order:
1. Asks the user to enter a name
2. Asks the user to enter a number “x”
3. Asks the user to enter a number “y”
4. Calculates the sum of “x” and “y”
5. Prints out the number for “x”, “y” and “sum”
An example of the program input and output is shown below:
Enter your name: Belinda Patton
Enter number x: 50
Enter number y: 10
The sum of 50 and 10 is 60
You May Also Like:
CS192 Programming Essentials – Week 2 Assignment
CS192 Programming Essentials – Week 3 Assignment
CS192 Programming Essentials – Week 4 Assignment
CS192 Programming Essentials – Week 5 Assignment
CS192 Programming Essentials – Week 6 Assignment
CS192 Programming Essentials – Week 7 Assignment
CS192 Programming Essentials – Week 8 Assignment
CS192 Entire Course
CS192 Entire Course includes:
CS192 Programming Essentials – Week 8 Assignment
CS192 Programming Essentials – Week 7 Assignment
CS192 Programming Essentials – Week 6 Assignment
CS192 Programming Essentials – Week 5 Assignment
CS192 Programming Essentials – Week 4 Assignment
CS192 Programming Essentials – Week 3 Assignment
CS192 Programming Essentials – Week 2 Assignment
CS192 Programming Essentials – Week 1 Assignment
SCREENSHOTS PAYMENT
You May Also Like:
CS192 Programming Essentials – Week 1 Assignment
CS192 Programming Essentials – Week 2 Assignment
CS192 Programming Essentials – Week 3 Assignment
CS192 Programming Essentials – Week 4 Assignment
CS192 Programming Essentials – Week 5 Assignment
CS192 Programming Essentials – Week 6 Assignment
CS192 Programming Essentials – Week 7 Assignment
CS192 Programming Essentials – Week 8 Assignment
CS192 Week 8 Exceptions Handling
Modify one of the programs you designed in weeks 1-6 to do the following:
· Incorporate the TRY and EXCEPT blocks
· Handle any errors and exceptions that you can find
Example of the week 1 program’s input and output is shown below:
Enter your amount 1: zero
Error: Invalid input! Numeric value expected.
You May Also Like:
CS192 Programming Essentials – Week 1 Assignment
CS192 Programming Essentials – Week 2 Assignment
CS192 Programming Essentials – Week 3 Assignment
CS192 Programming Essentials – Week 4 Assignment
CS192 Programming Essentials – Week 5 Assignment
CS192 Programming Essentials – Week 6 Assignment
CS192 Programming Essentials – Week 7 Assignment
CS192 Week 7 Game Time
A turtle can “stamp” its footprint onto the canvas, and this will remain after the turtle has moved somewhere else.
Modify the turtle footprint below to complete the following tasks:
· Create a 1-minute turtle footprint with custom attributes (size, pattern, color, direction, etc.)
· Customize the shape pattern drawn by the turned and change at least 5 attributes.
· Change the background color of your canvas and display your name on the canvas.
You May Also Like:
CS192 Programming Essentials – Week 1 Assignment
CS192 Programming Essentials – Week 2 Assignment
CS192 Programming Essentials – Week 3 Assignment
CS192 Programming Essentials – Week 4 Assignment
CS192 Programming Essentials – Week 5 Assignment
CS192 Programming Essentials – Week 6 Assignment
CS192 Programming Essentials – Week 8 Assignment
CS192 Week 6 Team Management Part 3
Modify your program from week 5 so that the program utilizes object-oriented programming to create an application which allows the user to create, delete or modify orders. Your program should do the following in order:
1. Define a class and class variables
2. Create a function to set the order amount
· Set order amount
3. Create a function to set order type
· Set order type
4. Create a function to set the order number
· Set order number
5. Create a function to get the order amount
· Return the order amount
6. Create a function to get the order type
· Return the order type
7. Create a function to get the order number
· Return the order number
8. Modify the function to display the order menu
Display a menu so that the user can select 1 of 6 options:
· Add Order
· Delete Order
· Edit Order
· Display Order
· Save Order
· Exit the Program
9. Create a new function to save the order items added to the list in a text file.
10. Repeatedly execute the menu selections unit the user enters 6 to exit the program.
Examples of the program’s input and output is shown below:
Add and Edit Order
Print, Save, and Exit Order
Order Saved To Text File
You May Also Like:
CS192 Programming Essentials – Week 1 Assignment
CS192 Programming Essentials – Week 2 Assignment
CS192 Programming Essentials – Week 3 Assignment
CS192 Programming Essentials – Week 4 Assignment
CS192 Programming Essentials – Week 5 Assignment
CS192 Programming Essentials – Week 7 Assignment
CS192 Programming Essentials – Week 8 Assignment
CS192 Week 5 Team Management Part 2
Create a program utilizes functions to append, delete, and index methods discussed this week. Your program should allow the user to add, remove or edit an item from a list. Your program should also print the list values and display a menu for the user to select a menu option. You will need to complete the following steps in your program:
1. Create a list called “transactions”
2. Create a function to display a menu so that the user can select 1 of 5 options:
· Add Transaction
· Delete Transaction
· Edit Transaction
· Display Transactions
· Exit the Program
3. Create a function to add a transaction to the list
· Ask user to enter transaction key
· Append transaction key to list
4. Create a function to delete a transaction from the list
· Ask user to enter transaction key
· Delete transaction key from list
5. Create a function to edit a transaction from the list
· Ask user to enter transaction key
· Edit existing transaction key
1. Create a function to print the list
· Print all transaction keys in the list
2. Repeatedly display the menu selections if the user has not selected option 5 to exit the program.
Examples of the program’s input and output is shown below:
**********Main Menu***********
1. Add Transaction
2. Delete Transaction
3. Edit Transaction
4. Display Transactions
5. Exit the Program
Choose a menu option from 1-4 or 5 to exit the program: 1
Enter the transaction key to add: 1234
**********Main Menu***********
1. Add Transaction
2. Delete Transaction
3. Edit Transaction
4. Display Transactions
5. Exit the Program
Choose a menu option from 1-4 or 5 to exit the program: 4
Displaying transaction keys list:
1234
**********Main Menu***********
1. Add Transaction
2. Delete Transaction
3. Edit Transaction
4. Display Transactions
5. Exit the Program
Choose a menu option from 1-4 or 5 to exit the program: 3
Enter the transaction key to edit: 1234
Enter the new transaction key to add: 5678
**********Main Menu***********
1. Add Transaction
2. Delete Transaction
3. Edit Transaction
4. Display Transactions
5. Exit the Program
Choose a menu option from 1-4 or 5 to exit the program: 5
Exiting program.
You May Also Like:
CS192 Programming Essentials – Week 1 Assignment
CS192 Programming Essentials – Week 2 Assignment
CS192 Programming Essentials – Week 3 Assignment
CS192 Programming Essentials – Week 4 Assignment
CS192 Programming Essentials – Week 6 Assignment
CS192 Programming Essentials – Week 7 Assignment
CS192 Programming Essentials – Week 8 Assignment
CS192 Week 4 Team Management Part 1
Modify the week 3 program assignment to do the following in order:
1. Ask the user to enter a name or ‘q’ to quit
2. While the user has not entered ‘q’ ask the user to enter an amount “account balance”
3. Ask the user to enter a number “amount”
4. If the amount is positive, calculate the “new account balance” by adding the amount and the account balance, print out the new account balance
5. If the amount is negative, calculate the “new account balance” by subtracting the amount from the account balance, print out “Account is overdrawn” and the new account balance
6. When the user enters ‘q’, quit the program. The program should continue to prompt the user to enter a name until the user enters ‘q’.
7. Round all numeric outputs to 2 decimal places.
An example of the program’s input and output is shown below:
Enter your name or ‘q’ to quit: Belinda Patton
Enter an amount your account balance: 56.61
Enter amount to withdraw (-) or deposit (+): 25
Your account balance is $81.61
Enter your name or ‘q’ to quit: Belinda Patton
Enter an amount your account balance: 23.61
Enter amount to withdraw (-) or deposit (+): -25
Your account balance is $-1.39
Enter your name or ‘q’ to quit: Belinda Patton
Enter an amount for your account balance: 33
Enter amount to withdraw (-) or deposit (+): -33
Your account balance is zero
Enter your name or ‘q’ to quit: q
Exiting Program
You May Also Like:
CS192 Programming Essentials – Week 1 Assignment
CS192 Programming Essentials – Week 2 Assignment
CS192 Programming Essentials – Week 3 Assignment
CS192 Programming Essentials – Week 5 Assignment
CS192 Programming Essentials – Week 6 Assignment
CS192 Programming Essentials – Week 7 Assignment
CS192 Programming Essentials – Week 8 Assignment
CS192 Week 3 Body Mass Index
Write a program that does the following in order:
1. Ask user to enter a name
2. Ask the user to enter five numbers “amount1”, “amount2”, “amount3”, “amount4”, “amount5”
3. Calculate the sum of the numbers “amount1”, “amount2”, “amount3”, “amount4”, “amount5”
4. If the sum is greater than 0, print out the sum
5. If the sum is equal to zero, print out “Your account balance is zero”
6. If the sum is less than 0, print out “Your account is overdrawn” and the “negative amount”
7. Round all print values to 1 decimal place
Examples of the program’s inputs and outputs are shown below:
Enter your name: Belinda Patton
Enter your amount 1: 52
Enter your amount 2: 2
Enter your amount 3: -22
Enter your amount 4: 12
Enter your amount 5: 32
Your account balance is $76.0
Enter your name: Belinda Patton
Enter your amount 1: -52
Enter your amount 2: 2
Enter your amount 3: 22
Enter your amount 4: 12
Enter your amount 5: 28
Your account balance is zero.
Enter your name: Belinda Patton
Enter your amount 1: -52
Enter your amount 2: 2
Enter your amount 3: -22
Enter your amount 4: 12
Enter your amount 5: -32
Your account is overdrawn. The overdrawn amount is -$92.0
You May Also Like:
CS192 Programming Essentials – Week 1 Assignment
CS192 Programming Essentials – Week 2 Assignment
CS192 Programming Essentials – Week 4 Assignment
CS192 Programming Essentials – Week 5 Assignment
CS192 Programming Essentials – Week 6 Assignment
CS192 Programming Essentials – Week 7 Assignment
CS192 Programming Essentials – Week 8 Assignment
CS192 Week 2 Payroll Calculation Program
Write a program that does the following in order:
1. Asks the user to enter a name
2. Asks the user to enter a number “gross income”
3. Asks the user to enter a number “state tax rate”
4. Calculates the “Federal Tax”, “FICA tax” and “State tax”
5. Calculates the “estimated tax” and round the value to 2 decimal places
6. Prints values for “name”, “gross income” and “estimated tax”
The program should contain three additional variables to store the Federal tax, FICA tax, State tax, gross income, and estimated tax.
Federal Tax = gross income * 9.45%
FICA Tax = gross income * 7.65%
State Tax = gross income * your state tax percent
Estimated Tax = Federal tax + FICA tax + State tax
NOTE: Percentages must be converted to decimal values, for example:
15.9%=15.9*0.01=0.159
An example of the program’s input and output is shown below:
Enter your name: Belinda Patton
Enter your gross income: 53398.12
Enter your state income tax rate: 4.27
Belinda Patton’s estimated tax is $11411.08 based on a gross income of $53398.12
You May Also Like:
CS192 Programming Essentials – Week 1 Assignment
CS192 Programming Essentials – Week 3 Assignment
CS192 Programming Essentials – Week 4 Assignment
CS192 Programming Essentials – Week 5 Assignment
CS192 Programming Essentials – Week 6 Assignment
CS192 Programming Essentials – Week 7 Assignment
CS192 Programming Essentials – Week 8 Assignment
CS192 Week 1 Automated Checkout Program
Write a program that does the following in order:
1. Asks the user to enter a name
2. Asks the user to enter a number “x”
3. Asks the user to enter a number “y”
4. Calculates the sum of “x” and “y”
5. Prints out the number for “x”, “y” and “sum”
An example of the program input and output is shown below:
Enter your name: Belinda Patton
Enter number x: 50
Enter number y: 10
The sum of 50 and 10 is 60
You May Also Like:
CS192 Programming Essentials – Week 2 Assignment
CS192 Programming Essentials – Week 3 Assignment
CS192 Programming Essentials – Week 4 Assignment
CS192 Programming Essentials – Week 5 Assignment
CS192 Programming Essentials – Week 6 Assignment
CS192 Programming Essentials – Week 7 Assignment
CS192 Programming Essentials – Week 8 Assignment
CS192 Programming Essentials Entire Course
CS192 Entire Course includes:
CS192 Programming Essentials – Week 8 Assignment
CS192 Programming Essentials – Week 7 Assignment
CS192 Programming Essentials – Week 6 Assignment
CS192 Programming Essentials – Week 5 Assignment
CS192 Programming Essentials – Week 4 Assignment
CS192 Programming Essentials – Week 3 Assignment
CS192 Programming Essentials – Week 2 Assignment
CS192 Programming Essentials – Week 1 Assignment
SCREENSHOTS PAYMENT
You May Also Like:
CS192 Programming Essentials – Week 1 Assignment
CS192 Programming Essentials – Week 2 Assignment
CS192 Programming Essentials – Week 3 Assignment
CS192 Programming Essentials – Week 4 Assignment
CS192 Programming Essentials – Week 5 Assignment
CS192 Programming Essentials – Week 6 Assignment
CS192 Programming Essentials – Week 7 Assignment
CS192 Programming Essentials – Week 8 Assignment
CS192 Programming Essentials Week 7 Employee Production Worker Program
A turtle can “stamp” its footprint onto the canvas, and this will remain after the turtle has moved somewhere else.
Modify the turtle footprint below to complete the following tasks:
· Create a 1-minute turtle footprint with custom attributes (size, pattern, color, direction, etc.)
· Customize the shape pattern drawn by the turned and change at least 5 attributes.
· Change the background color of your canvas and display your name on the canvas.
You May Also Like:
CS192 Programming Essentials – Week 1 Assignment
CS192 Programming Essentials – Week 2 Assignment
CS192 Programming Essentials – Week 3 Assignment
CS192 Programming Essentials – Week 4 Assignment
CS192 Programming Essentials – Week 5 Assignment
CS192 Programming Essentials – Week 6 Assignment
CS192 Programming Essentials – Week 8 Assignment
CS192 Programming Essentials Week 6 Pet Class
Modify your program from week 5 so that the program utilizes object-oriented programming to create an application which allows the user to create, delete or modify orders. Your program should do the following in order:
1. Define a class and class variables
2. Create a function to set the order amount
· Set order amount
3. Create a function to set order type
· Set order type
4. Create a function to set the order number
· Set order number
5. Create a function to get the order amount
· Return the order amount
6. Create a function to get the order type
· Return the order type
7. Create a function to get the order number
· Return the order number
8. Modify the function to display the order menu
Display a menu so that the user can select 1 of 6 options:
· Add Order
· Delete Order
· Edit Order
· Display Order
· Save Order
· Exit the Program
9. Create a new function to save the order items added to the list in a text file.
10. Repeatedly execute the menu selections unit the user enters 6 to exit the program.
Examples of the program’s input and output is shown below:
Add and Edit Order
Print, Save, and Exit Order
Order Saved To Text File
You May Also Like:
CS192 Programming Essentials – Week 1 Assignment
CS192 Programming Essentials – Week 2 Assignment
CS192 Programming Essentials – Week 3 Assignment
CS192 Programming Essentials – Week 4 Assignment
CS192 Programming Essentials – Week 5 Assignment
CS192 Programming Essentials – Week 7 Assignment
CS192 Programming Essentials – Week 8 Assignment
CS192 Programming Essentials Week 5 Body Mass Index
Create a program utilizes functions to append, delete, and index methods discussed this week. Your program should allow the user to add, remove or edit an item from a list. Your program should also print the list values and display a menu for the user to select a menu option. You will need to complete the following steps in your program:
1. Create a list called “transactions”
2. Create a function to display a menu so that the user can select 1 of 5 options:
· Add Transaction
· Delete Transaction
· Edit Transaction
· Display Transactions
· Exit the Program
3. Create a function to add a transaction to the list
· Ask user to enter transaction key
· Append transaction key to list
4. Create a function to delete a transaction from the list
· Ask user to enter transaction key
· Delete transaction key from list
5. Create a function to edit a transaction from the list
· Ask user to enter transaction key
· Edit existing transaction key
1. Create a function to print the list
· Print all transaction keys in the list
2. Repeatedly display the menu selections if the user has not selected option 5 to exit the program.
Examples of the program’s input and output is shown below:
**********Main Menu***********
1. Add Transaction
2. Delete Transaction
3. Edit Transaction
4. Display Transactions
5. Exit the Program
Choose a menu option from 1-4 or 5 to exit the program: 1
Enter the transaction key to add: 1234
**********Main Menu***********
1. Add Transaction
2. Delete Transaction
3. Edit Transaction
4. Display Transactions
5. Exit the Program
Choose a menu option from 1-4 or 5 to exit the program: 4
Displaying transaction keys list:
1234
**********Main Menu***********
1. Add Transaction
2. Delete Transaction
3. Edit Transaction
4. Display Transactions
5. Exit the Program
Choose a menu option from 1-4 or 5 to exit the program: 3
Enter the transaction key to edit: 1234
Enter the new transaction key to add: 5678
**********Main Menu***********
1. Add Transaction
2. Delete Transaction
3. Edit Transaction
4. Display Transactions
5. Exit the Program
Choose a menu option from 1-4 or 5 to exit the program: 5
Exiting program.
You May Also Like:
CS192 Programming Essentials – Week 1 Assignment
CS192 Programming Essentials – Week 2 Assignment
CS192 Programming Essentials – Week 3 Assignment
CS192 Programming Essentials – Week 4 Assignment
CS192 Programming Essentials – Week 6 Assignment
CS192 Programming Essentials – Week 7 Assignment
CS192 Programming Essentials – Week 8 Assignment
CS192 Programming Essentials Week 4 Grade Average Program
Modify the week 3 program assignment to do the following in order:
1. Ask the user to enter a name or ‘q’ to quit
2. While the user has not entered ‘q’ ask the user to enter an amount “account balance”
3. Ask the user to enter a number “amount”
4. If the amount is positive, calculate the “new account balance” by adding the amount and the account balance, print out the new account balance
5. If the amount is negative, calculate the “new account balance” by subtracting the amount from the account balance, print out “Account is overdrawn” and the new account balance
6. When the user enters ‘q’, quit the program. The program should continue to prompt the user to enter a name until the user enters ‘q’.
7. Round all numeric outputs to 2 decimal places.
An example of the program’s input and output is shown below:
Enter your name or ‘q’ to quit: Belinda Patton
Enter an amount your account balance: 56.61
Enter amount to withdraw (-) or deposit (+): 25
Your account balance is $81.61
Enter your name or ‘q’ to quit: Belinda Patton
Enter an amount your account balance: 23.61
Enter amount to withdraw (-) or deposit (+): -25
Your account balance is $-1.39
Enter your name or ‘q’ to quit: Belinda Patton
Enter an amount for your account balance: 33
Enter amount to withdraw (-) or deposit (+): -33
Your account balance is zero
Enter your name or ‘q’ to quit: q
Exiting Program
You May Also Like:
CS192 Programming Essentials – Week 1 Assignment
CS192 Programming Essentials – Week 2 Assignment
CS192 Programming Essentials – Week 3 Assignment
CS192 Programming Essentials – Week 5 Assignment
CS192 Programming Essentials – Week 6 Assignment
CS192 Programming Essentials – Week 7 Assignment
CS192 Programming Essentials – Week 8 Assignment
CS192 Programming Essentials Week 3 Calculator Program
Write a program that does the following in order:
1. Ask user to enter a name
2. Ask the user to enter five numbers “amount1”, “amount2”, “amount3”, “amount4”, “amount5”
3. Calculate the sum of the numbers “amount1”, “amount2”, “amount3”, “amount4”, “amount5”
4. If the sum is greater than 0, print out the sum
5. If the sum is equal to zero, print out “Your account balance is zero”
6. If the sum is less than 0, print out “Your account is overdrawn” and the “negative amount”
7. Round all print values to 1 decimal place
Examples of the program’s inputs and outputs are shown below:
Enter your name: Belinda Patton
Enter your amount 1: 52
Enter your amount 2: 2
Enter your amount 3: -22
Enter your amount 4: 12
Enter your amount 5: 32
Your account balance is $76.0
Enter your name: Belinda Patton
Enter your amount 1: -52
Enter your amount 2: 2
Enter your amount 3: 22
Enter your amount 4: 12
Enter your amount 5: 28
Your account balance is zero.
Enter your name: Belinda Patton
Enter your amount 1: -52
Enter your amount 2: 2
Enter your amount 3: -22
Enter your amount 4: 12
Enter your amount 5: -32
Your account is overdrawn. The overdrawn amount is -$92.0
You May Also Like:
CS192 Programming Essentials – Week 1 Assignment
CS192 Programming Essentials – Week 2 Assignment
CS192 Programming Essentials – Week 4 Assignment
CS192 Programming Essentials – Week 5 Assignment
CS192 Programming Essentials – Week 6 Assignment
CS192 Programming Essentials – Week 7 Assignment
CS192 Programming Essentials – Week 8 Assignment
CS192 Programming Essentials Week 2 Grade Book Program
Write a program that does the following in order:
1. Asks the user to enter a name
2. Asks the user to enter a number “gross income”
3. Asks the user to enter a number “state tax rate”
4. Calculates the “Federal Tax”, “FICA tax” and “State tax”
5. Calculates the “estimated tax” and round the value to 2 decimal places
6. Prints values for “name”, “gross income” and “estimated tax”
The program should contain three additional variables to store the Federal tax, FICA tax, State tax, gross income, and estimated tax.
Federal Tax = gross income * 9.45%
FICA Tax = gross income * 7.65%
State Tax = gross income * your state tax percent
Estimated Tax = Federal tax + FICA tax + State tax
NOTE: Percentages must be converted to decimal values, for example:
15.9%=15.9*0.01=0.159
An example of the program’s input and output is shown below:
Enter your name: Belinda Patton
Enter your gross income: 53398.12
Enter your state income tax rate: 4.27
Belinda Patton’s estimated tax is $11411.08 based on a gross income of $53398.12
You May Also Like:
CS192 Programming Essentials – Week 1 Assignment
CS192 Programming Essentials – Week 3 Assignment
CS192 Programming Essentials – Week 4 Assignment
CS192 Programming Essentials – Week 5 Assignment
CS192 Programming Essentials – Week 6 Assignment
CS192 Programming Essentials – Week 7 Assignment
CS192 Programming Essentials – Week 8 Assignment
CS192 Programming Essentials Week 1 Automated Checkout Program
Write a program that does the following in order:
1. Asks the user to enter a name
2. Asks the user to enter a number “x”
3. Asks the user to enter a number “y”
4. Calculates the sum of “x” and “y”
5. Prints out the number for “x”, “y” and “sum”
An example of the program input and output is shown below:
Enter your name: Belinda Patton
Enter number x: 50
Enter number y: 10
The sum of 50 and 10 is 60
You May Also Like:
CS192 Programming Essentials – Week 2 Assignment
CS192 Programming Essentials – Week 3 Assignment
CS192 Programming Essentials – Week 4 Assignment
CS192 Programming Essentials – Week 5 Assignment
CS192 Programming Essentials – Week 6 Assignment
CS192 Programming Essentials – Week 7 Assignment
CS192 Programming Essentials – Week 8 Assignment
Details
This product is crafted with quality materials to ensure durability and performance. Designed with your convenience in mind, it seamlessly fits into your everyday life.
Shipping & Returns
We strive to process and ship all orders in a timely manner, working diligently to ensure that your items are on their way to you as soon as possible.
We are committed to ensuring a positive shopping experience for all our customers. If for any reason you wish to return an item, we invite you to reach out to our team for assistance, and we will evaluate every return request with care and consideration.
Shop The Full Collection