Category Archives: CYB 130

UOP CYB 130 Entire Course New Work

UOP CYB 130 Entire Course New Work

Check this A+ tutorial guideline at

http://www.homeworktab.com/cyb-130-uop/cyb-130-entire-course-new-work

For more classes visit

http://www.homeworktab.com/

CYB 130 Entire Course New Work

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

 

UOP CYB 130 Week 1 Conditional and Variables New Work

UOP CYB 130 Week 1 Conditional and Variables New Work

Check this A+ tutorial guideline at

http://www.homeworktab.com/cyb-130-uop/cyb-130-week-1-conditional-and-variables-new-work

For more classes visit

http://www.homeworktab.com/

CYB 130 Week 1 Conditional and Variables New Work

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.

 

UOP CYB 130 Week 1 Data Types and Variables New Work

UOP CYB 130 Week 1 Data Types and Variables New Work

Check this A+ tutorial guideline at

http://www.homeworktab.com/cyb-130-uop/cyb-130-week-1-data-types-and-variables-new-work

For more classes visit

http://www.homeworktab.com/

CYB 130 Week 1 Data Types and Variables New Work

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.

 

UOP CYB 130 Week 1 String and Text Manipulation New Work

UOP CYB 130 Week 1 String and Text Manipulation New Work

Check this A+ tutorial guideline at

http://www.homeworktab.com/cyb-130-uop/cyb-130-week-1-string-and-text-manipulation-new-work

For more classes visit

http://www.homeworktab.com/

CYB 130 Week 1 String and Text Manipulation New Work

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.

 

UOP CYB 130 Week 2 Loops and Conditional Statements New Work

UOP CYB 130 Week 2 Loops and Conditional Statements New Work

Check this A+ tutorial guideline at

http://www.homeworktab.com/cyb-130-uop/cyb-130-week-2-loops-and-conditional-statements-new-work

For more classes visit

http://www.homeworktab.com/

CYB 130 Week 2 Loops and Conditional Statements New Work

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.

 

UOP CYB 130 Week 2 Using Loops New Work

UOP CYB 130 Week 2 Using Loops New Work

Check this A+ tutorial guideline at

http://www.homeworktab.com/cyb-130-uop/cyb-130-week-2-using-loops-new-work

For more classes visit

http://www.homeworktab.com/

CYB 130 Week 2 Using Loops New Work

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

r r

r

r

r r

r rr

r rrr

r rrrr

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.

 

UOP CYB 130 Week 3 Accessing the Internet New Work

UOP CYB 130 Week 3 Accessing the Internet New Work

Check this A+ tutorial guideline at

http://www.homeworktab.com/cyb-130-uop/cyb-130-week-3-accessing-the-internet-new-work

For more classes visit

http://www.homeworktab.com/

CYB 130 Week 3 Accessing the Internet New Work

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.

 

UOP CYB 130 Week 3 Python and HTML New Work

UOP CYB 130 Week 3 Python and HTML New Work

Check this A+ tutorial guideline at

http://www.homeworktab.com/cyb-130-uop/cyb-130-week-3-python-and-html-new-work

For more classes visit

http://www.homeworktab.com/

CYB 130 Week 3 Python and HTML New Work

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.

 

 

 

UOP CYB 130 Week 4 Individual Functional Programming New Work

UOP CYB 130 Week 4 Individual Functional Programming New Work

Check this A+ tutorial guideline at

http://www.homeworktab.com/cyb-130-uop/cyb-130-week-4-individual-functional-programming-new-work

For more classes visit

http://www.homeworktab.com/

CYB 130 Week 4 Individual: Functional Programming New Work

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.

 

UOP CYB 130 Week 4 Individual Object Oriented Programming (OOP) New Work

UOP CYB 130 Week 4 Individual Object Oriented Programming (OOP) New Work

Check this A+ tutorial guideline at

http://www.homeworktab.com/cyb-130-uop/cyb-130-week-4-individual-object-oriented-programming-new-work

For more classes visit

http://www.homeworktab.com/

CYB 130 Week 4 Individual: Object Oriented Programming (OOP) New Work

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.