SlideShare a Scribd company logo
1 of 26
Download to read offline
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
CYB 130 Week 3 Accessing the Internet
CYB 130 Week 3 Python and HTML
CYB 130 Week 4 Individual: Object Oriented Programming (OOP)
CYB 130 Week 4 Individual: Functional Programming
CYB 130 Week 5 Individual: bruteLogin Recommendations
CYB 130 Week 5 Individual: Extracting Passwords
==============================================
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
night1Temp = 55
night2Temp = 45
night3Temp = 34
Use conditional statements to print out these results:
(‘Day 3 has high temp of: ‘, 98)
(‘Day 1 has high temp of: ‘, 55)
Submit your code copied and pasted into a document and include a
screen shot of your code working on your own computer system.
Submit your assignment using the Assignment Files tab.
==============================================
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
Submit a document with your code copied and pasted into that single
document and a screen shot included showing the code executing on
your own computer system.
Submit your assignment using the Assignment Files tab.
==============================================
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:
John Doe has the following student number: 567893334
– using a single print command, your variable values, output a
statement with the following format:
John Doe has the following GPA: 3.33
Submit your code copied and pasted into a document and include a
screen shot of it working on your own computer system.
Submit your assignment using the Assignment Files tab.
==============================================
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.
Write a Python script that accepts input until the user enters the
number 999 to stop. Determine whether the user input is either an
odd or even number. If it is an odd number, output: “You entered an
odd number!”. If it is an even number, output: “You entered an even
number!”. If the user quits by entering 999, output: “Thanks – Game
Over!”. Test your code for all three conditions. Remember 999 is an
odd number so make sure it doesn’t print – “You entered an odd
number!”
Submit the code copied and pasted into a document and include a
screen shot of it working on your own computer system.
Submit your assignment using the Assignment Files tab.
==============================================
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 r r r r
r r r r
r r r
r r
r
r
r r
r r r
r r r r
r r r r r
The entry for this output was the integer 5 and the letter r. Your output
could use any integer or letter to print this pattern. Notice there is an
empty space between the two patterns, this should be included in your
code.
To accept character input in Python version 2, use the following
statement:
ch = raw_input(“Enter a character to print: “)
Submit your copied and pasted code into a document and include a
screen shot of it working on your own computer system.
Submit your assignment using the Assignment Files tab.
==============================================
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:
Submit your code copied and pasted into a document and include
multiple screen shots. One should be of the program executing on your
computer, the next one should be a screen shot showing me that the
picture downloaded to your system and the last one should be a screen
shot of the file downloaded to your system.
Submit your assignment using the Assignment Files tab.
==============================================
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.
Add code to open the newly created page in your web browser.
Submit the code copied and pasted into a document and include a
screen shot of it executing on your computer. Include a second screen
shot of the content in your web browser.
Submit your assignment using the Assignment Files tab.
==============================================
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.
Both of the functions (Celsius to Fahrenheit and Fahrenheit to Celsius)
are the exact inverses of one another.
Test the program by converting 32 degrees Fahrenheit to Celsius and
then the product of that function back to Fahrenheit.
Zip your Python .py file and submit the.zip file so the code can be
validated.
Additionally, write a 1/2-page response to the following:
When you converted 32 degrees Fahrenheit to Celsius and back to
Fahrenheit, did you get 32 again?
Try different numbers, and state when it does work and when it does
not work. Explain why.
Submit your assignment using the Assignment Files tab.
==============================================
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:
Every turtle understands the same methods.
Every turtle has the same fields or instance variables.
Every turtle has a heading, body color, pen color, and X and Y position.
Yet, each turtle can have its own values for these fields.
Develop a script containing three new methods for the Turtle class as
follows:
Add a method to the Turtle class to draw a rectangle given a certain
width and height.
Add a method to the Turtle class to draw a simple house. It can have a
rectangle for the house and an equilateral triangle as the roof.
Add a method to the Turtle class to draw a street of houses.
Submit the copied and pasted code into a document and include a
screen shot of it working on your own computer system.
Submit your assignment using the Assignment Files tab.
==============================================
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.
You have been hired by a company to provide consultation on security
and provide recommendations. Using Microsoft® Word, write a 1-page
document explaining how the username and password are extracted
from the password file. Describe what would happen if the script fails
to open the password file.
Recommend and provide additional code that would better handle
cases where the password file might not open.
Submit your assignment using the Assignment Files tab.
==============================================
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:
smithj:KJDKKkkLLjjwlnttqoiybnm.:10063:0:99999:7:::
The fields in the shadow file are separated by a colon, with the first
field being the username and the second being the password.
Under normal circumstances, the password is encrypted. But for the
purpose of this assignment, you can assume the password is already
unencrypted.
Review the bruteLogin function program on pp. 58–59 of Ch. 2,
“Penetration Testing with Python,” of Violent Python: A Cookbook for
Hackers, Forensic Analysts, Penetration Testers and Security Engineers.
Make the following changes/additions to the function:
Modify the bruteLogin function to use both the passwd and shadow
files. Assume your passwd and shadow files include two accounts.
Change the bruteLogin to extract the username and full name from the
passwd file and the password from the shadow file
Change the output to display the full name when confirming successful
FTP Login; e.g., “Myhostname FTP Logon Succeeded: John Smith/
KJDKKkkLLjjwlnttqoiybnm”
Zip your Python .py file and submit the.zip file so the code can be
validated.
Submit your assignment using the Assignment Files tab.
==============================================
==============================================

