CYB 130 Inspiring Communication / snaptutorial.com - PowerPoint PPT Presentation

About This Presentation
Title:

CYB 130 Inspiring Communication / snaptutorial.com

Description:

For more classes visit www.snaptutorial.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 CYB 130 Week 5 Discussion Handling Errors – PowerPoint PPT presentation

Number of Views:2

less

Transcript and Presenter's Notes

Title: CYB 130 Inspiring Communication / snaptutorial.com


1
CYB 130 Inspiring Communication / snaptutorial.com
2
CYB 130 Inspiring Communication / 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   CYB 130 Week 3
Discussion Loop Statements   CYB 130 Week 4
Discussion Containers
3
CYB 130 Inspiring Communication / 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   CYB 130
Week 1 Python LAB 2.32 Using math functions
4
CYB 130 Inspiring Communication / snaptutorial.com
CYB 130 Entire Course For more classes
visit www.snaptutorial.com   CYB 130 Week 1 Data
Types and Variables CYB 130 Week 1 String and
Text Manipulation CYB 130 Week 1 Conditional and
Variables CYB 130 Week 2 Loops and Conditional
Statements
5
CYB 130 Inspiring Communication / snaptutorial.com
CYB 130 Week 1 Conditional and Variables For
more classes visit www.snaptutorial.com   CYB 130
Week 1 Conditional and Variables Write a Python
script that determines the highest day temp and
highest night temp of the following variables
6
CYB 130 Inspiring Communication / snaptutorial.com
CYB 130 Week 1 Data Types and Variables For
more classes visit www.snaptutorial.com   CYB 130
Week 1 Data Types and Variables Write a Python
script that accepts the radius of a circle and
computes the area of that circle.
7
CYB 130 Inspiring Communication / snaptutorial.com
CYB 130 Week 1 Discussion zyBooks Reflection
For more classes visit www.snaptutorial.com   Res
pond 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?
8
CYB 130 Inspiring Communication / 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).  
9
CYB 130 Inspiring Communication / 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 below. Note the first line
has two leading spaces. For ALL labs, end with
newline (unless otherwise stated).
10
CYB 130 Inspiring Communication / 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.
11
CYB 130 Inspiring Communication / 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.  
12
CYB 130 Inspiring Communication / 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.
13
CYB 130 Inspiring Communication / 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 (source)
14
CYB 130 Inspiring Communication / snaptutorial.com
CYB 130 Week 1 Python LAB 2.32 Using math
functions For more classes visit www.snaptutoria
l.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).
15
CYB 130 Inspiring Communication / snaptutorial.com
CYB 130 Week 1 String and Text Manipulation For
more classes visit www.snaptutorial.com   CYB 130
Week 1 String and Text Manipulation Write a
Python script that meets the following
requirements
16
CYB 130 Inspiring Communication / 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
  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.
17
CYB 130 Inspiring Communication / snaptutorial.com
CYB 130 Week 2 Loops and Conditional Statements
For more classes visit www.snaptutorial.com   CYB
130 Week 2 Loops and Conditional Statements User
input can be obtained using the following
statement and storing it into a variable for
future use   num input(Enter a number )
18
CYB 130 Inspiring Communication / 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 Given input characters for an
arrowhead and arrow body, print a right-facing
arrow.  
19
CYB 130 Inspiring Communication / snaptutorial.com
cyb 130 week 2 python lab 3.12 phone number
breakdown For more classes visit www.snaptutoria
l.com   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.
20
CYB 130 Inspiring Communication / 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.
21
CYB 130 Inspiring Communication / 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 integers (rounded), then as
floating-point numbers.
22
CYB 130 Inspiring Communication / 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.
23
CYB 130 Inspiring Communication / 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.
24
CYB 130 Inspiring Communication / 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, and output the change using the fewest
coins, one coin type per line.
25
CYB 130 Inspiring Communication / 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.
26
CYB 130 Inspiring Communication / snaptutorial.com
CYB 130 Week 2 Using Loops For more classes
visit www.snaptutorial.com   CYB 130 Week 2 Using
Loops Write a Python script that asks the user to
input an integer and then a character.  Use those
values to print the character in the following
pattern
27
CYB 130 Inspiring Communication / snaptutorial.com
CYB 130 Week 3 Accessing the Internet For more
classes visit www.snaptutorial.com   CYB 130 Week
3 Accessing the Internet Write a Python script
that accesses a websites URL and dowloads a
picture to your computers hard drive. 
28
CYB 130 Inspiring Communication / 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.
29
CYB 130 Inspiring Communication / snaptutorial.com
CYB 130 Week 3 Python and HTML For more classes
visit www.snaptutorial.com   CYB 130 Week 3
Python and HTML Write a Python script that builds
an HTML file of your own design.  Add an image
tag into your HTML and link it to an image on
your hard drive.  Make sure you store the image
in the same directory as the html file, otherwise
it might not find the file.
30
CYB 130 Inspiring Communication / 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  
31
CYB 130 Inspiring Communication / 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       Many user-created passwords are
simple and easy to guess.
32
CYB 130 Inspiring Communication / 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    rite 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.
33
CYB 130 Inspiring Communication / 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  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.
34
CYB 130 Inspiring Communication / 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    
35
CYB 130 Inspiring Communication / 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
  Python lists are commonly used to store data
