Problem #1
Please solve the following C language problem and show the output as well.
Assignment location: bit (dot) ly (slash) 35MLQt7
Will give a thumb up!
I have solved this problem using python 2.
For this problem i have created a own package named pwdpkg.py
pwdpkg.py
lowercase = 'abcdefghijklmnopqrstuvwxyz'
uppercase = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
whitespace = ' \t\n\r\v\f'
letters = lowercase + uppercase
ascii_lowercase = lowercase
ascii_uppercase = uppercase
ascii_letters = ascii_lowercase + ascii_uppercase
digits = '0123456789'
hexdigits = digits + 'abcdef' + 'ABCDEF'
octdigits = '01234567'
# punctuation = """!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~"""
punctuation = "()#-+*"
printable = digits + letters + punctuation + whitespace
Answer.py
import pwdpkg from random import * characters = pwdpkg.ascii_letters + pwdpkg.punctuation + pwdpkg.digits password = "".join(choice(characters) for x in range(randint(8, 16))) print password
Note: All you need to do is install python2, and place the pwdpkg.py in the same directory where the Answer.py file is available.
Problem #1 Please solve the following C language problem and show the output as well. Assignment...
Problem 1: a) Write LEGv8 assembly language programs for the following C program fragments. Please make sure to add any necessary comments. P[20] = P[10] + P[30] + 25; b) Show the machine code that will be generated by the assembly code in Problem 1.a. You can write machine code as decimal numbers. please help me solve this
Please solve this question using c++ language
Problem 2. More Probleml. The program builds the array of integers that contains duplicates as well. Your program should find the sum of all unique elements in the array using a function findUniqueSum Arrays Write a program that as before asks the user to enter input as in оn Sample Input/Output Enter a list of numbers ending with -999 3 1 4 55-999 The sum of unique numbers is: 13 Enter a list...
hello, this assignment was solve in c++ but I need it in Python programming please please please. and also the speudocode as well. thank you.. Problem: Your company wants to give out prizes to the first ten people in line at a sale. In order to give out the prizes, the winners names and email addresses are to be captured. When ten names and email addresses are entered, the list of winners is to be displayed. Sample Output: Winners of...
please solve the question completely and show the steps ...
thumb up will be given
1. (3 points each) [CO: 11 a. Perform the number conversion (2101)s -6 binary equivalent of the Gray code numbers listed below in ascending order, ie, b. List all 4-bit from smallest to largest. (Hint: Use the mirroring technique.) Gray-Code Straight Binary Equivalent 0001 0011 0010 0110 0111 0101 0100 1100 1101 Perform the following binary multiplication: c. (1031)4 (1031)4 Perform the following base-3 addition:...
Hi, please provide a code solution written in the C++ language
to the following programming problem. The answer you provide has to
include code comments, as it is being explained to a person with no
technical background. In your answer, please show which portion of
the code is a .cpp and which is a .h (if used). We are asked to
separate them out (ie. main.cpp, classname.cpp, headername.h).
Please show the output of your program to show it compiled error...
Please solve Q1 and Q2
Complete the following homework problems. Show all work (making answers for clarity sure it is legible) and circle all Problem 1 w3 X A w4 w1 C D Y w2 Determine Boolean functions for intermediate outputs wl,w2,w3, and w4 as well as the output signals X and Y. b) a) Construct a truth table showing the intermediate outputs wl,w2,w3, and w4 as well as the output signals X and Y Use K-maps to find simplified...
Solve the following assignment problem using the Hungarian method. Show all the teps. The second problem shows the limitation of the method. 6 101 46
Solve the following assignment problem using the Hungarian method. Show all the teps. The second problem shows the limitation of the method. 6 101 46
Please solve
the problems from 1_5
Digital
system
Complete the following homework problems. Show all work (making sure it is legible) and circle all answers for clarity Problem 1 w3 w4 B w1 a) Determine Boolean functions for intermediate outputs w,w2,w3, and w4 as well as the output signals X and Y. b) Construct a truth table showing the intermediate outputs wl,w2,w3, and w4 as well as the output signals X and Y c) Use K-maps to find simplified expressions...
What is the output of the following fragment? please explain. C language int i = 1; int j = 1; while (i < 5) { i++; j = j * 2; } printf(“%d”, j); (a) 4 (b) 8 (c) 16 (d) 32
Please solve
the problems from 2_5
Digital
system
Problem 2 Design a combinational circuit with inputs a, b, c, d and outputs w, x, y, z. Assume that the inputs a, b, c d represent a 4-bit signed number (2s complement). The output is also a signed number in 2s complement which is 5 greater than the input if the input is less than 2, and is 2 less than the input if the input is greater than or equal...