Number system , Basic Computer Science

Assignment Help:

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.  

 


Related Discussions:- Number system

Explain digital multiplexers, Problem 1 Perform the following conversio...

Problem 1 Perform the following conversion a. (ABE) 16 =() 2 b. (101011) 2 =() 10 2 Explain how full adder adds three bits 3 Explain digital multiplexers

Cop2505, Create a program that uses a menu with options to enter student in...

Create a program that uses a menu with options to enter student information (name, ID, GPA), print student information, or quit the program. Use data files and FILE pointers to sto

Syntax - programming language, Syntax: Syntax provides the structure a...

Syntax: Syntax provides the structure and how to formulate the phrase or sentence w.r.t grammar of the language. It tells us about which composition is allowed from the charac

Accessing other computers, Accessing Other Computers The advanced netw...

Accessing Other Computers The advanced networking features of Windows combined with the easy to use user interface make the task of sharing information with other computers/us

Server programs, Server Programs:   Server programs are dedicated compu...

Server Programs:   Server programs are dedicated computer programs that run as services and serve the needs or requests of other programs. These services may run on a dedicated

What is the basic model of cpu structure?, As there are many variations i...

As there are many variations in architecture between the different kinds of CPU, we shall begin my looking at an easy model of the structure. The basic model consists of five part

Describe the binary search algorithm, QUESTION 1 Describe the binary se...

QUESTION 1 Describe the binary search algorithm using an example of your own. QUESTION 2 (a) By showing all your workings, give a big-O estimate for f(x) = (x + 1)lo

Software development, requirement analysis and specification for online vot...

requirement analysis and specification for online voting

What is blu-ray disk, Question 1 Explain the configuration steps involved ...

Question 1 Explain the configuration steps involved in CMOS setup Date and time Error halt Floppy drive A Halt on Hard disk C HDD Delay Keyboard Memory

Variables and constants, Variables and Constants: These are the smalle...

Variables and Constants: These are the smallest components of a programming language.  For writing a program, one must know how to use the internal memory of a computer. A Com

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd