2014 Assignment # 2 Answers and Solutions 1) a) Convert 124 to its binary representation: 12410 = 011111002. Positive numbers are always represented by themselves. The answer: 01111100 b) Convert -124 to its binary representation: -12410 = -011111002. Using the second method for negative numbers‚ invert and then add 1. The answer: 10000100 c) Convert 53 to its binary representation: 5310 = 001101012. Positive numbers are always represented
Premium Computer arithmetic Binary numeral system Hexadecimal
Student‚ ECE‚ SSIET‚ Derabassi‚ Punjab‚ India 1 Asst. Professor‚ ECE‚ SSIET‚ Derabassi‚ Punjab‚ India 2 Associate Professor‚ EIE‚ SLIET (Deemed University) Longowal‚ Sangrur‚ India 3 Assistant Professor‚ ECE‚ SGIT Ghaziabad‚ U.P. India4 ABSTRACT: Binary division is basically a procedure to determine how many times the divisor D divides the dividend B thus resulting in the quotient Q. At each step in the process the divisor D either divides B into a group of bits or it does not. The divisor divides
Premium Binary numeral system Division Addition
business activities. 4. What is the decimal value of the binary number 10011? 19 5. According to the textbook authors‚ what is another name for the rows in a database table? Records 6. According to the textbook authors‚ what are three popular chart types used in spreadsheet software? Line Charts‚ Column Charts‚ and Pie Charts 7. If the binary values 1000 0110 0101 are digits in a binary-coded decimal number‚ what decimal values are they representing?
Premium Binary numeral system Decimal Computer
all your calculations to obtain full marks. Calculators are NOT allowed. Read all the questions carefully before you start. Question Points Percentage 1 40% 2 60% Total 100% Question 1 (40 points: 15 + 10+ 15): (a) Convert the following binary into (i) decimal‚ (ii) octal et (iii) hexadecimal 10100001111.1101 (i) to decimal (10100001111)2 = 1 x 210 + 0 x 29 + 1 x 28 + 0 x 27 + 0 x 26 + 0 x 25 + 0 x 24 + 1 x 23 + 1 x 22 + 1 x 21 + 1 x 20 = 1024 + 0 + 256 + 0 + 0
Premium Binary numeral system Computer arithmetic Hexadecimal
followed by a NOT C. An AND followed by a NOT ANSWER: B 3. Which of the following bit patterns cannot be expressed in hexadecimal notation? A. 11111111 B. 1001 C. 110011 D. 100000000001 ANSWER: C 4. Which of the following is the binary representation of 4 5/8? A. 100.11 B. 10.011 C. 110.101 D. 100.101 ANSWER: D 5. Which of the following bit patterns represents the value 5 in two’s complement notation? A. 00011010 B. 11111011 C. 00000101 D. 11111011 ANSWER: C
Premium Binary numeral system Computer arithmetic Least significant bit
typically the rightmost bit in a binary number. False Numeric Response 1. What is the binary number which represents a decimal 4? Answer: 1002 2. If a digital system has 5 inputs‚ how many possible input combinations are there? Answer: 32 3. What is the decimal value of the hexadecimal number 777? Answer: 191110 4. What is the decimal value of the binary number 1001001001001? Answer: 468110 5. What is the binary value of the decimal number 2827
Premium Decimal Binary numeral system Hexadecimal
9x100=900 + 3x10=30 + 1x1=1 = 2931 Exercise 1.1.2 Mapping for binary number 110 base 2 4 2 1 * * * 1 1 0 = = = 4 + 2 + 0= 6 Exercise 1.1.3 Mapping for binary number 11 base 2 2 1 * * 1 1 = = 2 + 1= 3 Exercise 1.1.4 Mapping for binary number 10010 base 2 16 8 4 2 1 * * * * * 1 0 0 1 0 = = = = = 16 + 0 + 0 + 2 + 0= 18 Exercise 1.1.5 Mapping for binary number 11100010 base 2 128 64 32 16 8 4 2 1 * * * * * * * * 1 1 1 0 0 0
Premium Binary numeral system Hexadecimal Decimal
sides of block to emphasize their use in a multi-bit adder A full adder adds binary numbers and accounts for values carried in as well as out. A one-bit full adder adds three one-bit numbers‚ often written as A‚B‚ and Cin; A and B are the operands‚ and Cin is a bit carried in from the next less significant stage.[2] The full-adder is usually a component in a cascade of adders‚ which add 8‚ 16‚ 32‚ etc. bit wide binary numbers. The circuit produces a two-bit output‚ output carry and sum typically
Premium Decimal Positional notation Computer
• Complement representation of negative numbers • Binary arithmetic • Binary codes • Error detecting & error correcting codes • Hamming codes Switching Theory and Logic Design HISTORY OF THE NUMERAL SYSTEMS: A numeral system (or system of numeration) is a linguistic system and mathematical notation for representing numbers of a given set by symbols in a consistent manner. For example‚ It allows the numeral "11" to be interpreted as the binary numeral for three‚ the decimal numeral for eleven
Premium Decimal Error detection and correction Binary numeral system
July 2014 11 Ramadhan 1435 >> 4-BIT BCD CODES >> 6-BIT BCD CODES >> 8-BIT BCD CODES >> ZONED-DECIMAL & PACKED DECIMAL FORMATS INTRODUCTION HOW DOES A COMPUTER REPRESENT THE NUMERICAL DATA IN BINARY FORMAT? Base-2 digits [Straight Binary] BCD [Binary-Coded Decimal] binary-coded decimal (BCD) - class of binary encodings of decimal numbers In byte-oriented systems (i.e. most modern computers)‚ the term uncompressed BCD usually implies a full byte for each digit (often including a sign)‚ whereas packed BCD
Premium Binary numeral system