types. Lists are a collection of information
typically called a container.
36
CYB 130 Inspiring Communication / snaptutorial.com
CYB 130 Week 4 Individual Functional
Programming For more classes visit www.snaptutor
ial.com   CYB 130 Week 4 Individual Functional
Programming Write a 2-part program as follows
37
CYB 130 Inspiring Communication / snaptutorial.com
CYB 130 Week 4 Individual Object Oriented
Programming (OOP) For more classes
visit www.snaptutorial.com   CYB 130 Week 4
Individual Object Oriented Programming (OOP) As
defined on pp. 449 to 468 in Ch. 17,
Object-Oriented Programming, of Introduction to
Computing and Programming in Python, a Turtle is
an object from the class Turtle with the
following features
38
CYB 130 Inspiring Communication / 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 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.
39
CYB 130 Inspiring Communication / snaptutorial.com
CYB 130 Week 4 Python LAB 5.19 Driving costs
functions For more classes visit www.snaptutoria
l.com   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.
40
CYB 130 Inspiring Communication / 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.
41
CYB 130 Inspiring Communication / snaptutorial.com
CYB 130 Week 4 Python LAB 5.21 Leap year
functions For more classes visit www.snaptutoria
l.com   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.
42
CYB 130 Inspiring Communication / snaptutorial.com
CYB 130 Week 4 Python LAB 5.22 Swapping
variables For more classes visit www.snaptutoria
l.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.
43
CYB 130 Inspiring Communication / snaptutorial.com
CYB 130 Week 4 Python LAB 5.23 Exact change
functions For more classes visit www.snaptutoria
l.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.
44
CYB 130 Inspiring Communication / snaptutorial.com
CYB 130 Week 4 Python LAB 5.24 Even/odd values in
a list For more classes visit www.snaptutorial.c
om   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.
45
CYB 130 Inspiring Communication / 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   It
is important to program your code efficiently.
Efficient code manages errors and exceptions and
cleans up memory after it ends.
46
CYB 130 Inspiring Communication / snaptutorial.com
CYB 130 Week 5 Individual bruteLogin
Recommendations For more classes
visit www.snaptutorial.com   CYB 130 Week 5
Individual bruteLogin Recommendations Review the
bruteLogin function on p. 58 of Ch. 2,
Penetration Testing with Python, of Violent
Python A Cookbook for Hackers, Forensic
Analysts, Penetration Testers and Security
Engineers.
47
CYB 130 Inspiring Communication / snaptutorial.com
CYB 130 Week 5 Individual Extracting Passwords
For more classes visit www.snaptutorial.com   CYB
130 Week 5 Individual Extracting
Passwords Linux systems keep user account
information in the passwd file and the encrypted
password in the shadow file.
48
CYB 130 Inspiring Communication / snaptutorial.com
CYB 130 Week 5 Python LAB 6.5 Checker for integer
string For more classes visit www.snaptutorial.c
om   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.
49
CYB 130 Inspiring Communication / 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 firstNamemiddleNamelastN
ame
50
CYB 130 Inspiring Communication / 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).
51
CYB 130 Inspiring Communication / 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 acronym of the input.
52
CYB 130 Inspiring Communication / snaptutorial.com
CYB 130 Week 5 Python LAB 6.24 Varied amount of
input data For more classes visit www.snaptutori
al.com   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.
53
CYB 130 Inspiring Communication / 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 Write a program that gets a list of
integers from input, and outputs non-negative
integers in ascending order (lowest to highest).  
54
CYB 130 Inspiring Communication / snaptutorial.com
CYB 130 Week 5 Python LAB 6.26 Elements in a
range For more classes visit www.snaptutorial.co
m   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.
55
CYB 130 Inspiring Communication / snaptutorial.com
Write a Comment
User Comments (0)
About PowerShow.com