• Home
  • Blog
  • Programming Principals for Cyber Security Project

Programming Principals for Cyber Security Project

0 comments

Programming is a very hands-on and practical skill.  It is very important that you are able to apply what you’ve learned in  the course and write a working Python program.

Assignment Description

In this assignment, you will write a program that  asks the user to enter 8 numeric tests scores (out of 100 for each  test). The program should calculate the average of the 8 numeric scores  and then display a corresponding letter grade.

Write the following functions in the program:

calc_average – this function should ask the user for 8 test scores and return the average.

determine_grade – this function  should accept a test score average as an argument and return a letter  grade for the score based on the following grading scale:

 90-100 A   80-89 B   70-79 C   60-69 D   Below 60 F  

Before you start this assignment, make sure that you have:

  • Completed all the course materials
  • Run and understood all the sample code or exercise files
  • Completed the labs in the previous modules

Program Template

Since this is a programming course, we will use a  program to run a series of tests on your submission. Please download the  file from the link below and modify it following the comments in the  file to complete the assignment.

Test Before You Submit

To ensure that you get the best score you deserve for  the assignment and not waste the submission attempts, make sure that  you test your program thoroughly on your computer before you submit.  Since this course is self-paced, you can take as long as necessary to  perfect the program before submission.

Below is a screenshot of expected result from running  the program. Please note that the prompt messages has to be EXACTLY as  in the screenshot. Pay attention to the comments in the provided  template and do not alter the messages. Compare your final result with  the screenshot to verify. Look for small things such as upper or lower  cases or extra white spaces, etc.

result A screenshot of the expected result. 

Submission Guidelines

In order for things to go smoothly and  you are earning the credit that you deserve, please make sure that you  follow the rules below.

1. Do NOT Change the File Name

You will have to submit the program in its original file name: assignment.py.  Do not change the file name in any manner. Even changing it to  uppercase letters in the file name such as Assignment.py will score you a  zero for the assignment.

2. Submit the Assignment Through Gradescope

The assignment has to be submitted using Gradescope(this link opens in a new window/tab). NO EMAIL or any other means of submission will be accepted!

Within 2-3 days of enrollment to the course, you  should have received an email from Gradescope letting you know that  you’ve been added as a student to the course.

Gradescope Email A screenshot of the Gradescope email. 

If you did not follow the set your password link in the Gradescope(this link opens in a new window/tab) email to setup a password in 7 days. The link will expire. In this case, go to the Gradescope Reset Your Password(this link opens in a new window/tab) page, enter your KSU Email and reset the password.

Once you are logged in, locate the Programming Principles course, click on Programming Assignment 1. 

Assignment A screenshot of the Assignment in Gradescope. 

Upload the assignment.py file. Again, Do NOT change the file name.

Upload A screenshot of the Upload page. 

3. You Are Allowed 3 Submissions

You are allowed at maximum 3 submission attempts. The  score from the last attempt will be your final score for the  assignment. Obviously, if you got a perfect score or a sccore that you  think is “good enough”, there is no need of further submissions.

To resubmit, look for the Resubmit button at the bottom right of the page.

resubmit A screenshot of the Resubmit button. 

logo

About the Author

Follow me


{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}