1 / 43

CYB 130  Social Responsibility / snaptutorial.com

CYB 130 Week 1 Discussion zyBooks Reflection<br><br>CYB 130 Week 2 Discussion Code Structure<br><br>CYB 130 Week 3 Discussion Loop Statements<br><br>CYB 130 Week 4 Discussion Containers<br><br>CYB 130 Week 5 Discussion Handling Errors<br>

Richhard14
Download Presentation

CYB 130  Social Responsibility / snaptutorial.com

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. CYB 130  Social Responsibility / snaptutorial.com

  2. CYB 130  Social Responsibility / snaptutorial.com CYB 130 All DQs For more classes visit www.snaptutorial.com CYB 130 Week 1 Discussion zyBooks Reflection CYB 130 Week 2 Discussion Code Structure

  3. CYB 130  Social Responsibility / snaptutorial.com CYB 130 All Lab Work For more classes visit www.snaptutorial.com CYB 130 Week 1 Python LAB 2.30 Driving costs CYB 130 Week 1 Python LAB 2.16 Input Welcome message

  4. CYB 130  Social Responsibility / snaptutorial.com CYB 130 Week 1 Discussion zyBooks Reflection For more classes visit www.snaptutorial.com Respond to the following in a minimum of 175 words:

  5. CYB 130  Social Responsibility / snaptutorial.com CYB 130 Week 1 Python LAB 2.14 Formatted output Hello World! For more classes visit www.snaptutorial.com CYB 130 Week 1 Python LAB 2.14 Formatted output Hello World! Write a program that outputs "Hello World!" For ALL labs, end with newline (unless otherwise stated).

  6. CYB 130  Social Responsibility / snaptutorial.com CYB 130 Week 1 Python LAB 2.15 Formatted output No parking sign For more classes visit www.snaptutorial.com CYB 130 Week 1 Python LAB 2.15 Formatted output No parking sign Write a program that prints a formatted "No parking" sign as shown

  7. CYB 130  Social Responsibility / snaptutorial.com CYB 130 Week 1 Python LAB 2.16 Input Welcome message For more classes visit www.snaptutorial.com CYB 130 Week 1 Python LAB 2.16 Input Welcome message Write a program that takes a first name as the input, and outputs a welcome message to that name.

  8. CYB 130  Social Responsibility / snaptutorial.com CYB 130 Week 1 Python LAB 2.29 Divide by x For more classes visit www.snaptutorial.com CYB 130 Week 1 Python LAB 2.29 Divide by x Write a program using integers user_num and x as input, and output user_num divided by x three times.

  9. CYB 130  Social Responsibility / snaptutorial.com CYB 130 Week 1 Python LAB 2.30 Driving costs For more classes visit www.snaptutorial.com CYB 130 Week 1 Python LAB 2.30 Driving costs Driving is expensive. Write a program with a car's miles/gallon and gas dollars/gallon (both floats) as input, and output the gas cost for 20 miles, 75 miles, and 500 miles.

  10. CYB 130  Social Responsibility / snaptutorial.com CYB 130 Week 1 Python LAB 2.31 Expression for calories burned during workout For more classes visit www.snaptutorial.com CYB 130 Week 1 Python LAB 2.31 Expression for calories burned during workout The following equations estimate the calories burned when exercising

  11. CYB 130  Social Responsibility / snaptutorial.com CYB 130 Week 1 Python LAB 2.32 Using math functions For more classes visit www.snaptutorial.com CYB 130 Week 1 Python LAB 2.32 Using math functions Given three floating-point numbers x, y, and z, output x to the power of z, x to the power of (y to the power of z), the absolute value of (x minus y), and the square root of (x to the power of z).

  12. CYB 130  Social Responsibility / snaptutorial.com CYB 130 Week 2 Discussion Code Structure For more classes visit www.snaptutorial.com Respond to the following in a minimum of 175 words:

  13. CYB 130  Social Responsibility / snaptutorial.com CYB 130 Week 2 Python LAB 3.11 Input and formatted output Right-facing arrow For more classes visit www.snaptutorial.com CYB 130 Week 2 Python LAB 3.11: Input and formatted output: Right-facing arrow

  14. CYB 130  Social Responsibility / snaptutorial.com cyb 130 week 2 python lab 3.12 phone number breakdown For more classes visit www.snaptutorial.com CYB 130 Week 2 Python LAB 3.12: Phone number breakdown

  15. CYB 130  Social Responsibility / snaptutorial.com CYB 130 Week 2 Python LAB 3.13 Input and formatted output House real estate summary For more classes visit www.snaptutorial.com CYB 130 Week 2 Python LAB 3.13: Input and formatted output: House real estate summary Sites like Zillow get input about house prices from a database and provide nice summaries for readers. Write a program

  16. CYB 130  Social Responsibility / snaptutorial.com CYB 130 Week 2 Python LAB 3.14 Simple statistics For more classes visit www.snaptutorial.com CYB 130 Week 2 Python LAB 3.14: Simple statistics Given 4 floating-point numbers. Use a string formatting expression with conversion specifiers to output their product and their average as

  17. CYB 130  Social Responsibility / snaptutorial.com CYB 130 Week 2 Python LAB 3.25 Smallest number For more classes visit www.snaptutorial.com CYB 130 Week 2 Python LAB 3.25: Smallest number Write a program whose inputs are three integers, and whose output is the smallest of the three values.

  18. CYB 130  Social Responsibility / snaptutorial.com CYB 130 Week 2 Python LAB 3.26 Seasons For more classes visit www.snaptutorial.com CYB 130 Week 2 Python LAB 3.26: Seasons Write a program that takes a date as input and outputs the date's season. The input is a string to represent the month and an int to represent the day.

  19. CYB 130  Social Responsibility / snaptutorial.com CYB 130 Week 2 Python LAB 3.27 Exact change For more classes visit www.snaptutorial.com CYB 130 Week 2 Python LAB 3.27: Exact change Write a program with total change amount as an integer input, a

  20. CYB 130  Social Responsibility / snaptutorial.com CYB 130 Week 2 Python LAB 3.28 Leap year For more classes visit www.snaptutorial.com CYB 130 Week 2 Python LAB 3.28: Leap year A year in the modern Gregorian Calendar consists of 365 days. In reality, the earth takes longer to rotate around the sun. To account

  21. CYB 130  Social Responsibility / snaptutorial.com CYB 130 Week 3 Discussion Loop Statements For more classes visit www.snaptutorial.com Respond to the following in a minimum of 175 words: Most programming languages provide loop statements that help users iteratively process code. In Python you can write loops that handle many situations. What is the intuition behind using a loop statement? What do you gain from using loops in your code? Provide a code example to

  22. CYB 130  Social Responsibility / snaptutorial.com CYB 130 Week 3 Python LAB 4.14 LAB Count input length without spaces, periods, or commas For more classes visit www.snaptutorial.com CYB 130 Week 3 Python LAB 4.14 LAB: Count input length without spaces, periods, or commas

  23. CYB 130  Social Responsibility / snaptutorial.com CYB 130 Week 3 Python LAB 4.15 Password modifier For more classes visit www.snaptutorial.com CYB 130 Week 3 Python LAB 4.15: Password modifier

  24. CYB 130  Social Responsibility / snaptutorial.com CYB 130 Week 3 Python LAB 4.17 Print string in reverse For more classes visit www.snaptutorial.com CYB 130 Week 3 Python LAB 4.17: Print string in reverse

  25. CYB 130  Social Responsibility / snaptutorial.com CYB 130 Week 3 Python LAB 4.18 Smallest and largest numbers in a list For more classes visit www.snaptutorial.com CYB 130 Week 3 Python LAB 4.18: Smallest and largest numbers in a list

  26. CYB 130  Social Responsibility / snaptutorial.com CYB 130 Week 3 Python LAB 4.19 Output values in a list below a user defined amount For more classes visit www.snaptutorial.com CYB 130 Week 3 Python LAB 4.19: Output values in a list below a user defined amount

  27. CYB 130  Social Responsibility / snaptutorial.com CYB 130 Week 4 Discussion Containers For more classes visit www.snaptutorial.com Respond to the following in a minimum of 175 words:

  28. CYB 130  Social Responsibility / snaptutorial.com CYB 130 Week 4 Python LAB 5.18 Miles to track laps For more classes visit www.snaptutorial.com CYB 130 Week 4 Python LAB 5.18: Miles to track laps

  29. CYB 130  Social Responsibility / snaptutorial.com CYB 130 Week 4 Python LAB 5.19 Driving costs – functions For more classes visit www.snaptutorial.com CYB 130 Week 4 Python LAB 5.19: Driving costs - functions Driving is expensive. Write a program with a ca

  30. CYB 130  Social Responsibility / snaptutorial.com CYB 130 Week 4 Python LAB 5.20 Step counter For more classes visit www.snaptutorial.com CYB 130 Week 4 Python LAB 5.20: Step counter A pedometer treats walking 2,000 steps as walking 1 mile. Write a program whose input is the number of steps, and whose output is the miles walked.

  31. CYB 130  Social Responsibility / snaptutorial.com CYB 130 Week 4 Python LAB 5.21 Leap year – functions For more classes visit www.snaptutorial.com CYB 130 Week 4 Python LAB 5.21: Leap year - functions

  32. CYB 130  Social Responsibility / snaptutorial.com CYB 130 Week 4 Python LAB 5.22 Swapping variables For more classes visit www.snaptutorial.com CYB 130 Week 4 Python LAB 5.22: Swapping variables Write a program whose input is two integers and whose output is the two integers swapped.

  33. CYB 130  Social Responsibility / snaptutorial.com CYB 130 Week 4 Python LAB 5.23 Exact change – functions For more classes visit www.snaptutorial.com CYB 130 Week 4 Python LAB 5.23: Exact change - functions Write a program with total change amount as an integer input that outputs the change using the fewest coins, one coin type per line. The coin types are dollars, quarters, dimes, nickels, and pennies. Use singular and plural coin names as appropriate, like 1 penny vs. 2 pennies.

  34. CYB 130  Social Responsibility / snaptutorial.com CYB 130 Week 4 Python LAB 5.24 Even/odd values in a list For more classes visit www.snaptutorial.com CYB 130 Week 4 Python LAB 5.24: Even/odd values in a list Write a program that reads a list of integers, and outputs whether the

  35. CYB 130  Social Responsibility / snaptutorial.com CYB 130 Week 5 Discussion Handling Errors For more classes visit www.snaptutorial.com Respond to the following in a minimum of 175 words:

  36. CYB 130  Social Responsibility / snaptutorial.com CYB 130 Week 5 Python LAB 6.5 Checker for integer string For more classes visit www.snaptutorial.com CYB 130 Week 5 Python LAB 6.5: Checker for integer string Forms often allow a user to enter an integer. Write a program that

  37. CYB 130  Social Responsibility / snaptutorial.com CYB 130 Week 5 Python LAB 6.6 Name format For more classes visit www.snaptutorial.com CYB 130 Week 5 Python LAB 6.6: Name format Many documents use a specific format for a person's name. Write a program whose input is: firstNamemiddleNamelastName and whose output is: lastName, firstInitial.middleInitial.

  38. CYB 130  Social Responsibility / snaptutorial.com CYB 130 Week 5 Python LAB 6.7 Palindrome For more classes visit www.snaptutorial.com CYB 130 Week 5 Python LAB 6.7: Palindrome A palindrome is a word or a phrase that is the same when read both forward and backward. Examples are: "bob," "sees," or "never odd or even" (ignoring spaces). Write a program whose input is a word or phrase, and that outputs whether the input is a palindrome.

  39. CYB 130  Social Responsibility / snaptutorial.com CYB 130 Week 5 Python LAB 6.8 Acronyms For more classes visit www.snaptutorial.com CYB 130 Week 5 Python LAB 6.8: Acronyms An acronym is a word formed from the initial letters of words in a set phrase. Write a program whose input is a phrase and whose output is an

  40. CYB 130  Social Responsibility / snaptutorial.com CYB 130 Week 5 Python LAB 6.24 Varied amount of input data For more classes visit www.snaptutorial.com CYB 130 Week 5 Python LAB 6.24: Varied amount of input data

  41. CYB 130  Social Responsibility / snaptutorial.com CYB 130 Week 5 Python LAB 6.25 Filter and sort a list For more classes visit www.snaptutorial.com CYB 130 Week 5 Python LAB 6.25: Filter and sort a list

  42. CYB 130  Social Responsibility / snaptutorial.com CYB 130 Week 5 Python LAB 6.26 Elements in a range For more classes visit www.snaptutorial.com CYB 130 Week 5 Python LAB 6.26: Elements in a range Write a program that first gets a list of integers from input. That list is followed by two more integers representing lower and upper bounds of a range. Your program should output all integers from the list that are within that range (inclusive of the bounds).

  43. CYB 130  Social Responsibility / snaptutorial.com

More Related