Convert the followings:- (1) (890.56)16= (…………......)BCD (2) (10111)2 + (205)16 = (…………….)8 .
Answer the following Questions Question 1 Convert the followings: [a, b, c and d: 1 mark each; e: 3 marks. Total 7 marks] a. 0x2ED1 to Binary b. −29.6610 to Binary c. 1001111001102 to Hexadecimal d. 11101110 (8-bit 2’s complement representation) to decimal e. A computer stores the following using the IEEE754 single precision format. What value in decimal it is representing for: 1 01111110 11000000000000000000000
Please answer any 7 of them ТОС Answer any 7 from the followings: 1. Regular expression to NFA: i) ab(aUb)* ii) (aba U a)*ab 2. Explain and construct a generalized NFA, 3. NFA to regular expression 0 3 91 93 8 a 4. DFA to regular expression 011 5. Explain the rules of pumping lemma briefly with an example. 6. Give an example of right linear grammar and left linear grammar. 7. L(G) = {1*20 m >= 1 and >=1}....
b) r = 4 sin 8. 7. Convert each of the following equations from rectangular form to polar form. Solve for r. a) X = 3 b) x2 + (y + 2)2 = 4.
7. Perform the following conversions a. Convert 1100 0100 1010 00112to hexadecimal. b. Convert 11011112to decimal. c. Convert 0xF7A4C to binary. 7. Perform the following conversions a. Convert 1100 0100 1010 00112 to hexadecimal. b. Convert 11011112 to decimal. c. Convert OxF7A4C to binary
8. Convert the following NFA to DFA a,
D 7 Which of the followings are effects of the budget deficit Select all that apply Net exports increase The real exchange rate appreciates The real interest rate rises National saving falls 8 Suppose coffee sells for $3/pound in Seattle and $5/pound in Boston, and the transportation between the two cities costs $3/pound. Then there is no arbitrage. True False
7. Convert the following statement into a logical statement, and generate the corresponding truth table. If John doesn't pass, then he will lose his scholarship and drop out of school. 8.Convert the following statement into a logical statement and generate the corresponding truth table. If you elect Mary, then Mary will make sure that the federal budget will be balanced, partisan wrangling in Washington will cease, and there will be no cuts in social security benefits.
7. Convert the following 16 bit unsigned binary integers to Hex. a) 1000111000011011 b) 0011110011110001 c) 1110010110100101 8. Convert the following 3 “digit” Hex unsigned integers to 12-bit unsigned binary integers. a) F3B b) 1CD c) 9AE
Homework 1: Q1: Convert the following binary number to decimal. • 11001100100.00011 Q2: Convert the following decimal number to binary. • 1365.1234 Q3: Convert the following both to octal and hexadecimal. • (10110100000101.1011)2 (16001.567)10 (directly convert to octal and hexadecimal without converting to binary) Q4: Convert the following hexadecimal number to decimal, octal, and base 4. . ABCD.EF Q5: Convert (375, 765)10 to base 7. Q6: Convert (12310)4 to base 5. Q7: Convert (35421)6 to decimal. Q8: Convert (1991)10 first...