The Wayback Machine - https://web.archive.org/web/20241012033937/https://www.geeksforgeeks.org/classification-of-number-system/
Open In App

Classification of Number System

Last Updated : 05 Aug, 2024
Summarize
Comments
Improve
Suggest changes
Like Article
Like
Save
Share
Report
News Follow

A number is a way to represent arithmetic value, count or measure of a particular quantity. A

number system

can be considered as a mathematical notation of numbers using a set of digits or symbols. In simpler words the number system is a method of representing numbers. Every number system is identified with the help of its base or radix.

Base or Radix of a Number System:

The base or radix of a number system can be referred as the total number of different symbols which can be used in a particular number system. Radix means “root” in Latin. Base equals to 4 implies there are 4 different symbols in that number system. Similarly, base equals to “x” implies there are “x” different symbols in that number system.

Classification of Number System:

The number system can be classified in to two types namely:

Positional and Non-Positional number system

1. Positional (or Weighted) Number System:

A positional number system is also known as weighted number system. As the name implies there will be a weight associated with each digit. According to its position of occurrence in the number, each digit is weighted. Towards the left the weights increases by a constant factor equivalent to the base or radix. With the help of the radix point (‘.’), the positions corresponding to integral weights (1) are differentiated from the positions corresponding to fractional weights (<1). Any integer value that is greater than or equal to two can be used as the base or radix. The digit position ‘n’ has weight

[Tex]r^n[/Tex]

. Largest value of digit position is always 1 less than the base value. The value of a number is weighted sum of its digits. For example:

1358 = 1 x [Tex]10^3[/Tex] + 3 x [Tex]10^2[/Tex] + 5 x [Tex]10^1[/Tex] + 8 x [Tex]10^0[/Tex]
13.58 = 1 x [Tex]10^1[/Tex] + 3 x [Tex]10^0[/Tex] + 5 x [Tex]10^{-1}[/Tex] + 8 x [Tex]10^{-2}[/Tex]

Few examples of positional number system are decimal number system, Binary number system, octal number system, hexadecimal number system, BCD, etc.

2. Non-Positional (or Non-weighted) Number System:

Non-positional number system is also known as non-weighted number system. Digit value is independent of its position. Non-positional number system is used for shift position encodes and error detecting purpose. Few examples of non-weighted number system are gray code, roman code, excess-3 code, etc.



Similar Reads

