Determine the code words for each off the 10 decimal digits in the weighted code (6 3--1 1). The code should be self-complementing.
Decimal 6311
0 0000
1 0001
2 0011
3 0100
4 0101
5 0111
6 1000
7 1001
8 1011
9 1100
Determine the code words for each off the 10 decimal digits in the weighted code (6...
2. The decimal digits 0 to 9 are represented by four logic signals using the 7321 weighted BCD code. Only the code 0011 is used to represent the digit 3. In addition the code 1100 is used to represent the character E. Codes that do not represent either a decimal digit (including 0100), or the character E never occur. The logic signals are inputs to a decoder circuit whose outputs provide drive signals for a seven segment display system shown...
Design a decade counter using the following 2-4-2-1 weighted
code for decimal digits. Use NAND gates and T flip-flops.
3. (2 10 20 points) Design a decade counter using a 2-4-2-1 weighted code for decimal digits (see table below) using the following flip-flop types: a. D Flip-flops S-R Flip-flops b. Digit ABCD 0000 1 0001 2 0010 3 0011 4 0100 1011 6 1100 7 1101 8 1110 1111 4. (6 points) Redraw the circuit from problem 3.a. using NAND gates only.
3. (2 10 20 points) Design a decade counter using a 2-4-2-1 weighted code for decimal digits...
Round off each of the following numbers to three significant digits, and express the results in standard scientific notation. a. 254,931 b. 0.00025615 c. 47.85 X 10^3 d. 0.08214 X 10^5
b. Compute the weighted sum of digits of a number read from the keyboard in the following sense: Let us calculate sum of digits multiplying each digit by its position (counting from the left, starting from 1). For example, given the value 1971 we calculate such weighted sum of digits (let us call it "wsd") as: wsd(1971) = 1 * 1 + 9 * 2 + 7 * 3 + 1 * 4 = 41 I need in Java program
Code in C
An integer is divisible by 9 if the sum of its digits is divisibleExample output: by 9. Develop a program which will call UDF: int get input(); to prompt the user for an integer and return this user input to main() Call UDF: Enter an integer: 5463 3 4 5 5463 is divisible by 9 void display int val); to display each digit of the integer starting with the rightmost digit. Your program should also determine whether...
sucCesses isk. 6142 Let S consist of the 10 decimal digits. Suppose that a number X is chosen according to the discrete uniform distribution on S and then a number Y is chosen according to the discrete uniform distribution on {X, X +1,.. . .9}. a) Determine the conditional PMF of X given Y marginal PMF of Y and the joint PDF of X and Y b) Evaluate the conditional PMF in part (a), given Y = 6. = y...
10. AU.S. phone number consists of three sections: (1) Area code (null or three digits); (2) prefix code (three digits); and (3) postfix code (four digits). Area code - it can be null or consists of three digits Prefix code - it consists of three digits with non-ZERO or non-ONE as the first digit in the Prefix code section, i.e. 334-123-4567 is invalid because the first digit in the Prefix code is ONE. Postfix code - it consists of four...
For this question, answers should be decimal with 4 digits to right of the decimal point. ex. 0.1234 Bob owns a car rental company that has a fleet of 10 cars. Each car battery has an Exponentially distributed lifespan with a mean of 3 years. At the beginning of last year (Jan. 1, 2019), Bob replaced all the batteries. a) (5 points) What was the expected number of Batteries that Bob had to replace last year? b) (5 points) What...
For this question, answers should be decimal with 4 digits to right of the decimal point. ex. 0.1234 Bob owns a car rental company that has a fleet of 10 cars. Each car battery has an Exponentially distributed lifespan with a mean of 2 years. At the beginning of last year (Jan. 1, 2019), Bob replaced all the batteries. a) (5 points) What was the expected number of Batteries that Bob had to replace last year? b) (5 points) What...