CYB 130 education pioneer / tutorialrank.com - PowerPoint PPT Presentation

About This Presentation
Title:

CYB 130 education pioneer / tutorialrank.com

Description:

For more course tutorials visit www.tutorialrank.com CYB 130 Week 1 Discussion zyBooks Reflection CYB 130 Week 2 Discussion Code Structure CYB 130 Week 3 Discussion Loop Statements CYB 130 Week 4 Discussion Containers – PowerPoint PPT presentation

Number of Views:8
Slides: 44
Provided by: JavierDiego162
Tags: dqs | entercourse

less

Transcript and Presenter's Notes

Title: CYB 130 education pioneer / tutorialrank.com


1
CYB 130 education pioneer / tutorialrank.com
2
CYB 130 education pioneer / tutorialrank.com
CYB 130 All DQs http//www.tutorialrank.com/CYB/C
YB-130-/product-28161-CYB-130-All-DQs   CYB 130
Week 1 Discussion zyBooks Reflection   CYB 130
Week 2 Discussion Code Structure   CYB 130 Week 3
Discussion Loop Statements   CYB 130 Week 4
Discussion Containers   CYB 130 Week 5 Discussion
Handling Errors
3
CYB 130 education pioneer / tutorialrank.com
CYB 130 All Lab Work http//www.tutorialrank.com/
product-28358-CYB-130-All-Lab-Work   CYB 130
Week 1 Python LAB 2.14 Formatted output Hello
World! CYB 130 Week 1 Python LAB 2.15 Formatted
output No parking sign CYB 130 Week 1 Python LAB
2.16 Input Welcome message CYB 130 Week 1 Python
LAB 2.29 Divide by x CYB 130 Week 1 Python LAB
2.30 Driving costs CYB 130 Week 1 Python LAB 2.31
Expression for calories burned during workout CYB
130 Week 1 Python LAB 2.32 Using math functions
4
CYB 130 education pioneer / tutorialrank.com
CYB 130 Week 1 Discussion zyBooks
Reflection http//www.tutorialrank.com/CYB/CYB-13
0-/product-28156-CYB-130-Week-1-Discussion-zyBooks
-Reflection   Respond to the following in a
minimum of 175 words   Now that you have spent
one week navigating your zyBook, what
observations have you made about its design?
Which elements were most helpful to you? Which
features are still troublesome? What strategies
have you applied that could be of use to someone
else? Describe another situation in which zyBooks
could help you learn content.
5
CYB 130 education pioneer / tutorialrank.com
CYB 130 Week 1 Python LAB 2.14 Formatted output
Hello World! http//www.tutorialrank.com/CYB/CYB-
130-/product-28317-CYB-130-Week-1-Python-LAB-2-14-
Formatted-output-Hello-World   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 education pioneer / tutorialrank.com
CYB 130 Week 1 Python LAB 2.15 Formatted output
No parking sign http//www.tutorialrank.com/CYB/C
YB-130-/product-28315-CYB-130-Week-1-Python-LAB-2-
15-Formatted-output-No-parking-sign   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 below. Note
the first line has two leading spaces. For ALL
labs, end with newline (unless otherwise stated).
7
CYB 130 education pioneer / tutorialrank.com
CYB 130 Week 1 Python LAB 2.16 Input Welcome
message http//www.tutorialrank.com/CYB/CYB-130-/
product-28311-CYB-130-Week-1-Python-LAB-2-16-Input
-Welcome-message   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 education pioneer / tutorialrank.com
CYB 130 Week 1 Python LAB 2.29 Divide by
x http//www.tutorialrank.com/CYB/CYB-130-/produc
t-28314-CYB-130-Week-1-Python-LAB-2-29-Divide-by-x
  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 education pioneer / tutorialrank.com
CYB 130 Week 1 Python LAB 2.30 Driving
costs http//www.tutorialrank.com/CYB/CYB-130-/pr
oduct-28310-CYB-130-Week-1-Python-LAB-2-30-Driving
-costs   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 education pioneer / tutorialrank.com
CYB 130 Week 1 Python LAB 2.31 Expression for
calories burned during workout http//www.tutori
alrank.com/CYB/CYB-130-/product-28313-CYB-130-Week
-1-Python-LAB-2-31-Expression-for-calories-burned-
during-workout   CYB 130 Week 1 Python LAB 2.31
Expression for calories burned during workout The
following equations estimate the calories burned
when exercising (source)
11
CYB 130 education pioneer / tutorialrank.com
CYB 130 Week 1 Python LAB 2.32 Using math
functions http//www.tutorialrank.com/CYB/CYB-130
-/product-28312-CYB-130-Week-1-Python-LAB-2-32-Usi
ng-math-functions   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 education pioneer / tutorialrank.com
CYB 130 Week 2 Discussion Code Structure http//w
ww.tutorialrank.com/CYB/CYB-130-/product-28157-CYB
-130-Week-2-Discussion-Code-Structure   Respond
to the following in a minimum of 175 words
  This week you will learn about basic code
