Thursday, June 17, 2010

Number System-I, Very Systematic


As promised, coming back after a week. this time we will talk about Number System and its conversation.

Positional number systems

Our decimal number system is known as a positional number system, because the value of the number depends on the position of the digits. For example, the number 156 has a very different value than the number 165, although the same digits are used in both numbers.

In a positional number system, the value of each digit is determined by which place it appears in the full number. The lowest place value is the rightmost position, and each successive position to the left has a higher place value.

In our decimal number system, the rightmost position represents the "ones" column, the next position represents the "tens" column, the next position represents "hundreds", etc. Therefore, the number 156 represents 1 hundred and 5 tens and 6 ones, whereas the number 165 represents 1 hundreds and 6 tens and 5 one.

Other number systems use different bases. The binary number system uses base 2, so the place values of the digits of a binary number correspond to powers of 2. The octal number system uses base 8, so the place values of the digits of a octal number correspond to powers of 8. The Hexadecimal number system uses base 16, so the place values of the digits of a binary number correspond to powers of 16. However, Hexadecimal number system also represent by alphabets. From 0 to 9 as numbers and 10 to 15 numbers are represent by alphabet A-F.

Decimal to Binary

(75.625)10 -> (?)2 First take the whole number and divide by 2, the radix or base of binary number or to which number system you want to convert.

Integer Part :

NotesProcessQuotientRemainder
Start by dividing the number by 2
In this case, 75 divided by 2
Quotient is 37 and the remainder is 1
75 / 2371
Then, divide the quotient again by 2,
and repeat it .
37 /2181
18 / 290
9 / 24 1
4 / 220
2 / 210
Stop because the result is already 0 (0 divided by 2 will always be 0). Write down the numbers in remainders column in reverse order, last digit to the first.1 / 201



Decimal Part

NotesProcessResultWhole number
Multiply the decimal part by 2 and The whole number part of the result is the first binary digit to the right of the point, put away it and continue multiple the fraction part.625 * 21.251
No whole number indicate a '0'.25 * 2.500
When there are no fraction left, the conversion is complete. Here you have to write the values top to bottom order.50 * 21.001
Sometime you will find the process going infinite nos. of times, just do till five or six places and write result with [approx]



The result : (75.625)10 -> (1001011.101)2

The process for converting decimal to octal or decimal to Hexadecimal will be same only the radix or base will change from 2 to 8 or 16.

Decimal to Octal

(75.625)10 -> (?)8 First take the whole number and divide by 2, the radix or base of binary number or to which number system you want to convert.

Integer Part :

NotesProcessQuotientRemainder
Start by dividing the number by 8
In this case, 75 divided by 8
Quotient is and the remainder is
75 / 893
Then, divide the quotient again by 8,
and repeat it .
9 /811
Stop because the result is already 0 (0 divided by 8 will always be 0). Write down the numbers in remainders column in reverse order, last digit to the first. 1 / 801

Decimal Part

NotesProcessResultWhole number
Multiply the decimal part by 8 and The whole number part of the result is the first binary digit to the right of the point, put away it and continue multiple the fraction part.625 * 85.0005
When there are no fraction left, the conversion is complete. Here you have to write the values top to bottom order
Sometime you will find the process going infinite nos. of times, just do till five or six places and write result with [approx]


Result : (75.625)10 = (113.5)8

Decimal to Hexadecimal

(75.625)10 -> (?)16 First take the whole number and divide by 2, the radix or base of binary number or to which number system you want to convert.

Integer Part :

NotesProcessQuotientRemainder
Start by dividing the number by 16
In this case, 75 divided by 16
Quotient is and the remainder is
75 / 16411
Then, divide the quotient again by 16,
and repeat it .
4 / 1604
Stop because the result is already 0 (0 divided by 8 will always be 0). Write down the numbers in remainders column in reverse order, last digit to the first.

Decimal Part

NotesProcessResultWhole number
Multiply the decimal part by 16and The whole number part of the result is the first binary digit to the right of the point, put away it and continue multiple the fraction part.625 * 1612.00012
When there are no fraction left, the conversion is complete. Here you have to write the values top to bottom order
Sometime you will find the process going infinite nos. of times, just do till five or six places and write result with [approx]


Result : (75.625)10 -> (4B.C)16

Following chart show the relation between the four number system.

Decimal Binary Octal Hexadecimal
0 0000 0 0
1 0001 1 1
2 0010 2 2
3 0011 3 3
4 0100 4 4
5 0101 5 5
6 0110 6 6
7 0111 7 7
8 1000 10 8
9 1001 11 9
10 1010 12 A
11 1011 13 B
12 1100 14 C
13 1101 15 D
14 1110 16 E
15 1111 17 F
16 10000 20 10

After fortnight I will back with converting other number system to decimal.

Thursday, June 3, 2010

Some Abbreviation – Short and Sweet


A
API Application Program Interface
ARPANET Advanced Research Projects Agency Network
ASCII American Standard Code for Information Interchange
ASP Active Server Page
AT Advanced Technology
AWT Abstract Window Toolkit [Java]

B
BASH Bourne Again Shell
BASIC Beginner's All-purpose Symbolic Instruction Code
BCNF Boyce-Codd Normal Form
BIOS Basic Input/Output System
BLOG Web Log
BMP Basic Mapping Support
BYTE Binary Element String

C
CAB Compressed Application Binary
CAD Computer Aided Design
CAM Computer Aided Manufacturing
CD Compact Disk
CDMA Code Division Multiple Access
CGA Color Graphics Adapter
CHCP Change Code Page
CMOS Complementary Metal-Oxide Semiconductor
COBOL Common Business-oriented Language (See HLL)
CP/M Control Program for Microcomputers
CPU Central Processing Unit
CSMA/CA Carrier Sense Multiple Access/with Collision Avoidance
CSMA/CD Carrier Sense Multiple Access/with Collision Detection
CTCP Client-To-Client Protocol

