Number system , Basic Computer Science

NUMBER SYSTEM:

 We are familiar with decimal number system which uses ten distinct symbols from 0...9, and has base 10. In the decimal number system a number n4n3n2nis interpreted as 1914_number system.png. Thus decimal number 5632 represents 5000+600+30+2. It is a weighted code system since numbers 5632, 2563, 3562, 6532 all represent different quantities despite the fact that all of them use the same symbols (2,3,5,6). The magnitude/ value of a number is determined both by the symbols used and the places at which they are present. Thus, symbol 3 at ten's place represent 30, but when written at thousands' place it represent 3000. Although we use only the decimal number system in everyday applications but there are many other number systems possible. In fact, we can have number system with any base r.

  A number system with base r will have r distinct symbols, from 0 to r-1. Binary number system (r = 2), octal number system (r = 8) and hexadecimal number system (r = 16) are some of the frequently used number systems in computer science. Binary number system has two distinct symbols 0 & 1; Octal has seven distinct symbols 0,1,2,3,4,5,6,7; and Hexadecimal number system has sixteen distinct  symbols namely 0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F. The numbers written in a particular number system can be transformed to an equivalent value in a different number system.

For example a number 3F in hexadecimal is equivalent to 63 (3×161 + F × 160) in decimal number system. And similarly a number 302 in octal is equivalent to 194 (3× 82 + 0 × 81+2 × 80) in decimal number system.  

 

Posted Date: 10/22/2012 3:36:23 AM | Location : United States







Related Discussions:- Number system , Assignment Help, Ask Question on Number system , Get Answer, Expert's Help, Number system Discussions

Write discussion on Number system
Your posts are moderated
Related Questions
Question 1 What are the different stages of evolution of Computer Architecture? Explain in detail Question 2 What are the components of Instruction Set architecture? Discu

Question 1 Briefly explain the classification of the computers Question 2 What is arithmetic logic unit? How it is helpful in CPU? Question 3 How do you install a

Ask queYou are hired as a Chief Technology Officer (CTO) of a startup company, which has two branches; one Los Angeles and one in San Francisco. The company hired employees to begi

Problem 1. Explain the different categories of instructions. Explanation of 4 categories 2. Explain the steps to be followed for the addition of floating point numb

A router is a device which has played an important role in the development and existence of the Internet. Routers are designed to transmit data from other network users to specific

In view of the fact that processes frequently need to communicate with other processes therefore, there is require for a well-structured interaction, devoid of using interrupts, a

Assess the reliability of data gathered via paid Internet users. Describe and assess the evaluation method being used by the testing company, i.e., nonvisual and verbal recording o

1. (40 points) Add a course drop method to the system that you implemented in Problem Set 1. Modularize your new implementation properly. For any new methods that you introduce: 1.

"The government is auctioning off oil leases at two sites: 1 and 2. At each site, 100,000 acres of land are to be auctioned. Cliff Ewing, Blake Barnes, and Alexis Pickens are biddi

You are an engineer involved in the development of a financial system. During installation, you discover that this system will make a significant number of people redundant. The pe