Skip to main content

NUMBER SYSTEM

NUMBER SYSTEM
Number system is a way to represent a no in very systematic order and we also know that a number represent quantity (some time quality) of the product.
        In Computer Science number system has significance value there are four different types of number system.
The four different types of number system is as follows:
i)                Binary Number System
ii)             Octal Number System
iii)         Decimal Number System
iv)          Hexa- Decimal Number System
Each Number System has two different attribute first is known as ‘radix’ or ‘base’ and another is ‘range’.
Radix defined worth are repeatable properties of particular number and Range specifies a number of digits.

Number System
Radix
Range
Example
Binary
2
0,1
(110)2
Octal
8
0,1,2,3,4,5,6,7
(5746)8
Decimal
10
0,1,2,3,4,5,6,7,8,9
56789
Hexa-Decimal
16
0,1,2,3,4,5,6,7,8,9,
A,B,C,D,E,F
(3AF)16

Decimal Number System
This is the natural number system as a human being, we are working on decimal number system and we are very comfortable   in performing different operation in this number system. The base of this number system is 10.
Ex- 780,1058,589658 etc.
Binary Number System
It is also known as machine number system.It has only two digits '0' and '1' and its base is 2. In Computer science every data is represented in binary format.
Ex- (11110011)2
Octal Number System
It is also machine number sustem, generally used by  computer system for memory refrence or some specific data values. It has base 8 and digits are 0,1,2,3,4,5,6,7.
Ex- (176)8
Hexa-Decimal Number System
It has base 16 and digits are 0,1,2,3,4,5,6,7,8,9 and A,B,C,D,E,F . Here A =10, B=11, C=12, D=13, E=14 and F=15.
It is used in network adressess.
Ex- (98EF)16

Comments

Popular posts from this blog

Computer Generations

 Computer Generations   Computers have evolved over time through different generations, each marked by significant technological advancements and changes in design and architecture. These generations are often categorized based on the underlying hardware and the key developments that distinguish one Generation from another. Let's explore the main computer generations: First Generation Computers    The First Generation of computers refers to the initial period of electronic computing, characterized by the use of vacuum tubes as the primary electronic component. This Generation spans the 1940s and 1950s and is marked by groundbreaking developments in computer technology.  Examples of First-Generation Computers:  o ENIAC (Electronic Numerical Integrator and Computer): Completed in 1945, ENIAC was one of the first electronic general-purpose computers. It was designed to calculate artillery firing tables for the United States Army during World War ...

Programming in "C"

 Introduction   C is a general-purpose programming language that was developed in the early 1970s by Dennis Ritchie at Bell Laboratories. It has since become one of the most widely used programming languages and has influenced the development of many other languages, including C++, Java, and C#. C is known for its efficiency, flexibility, and low-level programming capabilities. It is commonly used for system programming, embedded systems, and developing operating systems. C is also a popular choice for developing applications that require high performance, such as game engines and scientific simulations.   Here are some key features and concepts of C programming:   Syntax: C has a relatively simple syntax compared to some other programming languages. It uses a combination of keywords, variables, data types, operators, and control structures to write programs.  Variables and Data Types: You declare variables to store data in C. Various d...

History of Language "C"

  History of C      The history of C programming dates back to the early 1970s when Dennis Ritchie created it at Bell Laboratories. Here's a brief timeline of the major milestones in the history of C:  1969: The development of C began as a successor to the B programming language, which Ken Thompson created. Dennis Ritchie wanted to improve upon B's capabilities and efficiency.  1972: The C programming language was developed primarily to support the development of the Unix operating system. Ken Thompson and Dennis Ritchie rewrote Unix in C, which helped in porting the operating system to different computer architectures easily. 1978: The first edition of "The C Programming Language," also known as the "K&R C," was published. Brian Kernighan and Dennis Ritchie wrote it, becoming the authoritative reference for C programming. 1983: The American National Standards Institute (ANSI) formed a committee to establish a standard for the C language. The ...