structure. The term structure, as it relates to
programming, refers to the decisions you make to
design your program to best meet its objective.
Python provides features to create clean,
efficient code. How can the basic if/elif/else
control statements help meet structural design
objectives in your code? Provide a code example
to support your comments.
13
CYB 130 education pioneer / tutorialrank.com
CYB 130 Week 2 Python LAB 3.11 Input and
formatted output Right-facing arrow http//www.tu
torialrank.com/CYB/CYB-130-/product-28323-CYB-130-
Week-2-Python-LAB-3-11-Input-and-formatted-output-
Right-facing-arrow   CYB 130 Week 2 Python LAB
3.11 Input and formatted output Right-facing
arrow Given input characters for an arrowhead and
arrow body, print a right-facing arrow.  
14
CYB 130 education pioneer / tutorialrank.com
CYB 130 Week 2 Python LAB 3.12 Phone number
breakdown http//www.tutorialrank.com/CYB/CYB-130
-/product-28324-CYB-130-Week-2-Python-LAB-3-12-Pho
ne-number-breakdown CYB 130 Week 2 Python LAB
3.12 Phone number breakdown Given an integer
representing a 10-digit phone number, output the
area code, prefix, and line number using the
format (800) 555-1212.
15
CYB 130 education pioneer / tutorialrank.com
CYB 130 Week 2 Python LAB 3.13 Input and
formatted output House real estate
summary http//www.tutorialrank.com/CYB/CYB-130-/
product-28325-CYB-130-Week-2-Python-LAB-3-13-Input
-and-formatted-output-House-real-estate-summary
  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 with two inputs, current price
and last month's price (both integers). Then,
output a summary listing the price, the change
since last month, and the estimated monthly
mortgage computed as (current_price 0.051) /
12.  
16
CYB 130 education pioneer / tutorialrank.com
CYB 130 Week 2 Python LAB 3.14 Simple
statistics http//www.tutorialrank.com/CYB/CYB-13
0-/product-28338-CYB-130-Week-2-Python-LAB-3-14-Si
mple-statistics   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 integers (rounded), then as
floating-point numbers.
17
CYB 130 education pioneer / tutorialrank.com
CYB 130 Week 2 Python LAB 3.25 Smallest
number http//www.tutorialrank.com/CYB/CYB-130-/p
roduct-28319-CYB-130-Week-2-Python-LAB-3-25-Smalle
st-number   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 education pioneer / tutorialrank.com
CYB 130 Week 2 Python LAB 3.26 Seasons http//www
.tutorialrank.com/product-28329-CYB-130-Week-2-Pyt
hon-LAB-3-26-Seasons   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 education pioneer / tutorialrank.com
CYB 130 Week 2 Python LAB 3.27 Exact
change http//www.tutorialrank.com/product-28331-
CYB-130-Week-2-Python-LAB-3-27-Exact-change   CYB
130 Week 2 Python LAB 3.27 Exact change Write a
program with total change amount as an integer
input, and output 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.
20
CYB 130 education pioneer / tutorialrank.com
CYB 130 Week 2 Python LAB 3.28 Leap
year http//www.tutorialrank.com/product-28320-CY
B-130-Week-2-Python-LAB-3-28-Leap-year   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 for the
difference in time, every 4 years, a leap year
takes place. A leap year is when a year has 366
days An extra day, February 29th. The
requirements for a given year to be a leap year
are 1) The year must be divisible by 4 2) If the
year is a century year (1700, 1800, etc.), the
year must be evenly divisible by 400
21
CYB 130 education pioneer / tutorialrank.com
CYB 130 Week 3 Discussion Loop Statements http//
www.tutorialrank.com/CYB/CYB-130-/product-28158-CY
B-130-Week-3-Discussion-Loop-Statements 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 support your comments.
22
CYB 130 education pioneer / tutorialrank.com
CYB 130 Week 3 Python LAB 4.14 LAB Count input
length without spaces, periods, or
commas http//www.tutorialrank.com/product-28342-
CYB-130-Week-3-Python-LAB-4-14-LAB-Count-input-len
gth-without-spaces-periods-or-commas   CYB 130
Week 3 Python LAB 4.14 LAB Count input length
without spaces, periods, or commas  
23
CYB 130 education pioneer / tutorialrank.com
CYB 130 Week 3 Python LAB 4.15 Password
modifier http//www.tutorialrank.com/product-2834
1-CYB-130-Week-3-Python-LAB-4-15-Password-modifier
  CYB 130 Week 3 Python LAB 4.15 Password