Classification of Sorting Algorithms
Sorting is an algorithm which arranges the elements of a given list in a particular order [ascending or descending]. Sorting algorithms are categorized on the following basis - By number of comparisons :Comparison-based sorting algorithms check the elements of the list by key comparison operation and need at least O(n log n) comparisons for most in
3 min read
Classification and Programming of Read-Only Memory (ROM)
Read-Only Memory or ROM is another significant non Volatile storage control in computed systems which mainly stores data permanently whether the power is off or not. While RAM is a temporary storage type used in computers and printers, ROM contains firmware and other instructions which are burnt, into the hardware during its manufacturing. This art
15+ min read
Classification of Context Free Grammars
Context Free Grammars (CFG) can be classified on the basis of following two properties: 1) Based on number of strings it generates. If CFG is generating finite number of strings, then CFG is Non-Recursive (or the grammar is said to be Non-recursive grammar) If CFG can generate infinite number of strings then the grammar is said to be Recursive gram
2 min read
Classification of Routing Algorithms
Pre-requisites: Difference between Static and Dynamic Routing Routing is the process of establishing the routes that data packets must follow to reach the destination. In this process, a routing table is created which contains information regarding routes that data packets follow. Various routing algorithms are used for the purpose of deciding whic
9 min read
System Protection in Operating System
Introduction: System protection in an operating system refers to the mechanisms implemented by the operating system to ensure the security and integrity of the system. System protection involves various techniques to prevent unauthorized access, misuse, or modification of the operating system and its resources. There are several ways in which an op
3 min read
Allocating kernel memory (buddy system and slab system)
Prerequisite - Buddy System Introduction: Allocating kernel memory is a critical task in operating system design, as the kernel needs to manage memory efficiently and effectively to ensure optimal system performance. Two common methods for allocating kernel memory are the buddy system and the slab system. The buddy system is a memory allocation alg
9 min read
User View Vs Hardware View Vs System View of Operating System
User View of Operating System: The Operating System is an interface, hides the details which must be performed and present a virtual machine to the user that makes it easier to use. Operating System provides the following services to the user. Execution of a programAccess to I/O devicesControlled access to filesError detection (Hardware failures, a
1 min read
Difference between Batch Processing System and Online Processing System
Prerequisite - Types of Operating System 1. Batch Processing System : An Batch processing system handles large amounts of data which processed on a routine schedule. Processing occurs after the economic event occurs and is recorded. It requires fewer programming, hardware, and training resources. In this system programs are scheduled through jobs.
3 min read
Conversion of Binary number to Base 4 system
We all know that, [Tex]2^2 [/Tex]= [Tex]4^1 [/Tex]. In other words, single digit in base 4 can be represented using 2 digits in base 2. Base 2 has digits 0 and 1. Similarly base 4 has digits 0, 1, 2 and 3. Algorithm for Binary to Base 4 Conversion Beginning from right, group the digits of binary (base 2) number into group of two. Write the base 4 e
1 min read
Decimal Number System
A number system can be considered as a mathematical notation of numbers using a set of digits or symbols. In simpler words the number system is a method of representing numbers. Every number system is identified with the help of its base or radix. For example, Binary, Octal, Decimal and Hexadecimal Number systems are used in microprocessor programm
3 min read
Arithmetic Operations of 2's Complement Number System
We all know how to perform arithmetic operations of binary number systems. However, computer system generally stores numbers in 2's complement format. So it becomes necessary for us to know how arithmetic operations are done in 2's complement. Addition:In 2's complement, we perform addition the same as an addition for unsigned binary numbers. The o
3 min read
Number System and Base Conversions
Electronic and Digital systems may use a variety of different number systems, (e.g. Decimal, Hexadecimal, Octal, Binary), or even Duodecimal or less well known but better named Uncial. All the other bases other than Decimal result from computer usage. Uncial (named from Latin for 1/12 "uncia" the base twelve analogue of Decimal from the Latin word
5 min read
Overflow in Arithmetic Addition in Binary Number System
In Computer Architecture 2's Complement format is widely used. The discussion of overflow here mainly will be with respect to 2's Complement representation for signed Integer. Overflow Occurs with respect to addition when 2 N-bit 2’s Complement Numbers are added and the answer is too large to fit into that N-bit Group.  A computer has N-Bit Fixed r
6 min read
Banker's Algorithm in Operating System
Prerequisite - Resource Allocation Graph (RAG), Banker’s Algorithm, Program for Banker’s Algorithm Banker's Algorithm is a resource allocation and deadlock avoidance algorithm. This algorithm test for safety simulating the allocation for predetermined maximum possible amounts of all resources, then makes an “s-state” check to test for possible acti
15 min read
Allocation of frames in Operating System
An important aspect of operating systems, virtual memory is implemented using demand paging. Demand paging necessitates the development of a page-replacement algorithm and a frame allocation algorithm. Frame allocation algorithms are used if you have multiple processes; it helps decide how many frames to allocate to each process. There are various
3 min read
Thread Models in Operating System
A thread is a light weight process which is similar to a process where every process can have one or more threads. Each thread contains a Stack and a Thread Control Block. There are four basic thread models : 1. User Level Single Thread Model : Each process contains a single thread.Single process is itself a single thread.process table contains an
2 min read
File System Inconsistency
File systems in the OS have mechanisms to persist despite abrupt power changes, thereby handling the problem of crash consistency. To understand the crash scenario, assume that a user has given the "write" instruction onto the disk, and in between the process someone unplugs the power cord. The disk was only partially updated. The user then reboots
3 min read
Various terms in File System
Prerequisite - File Systems in Operating System First Understand the structure of storage device HDD: Terminology: (i). Sector (ii). Track (iii). Track-Sector (iv). Cluster or Block Figure - Terminology in diskThese are explained as following below in brief. (i). Sector: This is a pie like structure from center of disk to circumference, the time re
2 min read
Personnel involved in Database Management System
Many persons are involved in the design, use, and maintenance of a large database with a few hundred users. Here we will consider people who may be called "Actors on the Scene", whose jobs involve the day-to-day use of a large database. Database Administrators: Administrating the primary (database) and secondary (DBMS and related software) is the r
5 min read
Best-Fit Allocation in Operating System
INTRODUCTION: Best-Fit Allocation is a memory allocation technique used in operating systems to allocate memory to a process. In Best-Fit, the operating system searches through the list of free blocks of memory to find the block that is closest in size to the memory request from the process. Once a suitable block is found, the operating system spli
4 min read
Thread Control Block in Operating System
Very similar to Process Control Blocks (PCBs) which represents processes, Thread Control Blocks (TCBs) represents threads generated in the system. It contains information about the threads, such as it's ID and states. The components have been defined below: Thread ID: It is a unique identifier assigned by the Operating System to the thread when it
1 min read
Two State Process Model in Operating System
Pre-requisite: States of a Process in Operating Systems The process in an operating system passes from different states starting from its formation to its completion. A process consists of program data and its associated data and a process control block (PCB). A process may change its state because of the following events like I/O requests, interru
3 min read
Levels in a File Management System
Prerequisite - File System The management of files and the management of device are interlinked with each other. Given below is an hierarchy used to perform the required functions of an I/O system efficiently. The highest level module called Basic File System passes the information given to it to Logical File System, which in turn, notifies the Phy
4 min read
Display result at System Seven-Segment LEDs using Primer
Monitor Operating System (MOS) of the Primer can be used to display results of the program at the LEDs in Hex or BCD by using appropriate routine calls from the monitor program. The primer is managed by the 8279 programmable interfacing device such as keyboard or display. The seven-segment LEDs are connected to use the multiplexed technique. It can
2 min read
Understanding File System
Prerequisite - File Systems in Operating System Files and folders are the non-detachable part of human life. We daily go through these two name and use them unknowingly. These files do have different types, that has been evolved as the requirement of the user and developers changed. Some tech giants build their own file system to increase the marke
4 min read
Specification of Digital System
Specification of a system is the description of its function and other characteristics required for it, for example speed, cost and power. Design can be improved at the expense of worsening on both of the others. These tradeoffs exit at every level in the system design, every sub-piece and components. A designer must make the tradeoffs necessary to
1 min read
Implementation of Digital System
Prerequisite - Introduction to Digital Systems Implementation means how the system is constructed from smaller and simpler components called modules. The modules can vary from simple Gates to complex processors. Digital system follows some Hierarchical implementation. Hierarchical implementation : It is a modular design system which uses divide and
2 min read
Characteristics and Benefits of Digital System
Important characteristics of Digital System are as following below: Data is represented in a digital system as a vector of binary variables.Digital Systems can provide accuracy (dynamic range) limited only by the number of bits used to represent a variableDigital systems are less prone to error than analog systems.Data representation in a digital s
2 min read
Precedence Graph in Operating System
Prerequisite - Process Synchronization Precedence Graph is a directed acyclic graph which is used to show the execution level of several processes in operating system. It consists of nodes and edges. Nodes represent the processes and the edges represent the flow of execution. Properties of Precedence Graph : Following are the properties of Preceden
2 min read
Domain Name System (DNS) Zones
Domain Name System (DNS) is divided into many multiple various zones. These zones distinguish between specifically managed areas within DNS namespace.  Domain Name System (DNS) Zones is any distinct, connecting segment of domain name space in Domain Name System (DNS) for which administrative responsibility has been delegated to single administrativ
4 min read
Article Tags :