# 1 Lecture

## CS302

### Midterm & Final Term Short Notes

## An Overview & Number Systems

Number systems are fundamental to mathematics and form the basis of calculations in various fields, from science to finance. They involve symbols and rules for representing quantities, and can vary based on their base or radix. The most common n

**Important Mcq's**

Midterm & Finalterm Prepration

Past papers included

Download PDF
**Which number system is commonly used in computing?**a. Decimal b. Binary c. Octal d. Hexadecimal Answer: b**What is the base of the octal number system?**a. 2 b. 8 c. 10 d. 16 Answer: b**What is the value of the binary number 1011 in decimal?**a. 5 b. 8 c. 10 d. 11 Answer: d**What is the value of the hexadecimal number A2 in decimal?**a. 101 b. 162 c. 1620 d. 413 Answer: b**What is the binary equivalent of the decimal number 27?**a. 10101 b. 11010 c. 11101 d. 11110 Answer: c**Which number system has the fewest number of symbols?**a. Decimal b. Binary c. Octal d. Hexadecimal Answer: b**What is the value of the octal number 17 in decimal?**a. 8 b. 9 c. 15 d. 23 Answer: b**What is the hexadecimal equivalent of the binary number 1101011?**a. 6B b. 7A c. 8C d. 9D Answer: a**What is the value of the decimal number 56 in octal?**a. 56 b. 66 c. 70 d. 78 Answer: c**What is the value of the hexadecimal number 3F in binary?**a. 111100 b. 111101 c. 111110 d. 111111 Answer: b

**Subjective Short Notes**

Midterm & Finalterm Prepration

Past papers included

Download PDF
**What is a number system?**Answer: A number system is a system of symbols and rules for representing quantities.**What is the base or radix of a number system?**Answer: The base or radix of a number system is the number of symbols used in that system.**What is the decimal number system?**Answer: The decimal number system is a base-10 number system that uses ten symbols (0-9) to represent quantities.**What is the binary number system?**Answer: The binary number system is a base-2 number system that uses two symbols (0 and 1) to represent quantities.**What is the octal number system?**Answer: The octal number system is a base-8 number system that uses eight symbols (0-7) to represent quantities.**What is the hexadecimal number system?**Answer: The hexadecimal number system is a base-16 number system that uses sixteen symbols (0-9 and A-F) to represent quantities.**What is the significance of number systems in computing?**Answer: Number systems are significant in computing as they form the basis of digital data storage and processing.**What is the process of converting a decimal number to a binary number?**Answer: The process of converting a decimal number to a binary number involves repeatedly dividing the decimal number by 2 and recording the remainders until the quotient is zero.**What is the process of converting a binary number to a decimal number?**Answer: The process of converting a binary number to a decimal number involves multiplying each digit of the binary number by the corresponding power of 2 and summing the products.**What is the process of converting a hexadecimal number to a binary number?**Answer: The process of converting a hexadecimal number to a binary number involves converting each hexadecimal digit to its 4-bit binary equivalent.