modifier   Many user-created passwords are simple
and easy to guess. Write a program that takes a
simple password and makes it stronger by
replacing characters using the key below, and by
appending "qs" to the end of the input string.
24
CYB 130 education pioneer / tutorialrank.com
CYB 130 Week 3 Python LAB 4.17 Print string in
reverse http//www.tutorialrank.com/product-28339
-CYB-130-Week-3-Python-LAB-4-17-Print-string-in-re
verse   CYB 130 Week 3 Python LAB 4.17 Print
string in reverse   Write a program that takes in
a line of text as input, and outputs that line of
text in reverse. The program repeats, ending when
the user enters "Quit", "quit", or "q" for the
line of text.  
25
CYB 130 education pioneer / tutorialrank.com
CYB 130 Week 3 Python LAB 4.18 Smallest and
largest numbers in a list http//www.tutorialrank
.com/product-28340-CYB-130-Week-3-Python-LAB-4-18-
Smallest-and-largest-numbers-in-a-list CYB 130
Week 3 Python LAB 4.18 Smallest and largest
numbers in a list    Write a program that reads a
list of integers into a list as long as the
integers are greater than zero, then outputs the
smallest and largest integers in the list.
26
CYB 130 education pioneer / tutorialrank.com
CYB 130 Week 3 Python LAB 4.19 Output values in a
list below a user defined amount http//www.tutor
ialrank.com/product-28343-CYB-130-Week-3-Python-LA
B-4-19-Output-values-in-a-list-below-a-user-define
d-amount   CYB 130 Week 3 Python LAB 4.19
Output values in a list below a user defined
amount    Write a program that first gets a list
of integers from input. The input begins with an
integer indicating the number of integers that
follow. Then, get the last value from the input,
which indicates a threshold. Output all integers
less than or equal to that last threshold value.
27
CYB 130 education pioneer / tutorialrank.com
CYB 130 Week 4 Discussion Containers http//www.t
utorialrank.com/CYB/CYB-130-/product-28159-CYB-130
-Week-4-Discussion-Containers Respond to the
following in a minimum of 175 words   Python
lists are commonly used to store data types.
Lists are a collection of information typically
called a container. Think of a physical container
that can hold all kinds of objects, not just one
object of the same type. Python includes a
built-in list type called a list. They can be
managed by many built-in functions that help
fill, iterate over, add to, and delete a list.
Why is it useful to store information with
different data types? When do you choose to use a
list over a dictionary? Provide a code example
that supports your comments.
28
CYB 130 education pioneer / tutorialrank.com
CYB 130 Week 4 Python LAB 5.18 Miles to track
laps http//www.tutorialrank.com/product-28350-CY
B-130-Week-4-Python-LAB-5-18-Miles-to-track-laps
CYB 130 Week 4 Python LAB 5.18 Miles to track
laps One lap around a standard high-school
running track is exactly 0.25 miles. Write the
function miles_to_laps() that takes a number of
miles as an argument and returns the number of
laps. Complete the program to output the number
of laps.  
29
CYB 130 education pioneer / tutorialrank.com
CYB 130 Week 4 Python LAB 5.19 Driving costs
functions http//www.tutorialrank.com/product-283
49-CYB-130-Week-4-Python-LAB-5-19-Driving-costs-fu
nctions   CYB 130 Week 4 Python LAB 5.19
Driving costs - functions 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 10 miles, 50 miles, and 400
miles.
30
CYB 130 education pioneer / tutorialrank.com
CYB 130 Week 4 Python LAB 5.20 Step
counter http//www.tutorialrank.com/product-28346
-CYB-130-Week-4-Python-LAB-5-20-Step-counter   C
YB 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 education pioneer / tutorialrank.com
CYB 130 Week 4 Python LAB 5.21 Leap year
functions http//www.tutorialrank.com/product-283
44-CYB-130-Week-4-Python-LAB-5-21-Leap-year-functi
ons CYB 130 Week 4 Python LAB 5.21 Leap year -
functions A year in the modern Gregorian Calendar
consists of 365 days. In reality, the earth takes
longer to rotate around the sun. To account for
the difference in time, every 4 years, a leap
year takes place. A leap year is when a year has
366 days An extra day, February 29th. The
requirements for a given year to be a leap year
are 1) The year must be divisible by 4 2) If the
year is a century year (1700, 1800, etc.), the
year must be evenly divisible by 400 Some example
leap years are 1600, 1712, and 2016.
32
CYB 130 education pioneer / tutorialrank.com
CYB 130 Week 4 Python LAB 5.22 Swapping
variables http//www.tutorialrank.com/product-283
45-CYB-130-Week-4-Python-LAB-5-22-Swapping-variabl
es   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 education pioneer / tutorialrank.com
cyb 130 week 4 python lab 5.23 exact change
functions http//www.tutorialrank.com/product-283
48-cyb-130-week-4-python-lab-5-23-exact-change-fun
ctions 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 education pioneer / tutorialrank.com
CYB 130 Week 4 Python LAB 5.24 Even/odd values in
a list http//www.tutorialrank.com/product-28347-
CYB-130-Week-4-Python-LAB-5-24-Even-odd-values-in-
a-list   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
list contains all even numbers, odd numbers, or
neither. The input begins with an integer
indicating the number of integers that follow.
35
CYB 130 education pioneer / tutorialrank.com
CYB 130 Week 5 Discussion Handling
Errors http//www.tutorialrank.com/CYB/CYB-130-/p
roduct-28160-CYB-130-Week-5-Discussion-Handling-Er
rors   Respond to the following in a minimum of
175 words   It is important to program your
code efficiently. Efficient code manages errors
and exceptions and cleans up memory after it
ends. The try-except statements are helpful in
handling errors that are detected during
execution. What are the two categories of errors
when debugging code? How can the try-except
statements handle errors in Python? Provide a
code example that supports your comments.
36
CYB 130 education pioneer / tutorialrank.com
CYB 130 Week 5 Python LAB 6.5 Checker for integer
string http//www.tutorialrank.com/product-28354-
CYB-130-Week-5-Python-LAB-6-5-Checker-for-integer-
string   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 takes in a
string representing an integer as input, and
outputs yes if every character is a digit 0-9.
37
CYB 130 education pioneer / tutorialrank.com
CYB 130 Week 5 Python LAB 6.6 Name
format http//www.tutorialrank.com/product-28357-
CYB-130-Week-5-Python-LAB-6-6-Name-format   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 education pioneer / tutorialrank.com
CYB 130 Week 5 Python LAB 6.7 Palindrome http//w
ww.tutorialrank.com/product-28356-CYB-130-Week-5-P
ython-LAB-6-7-Palindrome   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 education pioneer / tutorialrank.com
CYB 130 Week 5 Python LAB 6.8 Acronyms http//www
.tutorialrank.com/product-28352-CYB-130-Week-5-Pyt
hon-LAB-6-8-Acronyms   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 acronym of the input. If a
word begins with a lower case letter, don't
include that letter in the acronym. Assume there
will be at least one upper case letter in the
input.
40
CYB 130 education pioneer / tutorialrank.com
CYB 130 Week 5 Python LAB 6.24 Varied amount of
input data http//www.tutorialrank.com/product-28
351-CYB-130-Week-5-Python-LAB-6-24-Varied-amount-o
f-input-data   CYB 130 Week 5 Python LAB 6.24
Varied amount of input data Statistics are often
calculated with varying amounts of input data.
Write a program that takes any number of integers
as input, and outputs the average and max.
41
CYB 130 education pioneer / tutorialrank.com
CYB 130 Week 5 Python LAB 6.25 Filter and sort a
list http//www.tutorialrank.com/product-28353-CY
B-130-Week-5-Python-LAB-6-25-Filter-and-sort-a-lis
t CYB 130 Week 5 Python LAB 6.25 Filter and
sort a list Write a program that gets a list of
integers from input, and outputs non-negative
integers in ascending order (lowest to highest).  
42
CYB 130 education pioneer / tutorialrank.com
CYB 130 Week 5 Python LAB 6.26 Elements in a
range http//www.tutorialrank.com/product-28355-C
YB-130-Week-5-Python-LAB-6-26-Elements-in-a-range
  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 education pioneer / tutorialrank.com
Write a Comment
User Comments (0)
About PowerShow.com