1 / 14

CYB 130 RANK Wonderful Education--cyb130rank.com

FOR MORE CLASSES VISIT<br>www.cyb130rank.com<br><br>CYB 130 Week 1 Data Types and Variables<br>CYB 130 Week 1 String and Text Manipulation<br>CYB 130 Week 1 Conditional and Variables<br>

Download Presentation

CYB 130 RANK Wonderful Education--cyb130rank.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 RANK Wonderful Education--cyb130rank.com

  2. CYB 130 RANK Wonderful Education--cyb130rank.com CYB 130 Entire Course FOR MORE CLASSES VISIT www.cyb130rank.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 CYB 130 Week 2 Using Loops

  3. CYB 130 RANK Wonderful Education--cyb130rank.com CYB 130 Week 1 Conditional and Variables FOR MORE CLASSES VISIT www.cyb130rank.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: day1Temp = 78 day2Temp = 84 day3Temp = 98

  4. CYB 130 RANK Wonderful Education--cyb130rank.com CYB 130 Week 1 Data Types and Variables FOR MORE CLASSES VISIT www.cyb130rank.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. Use the formula: Area of a circle = 3.14 * radius ^2. Assign the initial radius variable the value: 1.5 Your output should look like this: (final area may have more numbers after the decimal point) The area of the circle with radius 1.5 is: 7.07

  5. CYB 130 RANK Wonderful Education--cyb130rank.com CYB 130 Week 1 String and Text Manipulation FOR MORE CLASSES VISIT www.cyb130rank.com CYB 130 Week 1 String and Text Manipulation Write a Python script that meets the following requirements: – declares three variables: GPA (floating-point number), studentName ( a string), studentNumber (a string) – assign the variables values of your choice – create a print command to output each variable on a separate line – using a single print command, your variable values, output a statement with the following format:

  6. CYB 130 RANK Wonderful Education--cyb130rank.com CYB 130 Week 2 Loops and Conditional Statements FOR MORE CLASSES VISIT www.cyb130rank.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: “) The Python shell will wait for the user to input a number and then continue forward with the next line in the script.

  7. CYB 130 RANK Wonderful Education--cyb130rank.com CYB 130 Week 2 Using Loops FOR MORE CLASSES VISIT www.cyb130rank.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: r rrrr r rrr r rr

  8. CYB 130 RANK Wonderful Education--cyb130rank.com CYB 130 Week 3 Accessing the Internet FOR MORE CLASSES VISIT www.cyb130rank.com CYB 130 Week 3 Accessing the Internet Write a Python script that accesses a website’s URL and dowloads a picture to your computer’s hard drive. Then access another URL and dowload the HTML file associated with that web address. Add print statements to indicate the program is downloading the content. For example:

  9. CYB 130 RANK Wonderful Education--cyb130rank.com CYB 130 Week 3 Python and HTML FOR MORE CLASSES VISIT www.cyb130rank.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.

  10. CYB 130 RANK Wonderful Education--cyb130rank.com CYB 130 Week 4 Individual: Functional Programming FOR MORE CLASSES VISIT www.cyb130rank.com CYB 130 Week 4 Individual: Functional Programming Write a 2-part program as follows: Part 1: Write a function to convert Celsius to Fahrenheit. Part 2: Write a function to convert Fahrenheit to Celsius.

  11. CYB 130 RANK Wonderful Education--cyb130rank.com CYB 130 Week 4 Individual: Object Oriented Programming (OOP) FOR MORE CLASSES VISIT www.cyb130rank.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:

  12. CYB 130 RANK Wonderful Education--cyb130rank.com CYB 130 Week 5 Individual: bruteLogin Recommendations FOR MORE CLASSES VISIT www.cyb130rank.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.

  13. CYB 130 RANK Wonderful Education--cyb130rank.com CYB 130 Week 5 Individual: Extracting Passwords FOR MORE CLASSES VISIT www.cyb130rank.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. The passwd file containing account information might look like this: smithj:x:1001:1001:John Smith:/home/smithj:/bin/bash The shadow file containing password and account expiration information for users might look like this:

  14. CYB 130 RANK Wonderful Education--cyb130rank.com

More Related