Ans Doc903

CLICK HERE TO DOWNLOAD THIS ANSWER INSTANTLY

For this verse, you need to write a program that asks the user to input the inventory id number (integer) and the price (float) for 5 inventory items. Once the 5 inventory items are input from the user, output the results to the screen. Please ensure you use meaningful names for your variables. If your variables are not named meaningfully, points will be deducted. You should have 10 total variables defined. 5 integers for the inventory item ids and 5 floats for the inventory item prices.

Ans Doc218

CLICK HERE TO DOWNLOAD THIS ANSWER INSTANTLY

 

Lots of forty components each are called acceptable if they contain no more than five defectives. The decision procedure used is to inspect components drawn at random until a defective is found. If this occurs in the first six components drawn, the lot is rejected. If the first six drawn are non-defective,
the lot is passed. Find the maximum probability that a non-acceptable lot will be passed. Find the maximum probability that an acceptable lot is rejected.

Ans Doc218

CLICK HERE TO DOWNLOAD THIS ANSWER INSTANTLY

ManFlowgorithm Program
You must complete this assignment on your own. If you need help, please send me an email with your .py file attached and tell me where you are stuck. Create a flowgorith file named YourNameTaxMan.fprg
Part 1: Declaration of Variables
Put a comment in your code that says Part 1
Declare all the variables you will need for this program
Do not assign any values in Part 1
Part 2
user Input

Put a comment in your code that says Part 2
Gather the following information from the user: first name, last name, gross income and number of children• Part 3: Calculations / Formatting
Put a comment in your code that says Part 3
Calculate the user’s dependency exemption, as follows: number of children times 2,000.
Calculate the user’s taxable income, as follows: gross income minus dependency exemption
Calculate the user’s tax due, as follows: taxable income times 15%
Format the values that will be displayed, if needed•
Part 4: Output
Put a comment in your code that says Part 4
Display the information entered by the user, in the following format. It should be formatted exactly as pictured. Of course, the names and amounts will vary, depending upon what the user enters. Part 5:Say bye.
Put a comment in your code that says Part 5odisplay a message to which says: Goodbye from _____ (Fill in the blank with your full name. ) Submit the assignment as follows.
Submit the .fprgfile in Canvaso

Ans Doc216

CLICK HERE TO DOWNLOAD THIS ANSWER INSTANTLY

 

Write a program that performs the brute-force attack to break the password. The following table shows encrypted passwords using the crypt() function. Your mission is to break the password ***** your CWID in the table. For example, the last digit of your CWID is 1, then you should identify the password ***** indBOW06MoVz6.
Last digit of CWID Encrypted password
1 – indBOW06MoVz6
2 – in79RsnfG/VWo
3 – inbqJM0dLgWvo
4 – incT1ji3YqQ/Y
5 – in7haMV00ylgk
6 – in1U0tb9WpIcI
7 – inPlXS.yNKivQ
8 – inqidvfWapJp2
9 – injY7hdQJTeu2
0 – inQW.HgtuEe.M
Crypt() is a function to check UNIX/LINUX passwords, and the encrypted passwords above are encoded by the standard crypt() function. Hence, you should use the crypt() function to break the password. The crypt() function takes two input parameters and returns the encrypted password, as follows:
Input parameters:
• Password (plaintext): string
• Salt: string
Output:
• Encrypted password: stringThe password ***** is six and the salt is set to ‘infosec’ (without using the quotation mark). For the brute-force attack, you should try 6-character lower case letters of alphabet from ‘aaaaaa’, ‘aaaaab’, ‘aaaaac’, …, to ‘zzzzzz’, with the salt. Report the original plaintext
password ***** breaking the encrypted password (one based on your CWID). Also report how many words you tested to find the original password.

Color Mixer

CLICK HERE TO DOWNLOAD THIS ANSWER INSTANTLY

 

Python

The colors red, blue, and yellow are known as the primary colors because they cannot be made by mixing other colors. When you mix two primary colors, you get a secondary color: When you mix red and blue, you get purple. When you mix red and yellow, you get orange. When you mix blue and yellow, you get green.

Design a program that prompts the user to enter the names of two primary colors, one at a time. If the user enters anything other than “red,” “blue,” or “yellow,” the program should print “You didn’t input two primary colors.” Otherwise, it should print something in the format:

“When you mix red and blue, you get purple.” (Assuming the user entered “red” and “blue”.)