More Related Content

Similar to CYB 130 RANK Education Begins--cyb130rank.com

Educational courses/tutorialoutlet.com
Educational courses/tutorialoutlet.comEducational courses/tutorialoutlet.com
Educational courses/tutorialoutlet.comCrookstonz
 
Devry cis-170-c-i lab-5-of-7-arrays-and-strings
Devry cis-170-c-i lab-5-of-7-arrays-and-stringsDevry cis-170-c-i lab-5-of-7-arrays-and-strings
Devry cis-170-c-i lab-5-of-7-arrays-and-stringsnoahjamessss
 
Devry cis-170-c-i lab-5-of-7-arrays-and-strings
Devry cis-170-c-i lab-5-of-7-arrays-and-stringsDevry cis-170-c-i lab-5-of-7-arrays-and-strings
Devry cis-170-c-i lab-5-of-7-arrays-and-stringscskvsmi44
 
Devry cis 170 c i lab 5 of 7 arrays and strings
Devry cis 170 c i lab 5 of 7 arrays and stringsDevry cis 170 c i lab 5 of 7 arrays and strings
Devry cis 170 c i lab 5 of 7 arrays and stringsjody zoll
 
COMP 122 Entire Course NEW
COMP 122 Entire Course NEWCOMP 122 Entire Course NEW
COMP 122 Entire Course NEWshyamuopeight
 
Cis 247 all i labs
Cis 247 all i labsCis 247 all i labs
Cis 247 all i labsccis224477
 
Uop pos 433 week 5 linux script worksheet new
Uop pos 433 week 5 linux script worksheet newUop pos 433 week 5 linux script worksheet new
Uop pos 433 week 5 linux script worksheet newshyaminfopvtltd
 
Devry cis 170 c i lab 5 of 7 arrays and strings
Devry cis 170 c i lab 5 of 7 arrays and stringsDevry cis 170 c i lab 5 of 7 arrays and strings
Devry cis 170 c i lab 5 of 7 arrays and stringsshyaminfo04
 
Devry cis 170 c i lab 5 of 7 arrays and strings
Devry cis 170 c i lab 5 of 7 arrays and stringsDevry cis 170 c i lab 5 of 7 arrays and strings
Devry cis 170 c i lab 5 of 7 arrays and stringsash52393
 
HSc Computer Science Practical Slip for Class 12
HSc Computer Science Practical Slip for Class 12HSc Computer Science Practical Slip for Class 12
HSc Computer Science Practical Slip for Class 12Aditi Bhushan
 
Cis 170 c ilab 5 of 7 arrays and strings
Cis 170 c ilab 5 of 7 arrays and stringsCis 170 c ilab 5 of 7 arrays and strings
Cis 170 c ilab 5 of 7 arrays and stringsCIS321
 
Inf 103 Future Our Mission/newtonhelp.com
Inf 103 Future Our Mission/newtonhelp.comInf 103 Future Our Mission/newtonhelp.com
Inf 103 Future Our Mission/newtonhelp.comamaranthbeg40
 
