Computers and Technology
Write a VBA Function subroutine called Tax that takes a single argument gross Income of type Currency. It should calculate the tax on any income using the following tax schedule: (1) if income is less than or equal to $15,000, there is no tax (2) if income is greater than $15,000 and less than or equal to $75,000, the tax is 15% of all income greater than $15,000 (3) if income is greater than $75,000, the tax is 15% of all income between $15,000 and $75,000 plus 20% of all income greater than $75,000 Then write a Calc Tax subroutine that asks the user for his income, gets the function subroutine to calculate the tax on this income, and reports the tax in a message box
WITH PYTHON AND TKINTER,You will write the childhood game of Hangman, but instead of drawing a man, your program should draw a house with 7 different parts corresponding to the player's guesses. The program should follow the rules of the childhood game of Hangman. The computer will select a word from a word list of at least 25 words with each word being from 4-6 letters long. You will need to create this as a text file. To start the game, the computer will select a word from the word list. Then, the user will guess the letters in the word one at a time. Show the length of the word in '*' at the bottom of the screen. The user will guess one letter at a time. If the letter is in the word, the letter will replace the '*' where the letter is located in the word. If the letter is not in the word, a section of the house will appear above the word. After the user has 7 misses, the word will appear, the game is over, and the user losses. If the user guesses the word in less than 7 misses, display "Congratulations, you win." The program should then ask the user if they want to play again.
Maintain a Database Security (Inference Detection Algorithm)Consider a database containing personnel information, including names, addresses, and salaries of employees. Individually, the name, address, and salary information is available to a subordinate role, such as Clerk, but the association of names and salaries is restricted to a superior role, such as Administrator. 1. With this information, how could you construct your database and tables? Design your database and draw a database schema first. 2. Suppose that administrators wants to add a new attribute, employee start date, which is not sensitive. Where would it be? Consider not comprimising the relationship between employee and salary. Draw your new schema