a.
Since the Personal Identification Number (PIN) for the ATM card is four places long so each of these 4 places can be filled by any one of 0,1,2,3,4,...,9 in 10x10x10x10=104=10000 ways.
b.
Since bank has decided to allow English alphabetic characters (upper or lower case are permitted) as well as any numeric digit in the PIN so each of these 4 places can be filled by any one of 10 digits, 26 alphabets (upper), 26 alphabets (lower) in
(10+26+26)4=14776336.
c.
Since bank has decided to require that the first place of the PIN be an English upper case alphabetic character so the first place can be filled by any one of 26 upper case alphabetic characters and each of remaining 3 places can be filled by any one of (10+26+26) characters. Hence total no. possible cases=26x(10+26+26)3= 6196528
d. When pin size is 5 places then total no. of cases=26x(10+26+26)4=384184736
Make sure that you state your answer in a way that does not lose precision. Show...
We are trying to make sure your passphrase is acceptable! Write a script that asks for an input string that will be used as your password. This input string will have three “words” separated by a space character. Each of these words has specific requirements, listed below. You must write a function for each requirement (three total functions). Make sure your functions follow the original template that provided. First Function: For the first word, you must check if it is...
Suppose that you open an email account and you are told that you need six-character password & the characters must be alpha-numeric ( either alphabetical or numerical). Assume that a lower case letter is different from an upper case one. a) How many passwords are possible? Give the exact answer and do not use scientific notation. Show some work. b) Suppose a computer hacker tries to guess what your password is by testing all possible passwords and it takes his...
Be sure to show your work and/or justify your answer for all problems below. 1. A florist has 20 types of flowers available. (a) How many bouquets are possible if a bouquet is made up of any 6 different types of flower? (b) The flower options consists of 6 types of roses, 6 types of lilies, and 8 types of carnations. How many bouquets are possible if you need to choose type of rose, 2 types of lilies, and 3...
Please answer the problem below for all parts. Please show all
work and write clearly. Thanks.
The circuit below is a temperature range indicator using a Window Comparator circuit. Discuss when you would use this type of analog circuit and when you would use a microcontroller based circuit like that of Lab 4 shown below. A window comparator usually employs 2 comparators with one output indicating the input is somewhere between two limits. In these examples, a third comparator is...
C Program In this assignment you'll write a program that encrypts the alphabetic letters in a file using the Vigenère cipher. Your program will take two command line parameters containing the names of the file storing the encryption key and the file to be encrypted. The program must generate output to the console (terminal) screen as specified below. Command Line Parameters Your program must compile and run from the command line. The program executable must be named “vigenere” (all lower...
WE ARE USING PYTHON TO COMPLETE THIS ASSIGNMENT :) THANK YOU! In this programming assignment, you will write functions to encrypt and decrypt messages using simple substitution ciphers. Your solution MUST include: a function called encode that takes two parameters: key, a 26-character long string that identifies the ciphertext mapping for each letter of the alphabet, in order; plaintext, a string of unspecified length that represents the message to be encoded. encode will return a string representing the ciphertext. a...
Create an ER model for the scenario. Make sure that you read the description carefully. Your diagram should reflect all entities, attributes, and relationships in the description. You should make sure each entity has a primary key (a unique identifier). Use the relationship types we used in class (one-to-one, one-to-many, or many-to-many). Don't forget, attributes can describe both entities and relationships. Scenario 2: Tracking Trips for the SchUber Taxi Service A new Philadephia startup called SchUber is a matching service...
How much does a sleeping bag cost? Let's say you want a
sleeping bag that should keep you warm in temperatures from 20°F to
45°F. A random sample of prices ($) for sleeping bags in this
temperature range is given below. Assume that the population of x
values has an approximately normal distribution.
105 120 105 105 75 70 30 23 100 110
105 95 105 60 110 120 95 90 60 70
(a) Use a calculator with mean and...
Part # 1 How much does a sleeping bag cost? Let's say you want a sleeping bag that should keep you warm in temperatures from 20°F to 45°F. A random sample of prices ($) for sleeping bags in this temperature range is given below. Assume that the population of x values has an approximately normal distribution. 80 115 110 55 40 70 30 23 100 110 105 95 105 60 110 120 95 90 60 70 (a) Use a calculator...
please do not skip and excercise I need all pf them for
strudying porpuses
Answer each of the problems. Make sure to show all your work. 1) A pump is used to fill an inflatable mattress at a constant rate of 0.25 cubic feet per second. If the mattress is completely inflated after 1 minute, how much air can the mattress hold? Include units in your answer 2) The same mattress in Problem 1 is later deflated by opening its...