BTE 320-498 Summer 2017 Take Home Exam (200 poi.docx
BTE 320-498 Summer 2017 Take Home Exam (200 poi.docxBTE 320-498 Summer 2017 Take Home Exam (200 poi.docx
BTE 320-498 Summer 2017 Take Home Exam (200 poi.docxAASTHA76
 
PRG 420 NERD Redefined Education--prg420nerd.com
PRG 420 NERD Redefined Education--prg420nerd.comPRG 420 NERD Redefined Education--prg420nerd.com
PRG 420 NERD Redefined Education--prg420nerd.comclaric213
 
Cmis 102 Enthusiastic Study / snaptutorial.com
Cmis 102 Enthusiastic Study / snaptutorial.comCmis 102 Enthusiastic Study / snaptutorial.com
Cmis 102 Enthusiastic Study / snaptutorial.comStephenson22
 
Cmis 102 Success Begins / snaptutorial.com
Cmis 102 Success Begins / snaptutorial.comCmis 102 Success Begins / snaptutorial.com
Cmis 102 Success Begins / snaptutorial.comWilliamsTaylorza48
 
Cmis 102 Effective Communication / snaptutorial.com
Cmis 102  Effective Communication / snaptutorial.comCmis 102  Effective Communication / snaptutorial.com
Cmis 102 Effective Communication / snaptutorial.comHarrisGeorg12
 
Devry gsp 215 week 7 i lab networking and a tiny web server new
Devry gsp 215 week 7 i lab networking and a tiny web server newDevry gsp 215 week 7 i lab networking and a tiny web server new
Devry gsp 215 week 7 i lab networking and a tiny web server newwilliamethan912
 

Similar to CYB 130 RANK Education Begins--cyb130rank.com (20)

Educational courses/tutorialoutlet.com
Educational courses/tutorialoutlet.comEducational courses/tutorialoutlet.com
Educational courses/tutorialoutlet.com
 
Devry cis-170-c-i lab-5-of-7-arrays-and-strings
Devry cis-170-c-i lab-5-of-7-arrays-and-stringsDevry cis-170-c-i lab-5-of-7-arrays-and-strings
Devry cis-170-c-i lab-5-of-7-arrays-and-strings
 
Devry cis-170-c-i lab-5-of-7-arrays-and-strings
Devry cis-170-c-i lab-5-of-7-arrays-and-stringsDevry cis-170-c-i lab-5-of-7-arrays-and-strings
Devry cis-170-c-i lab-5-of-7-arrays-and-strings
 
Devry cis 170 c i lab 5 of 7 arrays and strings
Devry cis 170 c i lab 5 of 7 arrays and stringsDevry cis 170 c i lab 5 of 7 arrays and strings
Devry cis 170 c i lab 5 of 7 arrays and strings
 
COMP 122 Entire Course NEW
COMP 122 Entire Course NEWCOMP 122 Entire Course NEW
COMP 122 Entire Course NEW
 
Cis 247 all i labs
Cis 247 all i labsCis 247 all i labs
Cis 247 all i labs
 
Uop pos 433 week 5 linux script worksheet new
Uop pos 433 week 5 linux script worksheet newUop pos 433 week 5 linux script worksheet new
Uop pos 433 week 5 linux script worksheet new
 
Python avinash
Python avinashPython avinash
Python avinash
 
Devry cis 170 c i lab 5 of 7 arrays and strings
Devry cis 170 c i lab 5 of 7 arrays and stringsDevry cis 170 c i lab 5 of 7 arrays and strings
Devry cis 170 c i lab 5 of 7 arrays and strings
 
Devry cis 170 c i lab 5 of 7 arrays and strings
Devry cis 170 c i lab 5 of 7 arrays and stringsDevry cis 170 c i lab 5 of 7 arrays and strings
Devry cis 170 c i lab 5 of 7 arrays and strings
 
HSc Computer Science Practical Slip for Class 12
HSc Computer Science Practical Slip for Class 12HSc Computer Science Practical Slip for Class 12
HSc Computer Science Practical Slip for Class 12
 
Cis 170 c ilab 5 of 7 arrays and strings
Cis 170 c ilab 5 of 7 arrays and stringsCis 170 c ilab 5 of 7 arrays and strings
Cis 170 c ilab 5 of 7 arrays and strings
 
Inf 103 Future Our Mission/newtonhelp.com
Inf 103 Future Our Mission/newtonhelp.comInf 103 Future Our Mission/newtonhelp.com
Inf 103 Future Our Mission/newtonhelp.com
 
BTE 320-498 Summer 2017 Take Home Exam (200 poi.docx
BTE 320-498 Summer 2017 Take Home Exam (200 poi.docxBTE 320-498 Summer 2017 Take Home Exam (200 poi.docx
BTE 320-498 Summer 2017 Take Home Exam (200 poi.docx
 
PRG 420 NERD Redefined Education--prg420nerd.com
PRG 420 NERD Redefined Education--prg420nerd.comPRG 420 NERD Redefined Education--prg420nerd.com
PRG 420 NERD Redefined Education--prg420nerd.com
 
Cmis 102 Enthusiastic Study / snaptutorial.com
Cmis 102 Enthusiastic Study / snaptutorial.comCmis 102 Enthusiastic Study / snaptutorial.com
Cmis 102 Enthusiastic Study / snaptutorial.com
 
Cmis 102 Success Begins / snaptutorial.com
Cmis 102 Success Begins / snaptutorial.comCmis 102 Success Begins / snaptutorial.com
Cmis 102 Success Begins / snaptutorial.com
 
Cmis 102 Effective Communication / snaptutorial.com
Cmis 102  Effective Communication / snaptutorial.comCmis 102  Effective Communication / snaptutorial.com
Cmis 102 Effective Communication / snaptutorial.com
 
Devry gsp 215 week 7 i lab networking and a tiny web server new
Devry gsp 215 week 7 i lab networking and a tiny web server newDevry gsp 215 week 7 i lab networking and a tiny web server new
Devry gsp 215 week 7 i lab networking and a tiny web server new
 
Oopp Lab Work
Oopp Lab WorkOopp Lab Work
Oopp Lab Work
 

Recently uploaded

A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting DataJhengPantaleon
 
Micromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersMicromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersChitralekhaTherkar
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 

Recently uploaded (20)

A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
 
Micromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersMicromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of Powders
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 

CYB 130 RANK Education Begins--cyb130rank.com

  • 1. 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 CYB 130 Week 3 Accessing the Internet CYB 130 Week 3 Python and HTML CYB 130 Week 4 Individual: Object Oriented Programming (OOP) CYB 130 Week 4 Individual: Functional Programming CYB 130 Week 5 Individual: bruteLogin Recommendations CYB 130 Week 5 Individual: Extracting Passwords ============================================== CYB 130 Week 1 Conditional and Variables
  • 2. 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
  • 3. night1Temp = 55 night2Temp = 45 night3Temp = 34 Use conditional statements to print out these results: (‘Day 3 has high temp of: ‘, 98)
  • 4. (‘Day 1 has high temp of: ‘, 55) Submit your code copied and pasted into a document and include a screen shot of your code working on your own computer system. Submit your assignment using the Assignment Files tab. ============================================== CYB 130 Week 1 Data Types and Variables
  • 5. 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
  • 6. 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 Submit a document with your code copied and pasted into that single document and a screen shot included showing the code executing on your own computer system. Submit your assignment using the Assignment Files tab. ============================================== CYB 130 Week 1 String and Text Manipulation
  • 7. 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
  • 8. – using a single print command, your variable values, output a statement with the following format: John Doe has the following student number: 567893334 – using a single print command, your variable values, output a statement with the following format: John Doe has the following GPA: 3.33
  • 9. Submit your code copied and pasted into a document and include a screen shot of it working on your own computer system. Submit your assignment using the Assignment Files tab. ============================================== 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:
  • 10. 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. Write a Python script that accepts input until the user enters the number 999 to stop. Determine whether the user input is either an odd or even number. If it is an odd number, output: “You entered an odd number!”. If it is an even number, output: “You entered an even number!”. If the user quits by entering 999, output: “Thanks – Game Over!”. Test your code for all three conditions. Remember 999 is an odd number so make sure it doesn’t print – “You entered an odd number!” Submit the code copied and pasted into a document and include a screen shot of it working on your own computer system.
  • 11. Submit your assignment using the Assignment Files tab. ============================================== 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 r r r r
  • 12. r r r r r r r r r r r
  • 13. r r r r r r r r r r r r r r The entry for this output was the integer 5 and the letter r. Your output could use any integer or letter to print this pattern. Notice there is an
  • 14. empty space between the two patterns, this should be included in your code. To accept character input in Python version 2, use the following statement: ch = raw_input(“Enter a character to print: “) Submit your copied and pasted code into a document and include a screen shot of it working on your own computer system. Submit your assignment using the Assignment Files tab. ==============================================
  • 15. 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: Submit your code copied and pasted into a document and include multiple screen shots. One should be of the program executing on your computer, the next one should be a screen shot showing me that the picture downloaded to your system and the last one should be a screen shot of the file downloaded to your system.
  • 16. Submit your assignment using the Assignment Files tab. ============================================== 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. Add code to open the newly created page in your web browser.
  • 17. Submit the code copied and pasted into a document and include a screen shot of it executing on your computer. Include a second screen shot of the content in your web browser. Submit your assignment using the Assignment Files tab. ============================================== 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:
  • 18. Part 1: Write a function to convert Celsius to Fahrenheit. Part 2: Write a function to convert Fahrenheit to Celsius. Both of the functions (Celsius to Fahrenheit and Fahrenheit to Celsius) are the exact inverses of one another. Test the program by converting 32 degrees Fahrenheit to Celsius and then the product of that function back to Fahrenheit. Zip your Python .py file and submit the.zip file so the code can be validated.
  • 19. Additionally, write a 1/2-page response to the following: When you converted 32 degrees Fahrenheit to Celsius and back to Fahrenheit, did you get 32 again? Try different numbers, and state when it does work and when it does not work. Explain why. Submit your assignment using the Assignment Files tab. ============================================== CYB 130 Week 4 Individual: Object Oriented Programming (OOP) FOR MORE CLASSES VISIT www.cyb130rank.com
  • 20. 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: Every turtle understands the same methods. Every turtle has the same fields or instance variables. Every turtle has a heading, body color, pen color, and X and Y position. Yet, each turtle can have its own values for these fields. Develop a script containing three new methods for the Turtle class as follows:
  • 21. Add a method to the Turtle class to draw a rectangle given a certain width and height. Add a method to the Turtle class to draw a simple house. It can have a rectangle for the house and an equilateral triangle as the roof. Add a method to the Turtle class to draw a street of houses. Submit the copied and pasted code into a document and include a screen shot of it working on your own computer system. Submit your assignment using the Assignment Files tab. ============================================== CYB 130 Week 5 Individual: bruteLogin Recommendations
  • 22. 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. You have been hired by a company to provide consultation on security and provide recommendations. Using Microsoft® Word, write a 1-page document explaining how the username and password are extracted from the password file. Describe what would happen if the script fails to open the password file. Recommend and provide additional code that would better handle cases where the password file might not open.
  • 23. Submit your assignment using the Assignment Files tab. ============================================== 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:
  • 24. 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: smithj:KJDKKkkLLjjwlnttqoiybnm.:10063:0:99999:7::: The fields in the shadow file are separated by a colon, with the first field being the username and the second being the password.
  • 25. Under normal circumstances, the password is encrypted. But for the purpose of this assignment, you can assume the password is already unencrypted. Review the bruteLogin function program on pp. 58–59 of Ch. 2, “Penetration Testing with Python,” of Violent Python: A Cookbook for Hackers, Forensic Analysts, Penetration Testers and Security Engineers. Make the following changes/additions to the function: Modify the bruteLogin function to use both the passwd and shadow files. Assume your passwd and shadow files include two accounts. Change the bruteLogin to extract the username and full name from the passwd file and the password from the shadow file
  • 26. Change the output to display the full name when confirming successful FTP Login; e.g., “Myhostname FTP Logon Succeeded: John Smith/ KJDKKkkLLjjwlnttqoiybnm” Zip your Python .py file and submit the.zip file so the code can be validated. Submit your assignment using the Assignment Files tab. ============================================== ==============================================