Take input from a user and depending on if the user satisfies the below conditions, make...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Take input from a user and depending on if the user satisfies the below conditions, make a decision on granting user access to the secure server. (Display 'Access Granted" or "Access not granted') Conditions to be tested:- 1. Age>=18 (get user's date of birth as input and calculate the current age in your program) 2. Security Clearance Level- High (give the user 3 options:- High, Medium, Low) 3. Qualification/Degree Masters or Doctoral (give the user 2 options: Bachelors, Masters, Doctoral) 4. Prior experience in security domain in years>=5 5. Position Level: Manager or Higher (Position options: Partner/ Sr Manager/Manager/ Deputy Manager/ Associate/ Analyst/ Assistant) Deliverable Submit .py file with your code. Also ensure the code is well commented. Take input from a user and depending on if the user satisfies the below conditions, make a decision on granting user access to the secure server. (Display 'Access Granted" or "Access not granted') Conditions to be tested:- 1. Age>=18 (get user's date of birth as input and calculate the current age in your program) 2. Security Clearance Level- High (give the user 3 options:- High, Medium, Low) 3. Qualification/Degree Masters or Doctoral (give the user 2 options: Bachelors, Masters, Doctoral) 4. Prior experience in security domain in years>=5 5. Position Level: Manager or Higher (Position options: Partner/ Sr Manager/Manager/ Deputy Manager/ Associate/ Analyst/ Assistant) Deliverable Submit .py file with your code. Also ensure the code is well commented.
Expert Answer:
Answer rating: 100% (QA)
Import the datetime module to calculate the users age import datetime Get the users date of birth as ... View the full answer
Related Book For
Principles Of Information Security
ISBN: 9780357506431
7th Edition
Authors: Michael E. Whitman, Herbert J. Mattord
Posted Date:
Students also viewed these programming questions
-
Given a function f : R R and some LE R, we say f(x) converges to L as x if for all > 0, there exists some M = R such that for all x > M, | f (x) L| 1/8, or -1/y > 1/8. This might help you find the...
-
Planning is one of the most important management functions in any business. A front office managers first step in planning should involve determine the departments goals. Planning also includes...
-
Managing Scope Changes Case Study Scope changes on a project can occur regardless of how well the project is planned or executed. Scope changes can be the result of something that was omitted during...
-
Controlling Program Flow w/i an ATM Using selection statements & loops to complete the following: Validate the user's PIN -- only allow them to attempt three (3) times before ending the program If...
-
Coherent light of frequency 6.32 x 1014 Hz passes through two thin slits and falls on a screen 85.0 cm away. You observe that the third bright fringe occurs at 3.11 cm on either side of the central...
-
As of December 31, 2017, Eliot Corp. has net income per books of $100,000, which includes municipal bond interest of $4,000, a deduction for business meals of $5,000, a deduction for a net capital...
-
Nuts and Cholesterol Several studies have been performed to examine the relationship between nut consumption and cholesterol levels. Here we consider two such studies. In Study 1, participants were...
-
Company E reports net income of $100,000 for 2011. Assume the income is earned evenly throughout the year. Dividends of $10,000 are paid on December 31. What will Company R report as investment...
-
I. Byte stuff the following frame ESC Flag II. ESC ESC ESC Flag Bit unstuff the following received frame 01111110010001111101100111110010001111101111101001111101111110 III. Specify whether the...
-
"The cost of producing and shipping the set was split among the five opera companies, which each contributed 20 per cent. Each company paid $61,000 in cash to the joint venture and entered into a...
-
Calculate the YTM of a $50000.00 coupon bond purchased for $48000.00 using the following information Coupon 6 % per annum Term 20 years Discounted at years Face Value $50000.00 Purchase Price $...
-
Dewe, Cheatum and Howe is going to issue 20,000, 5 year bonds with a par value of $1,000 each. The coupon rate will be 6% paid semi-annually. The market price per bond at issue is $975 dollars and...
-
What might be some additional thoughts concerning planning and diversification of assets to lessen market volatility?
-
Examine the following yield curve from Monday. What do we expect the two-year rate to be five years from now? Assume zero-coupons. 1yr 4.03 2yr 3yr 5yr 7yr 10yr 20yr 30yr 3.96 3.94 3.75 3.69 3.57...
-
Suppose that Memorial Hospital has four projects. A summary of the projects is as follows: Project Amount Invested Market Beta Walk-in Clinic $1,500,000 1.3 MRI Facility $2,500,000 .7 Clinical...
-
What is the distinction between glass transition temperature andmelting temperature? Glass transition temperature is a characteristic of soda-limeglass and melting temperature is for a borosilicate...
-
Suppose the market is semistrong form efficient. Can you expect to earn excess returns if you make trades based on? a. Your brokers information about record earnings for a stock? b. Rumors about a...
-
Hackers of limited skill who use expertly written software to attack a system are known as which of the following? a. Cyber terrorists b. Script kiddies c. Jail breakers d. Social engineers
-
Establish an understanding that technologies that are developed are enacted by highly trained computer scientists and engineers who are required to operate at rigorous levels of performance. Conclude...
-
Which document is an excellent reference for security managers involved in the routine management of information security? a. SP 800-12, An Introduction to Computer Security b. SP 800-14, Generally...
-
A blender does 5000 J of work on the food in its bowl. During the time the blender runs, 2000 J of heat is transferred from the warm food to the cooler environment. What is the change in the thermal...
-
Which system contains more atoms: 5 mol of helium (A = 4) or 1 mol of neon (A = 20)? A. Helium B. Neon C. They have the same number of atoms.
-
A sample of ideal gas is in a sealed container. The temperature of the gas and the volume of the container are both increased. What other properties of the gas necessarily change? (More than one...
Study smarter with the SolutionInn App