D
DB Data Base
DBMS Data Base Management System
DCL Data Control Language
DDL Data Definition Language
DDR Double Data Rate
DLL Dynamic Link Library
DLM Dynamic Link Module
DMA Direct Memory Access Facility
DML Data Manipulation Language
DOS Disk Operating System
DRAM Dynamic Random Access Memory
DSDD Double Sided Double Density
DSL Domain Specific Language
DVD Digital Video Disk

E
EDSAC Electronic Delay Storage Automatic Calculator
EDVAC Electronic Discrete Variable Automatic Computer
EEPROM Electrically Erasable Programmable Read-Only Memory
EGA Enhanced Graphics Adapter
E-MAIL Electronic Mail
ENIAC Electronic Numerical Integrator Analyzer and Computer
EPROM Electrically Programmable Read Only Memory
EROM Erasable Read Only Memory

F
FD Floppy Disk
FIFO First-In First-Out
FM Frequency Modulation

G
GDI Graphical Device Interface
GIGO Garbage In Garbage Out
GPRS General Packet Radio Service

H
HDD Hard Disk Drive
HTML HyperText Markup Language
HTTP HyperText Transfer Protocol

I
IBM International Business Machines (Corporation)
IC Integrated Circuit
IEEE Institute of Electrical and Electronics Engineers
IPTV Internet Protocol Television
ISDN Integrated Services Digital Network

J
JPEG Joint Photographic Experts Group
JVM Java Virtual Machine

K
KIPS Kodak Internet Print Service

L
LAN Local Area Network
LDAP Lightweight Directory Access Protocol
LIFO Last In First Out
LILO Last In Last Out
LISP List Processing (Language)(See HLL)
LPT Line Printer Terminal

M
MAC Multiple Access Computers
MAN Metropolitan Area Network
MAPI Mail/Messaging Applications Programming
MBps Megabytes Per Second
Mbps Megabits Per Second
MBR Master Boot Record
MCGA Multicolor Graphics Array
MD Make Directory
MFC Microsoft Foundation Class
MICR Magnetic Ink Character Recognition
MICRO One-millionth
MIDI Musical Instrument Digital Interface
MIME Multipurpose Internet Mail Extensions
MIMO Multiple Input Multiple Output
MIPS Million Instructions Per Second
MODEM Modulator/Demodulator
MOSFET Metal Oxide Semiconductor Field Effect Transistor
MP3 MPEG Audio Layer 3
MS-DOS Microsoft - Disk Operating System
MVGA Monochrome Video Graphics Array

N
NAND Not And
NANO One thousand-millionth
NIC Network Information CenterNetwork Interface Card
NVRAM Non-Volatile Random Access Memory

O
OCR Optical Character Recognition
ODBC Open Data Base Connectivity
OLAP Online Analytical Processing
OS/2 Operating System/2

P
PABX Private Automatic Branch Exchange
PAN Personal Area Network
PATA Parallel Advanced Technology Attachment
PBX Private Branch Exchange
PC Personal Computer
PIN Personal Identification Number
POP Post Office Protocol
POP3 Post Office Protocol Version 3
POST Power-On Self Test
PS/2 Programming System 2

R
RAID Redundant Arrays of Independent Disks
RAM Random Access Memory
RAND Random
RDBMS Relational Database Management System
RDO Remote Data Object
REGEDIT
Registry Editor [Microsoft]
RGB Red-Green-Blue
R/W Read/Write

S
SAP Systems Applications and Products
SATA Serial Advanced Technology Attachment
SDK Software Development Kit [Microsoft]
SHTML Server-Side Include HyperText Markup Language
SMS Short Message Service
SMTP Simple Mail Transfer Protocol
SPOOL Simultaneous Peripheral Operations On Line
SRAM Static Random Access Memory
STDIN Standard Input
STDOUT Standard Output
STP Shielded Twisted Pair
SVGA Super Video Graphics Array

T
TAG Technical Advisory Group
TASM Turbo Assembler [Borland]
TCP/IP Transmission Control Protocol/Internet Protocol
.TIF Tagged Image File (filename extension)
TOC Table Of Contents

U
UID User Identifier
UNIVAC Universal Automatic Computer
UPS Uninterruptible Power Supply/System
URI Uniform Resource Identifier
URL Uniform Resource Locator
USENET User's Network
UTP Unshielded Twisted-Pair (cable)
UUCP Unix-To-Unix Copy Protocol

V
VB Visual Basic
VBA Visual Basic for Applications
VDDM Virtual Device Driver Manager
VDISK Virtual Disk
VDM Virtual DOS Machine
VDU Video Display Unit
VEGA Video Enhanced Graphics Adapter
VESA Video Electronics Standards Association
VGA Video Graphics Array
VLSI Very Large Scale Integration

W
WAN Wide Area Network
WAP Wireless Application Protocol
WDM Wavelength Division Multiplexing
WIFI Wireless Fidelity
WML Wireless Markup Language
WORM Write Once Read Many
WSP Wireless Session Protocol
WWW World-Wide Web [Internet]
WXGA Wide Extended Graphics Array

WYSIWYG
What You See Is What You Get

X
XCOPY Extended Copy
XHTML Extensible HyperText Markup Language
XML Extensible Markup Language

Y
Y2K Year 2000


!!!Some common used abbreviation I am putting here, if you
fill some missing then can mail me.!!!