Sunday, January 31, 2016

Computer Memory Units

Computer Memory Units -

1 Bit
Binary Digit
4 Bits
1 Nibble
8 Bits
1 Byte
1024 Bytes
1 Kilobyte
1024 Kilobytes
1 Megabyte
1024 Megabytes
1 Gigabyte
1024 Gigabytes
1 Terabyte
1024 Terabytes
1 Petabyte
1024 Petabytes
1 Exabyte
1024 Exabytes
1 Zettabyte
1024 Zettabytes
1 Yottabyte
1024Yottabytes
1 Brontobyte
1024 Brontobytes
1 Geopbyte
1024 Geopbyte
1 Saganbyte
1024 Saganbyte
1 Pijabyte
1024 Pijabyte
1 Alphabyte
1024 Alphabyte
1 Kryatbyte
1024 Kryatbyte
1Amosbyte
1024 Amosbyte
1 Pectrolbyte
1024 Pectrolbyte
1 Bolgerbyte
1024 Bolgerbyte
1 Sambobyte
1024 Sambobyte
1 Quesabyte
1024 Quesabyte
1 Kinsabyte
1024 Kinsabyte
1 Rutherbyte
1024 Rutherbyte
1 Dubnibyte
1024 Dubnibyte
1 Seaborgbyte
1024 Seaborgbyte
1 Bohrbyte
1024 Bohrbyte
1 Hassiubyte
1024 Hassiubyte
1 Meitnerbyte
1024 Meitnerbyte
1 Darmstadbyte
1024 Darmstadbyte
1 Roentbyte
1024 Roentbyte
1 Coperbyte

Thursday, January 28, 2016

Abbreviation

Abbreviation Related to Computer Science -

ADCAnalog to digital Converter
AIArtificial Intelligence
ALGOLAlgorithmic Language
ALUArithmetic Logic Unit
ANSIAmerican National Standard Institute
ARCAdvance RISC Computing
ARPAAdvanced research Agency Addressing
ASCIIAmerican Standard Code for Information Interchange
ASFActive Streaming Format
ASPActive Server Page
ATAAt Attachment
AVIAudio Visual Interleaving
AWTAbstract Windowing Toolkit
BARBase Address Register
BASICBeginner’s All Purpose Symbolic Instruction Code
BCDBinary Coded Decimal
BDCBackup Domain Controller
BCRBar Code Register
BGPBorder Gateway Protocol
BINACBinary Automatic Computer
BIOSBasic Input Output System
BITBinary Digit
BMPBitmap
BOOTPBootstrap Protocol
BPIBytes Per Inch
BPSBit Per Second
CADComputer Aided Design
CAMComputer Aided Manufacturing
CDCompact Disk
CDACCentral For Development of Advance Computing
CDMACode Division Multiple Access
CGAColor Graphics Array
CLRCommon Language Runtime
CMOSComplementary Metal Oxide
COBOLCommon Business Oriented Language
CPUCentral Processing Unit
CPUCentral Processing Unit
CRTCathode Ray Tube
CUControl Unit
CUControl Unit
DBMSDatabase management System
DMADirect Memory Access
DMLData Manipulation Language
DNSDomain Name System
DOSDisk Operating System
DVDDigital Versatile Disk
E- MAILElectronic Mail
EDPElectronic Data Processing
EOMEnd of Massage
EPROMErasable Programmable Read Only Memory
EUSExtended Unix Code
FDDFloppy disk Drive
FIFOFirst In First Out
FPUFloating Point Unit
GBGiga Byte
HDDHard Disk Drive
HIDHuman Interface Device
HTMLHypertext Markup Language
HTTPHypertext Transfer  Protocol
IBMInternational Business Machine Corporation
ICMPInternet Control Message Protocol
IPInternet Protocol
ISOIndian Standard Organization
ISOInternational Standard Organization
J2SEJava 2 Standard Edition
JPEGJoint photographic Experts Group
KBPSKilo Byte Per Second
LANLocal Area Network
LCDLiquid Cristal Display
LIFOLast In First Out
MANMetropolitan Area Network
MBMega byte
MIDIMusic Instrument Digital Interface
MINEMultipurpose internet Mail Extension
MIPSMillion Instruction Per Second
MMUMemory Management Unit
MODAMModulator-Demodulator
MPEGMoving Picture Expert Group
OCROptical Character Reader
OMROptical Mark Reader
OSOperating System
OSIOpen System Interconnection
P2PPeer to Peer
PCPersonal Computer
PDPen Drive
PDFProtected Document File
PHPPersonal Home Page Pre Processor
POPPost Office Protocol
PPTPowerPoint Presentation
PSTNPublic Switched Telephone Network
QOSQuality Of Service
RAMRandom Access Memory
ROMRead Only Memory
SLIPSerial Line Internet Protocol
SMPSSwitch Mode Power Supply
SMTPSimple Mail Transfer Protocol
SNMPSimple Network Management Protocol
SQLStructured Query Language
TBTera Byte
TCP/IPTransmission Control Protocol/Internet Protocol
TDMATime Division Multiple Access
UPSUninterruptible Power Supply
URLUniform Resource Locator
USBUniversal Serial Bus
VBVisual Basic
VBSVisual Basic Script
VGAVideo Graphic Array
VLSIVery Large Scale Integration
VPNVirtual Private Network
WANWide Area Network
WLANWireless Local Area Network
WMPWindow Media Player
WWWWorld Wide Web
.ZIPA Compressed File
ZIPZone Information Protocol

Write a program and algorithm to calculate addition of two numbers.

OBJECT: - Write a program and algorithm to calculate addition of two numbers.

Algorithm:-
Step (1):- Start
Step (2):- Declare integer type of variable
Step (3):- Input value a & b
Step (4):- sum ← a + b
Step (5):- output
Step (6):- Stop the execution

Program:- 

# include<stdio.h>
#include<conio.h>
void main()
{
int a,b,sum;
clrscr();
printf("Input the  value of a & b:");
scanf("%d%d", &a,&b);
sum= a+b;
printf("%d",sum);
getch();
}

------------------------------------------------------------------------------------

Output:-

Input the value of a & b: 5
3
8

Tuesday, January 26, 2016

Write a program and algorithm to find the Value of Si (Simple Interest)

Object: - Write  a program and algorithm to find the Value of Si (Simple Interest) .

Program:-# include<stdio.h>
#include<conio.h>
void main()
{
clrscr();
int p,n,r;
float si;
printf("Enter the Value of p,n,r");
scanf("%d%d%d",&p,&n,&r);
si=(p*n*r/100);
printf("Value of Si");
printf("%f",si);
getch();
}

Algorithm:-

Step (1):- Start
Step (2):- int n, p, r
Step (3):- float si
Step (4):- Enter the value of n, p, r
Step (5):- Value of n, p, r
Step (6):- si ← (p*n*r/100)
Step (7):- Disply si
Step (8):- Stop

---------------------------------------------------------------------------------------
Output:-

Enter the Value of p,n,r 500
2
5
Value of Si 50.000000

Tempreture conversion from celsius tempreture to kelvin tempreture.

OBJECT: - Write a program and algorithm for temperature conversion from Celsius temperature to kelvin temperature.

Program:- 
# include<stdio.h>
#include<conio.h>
void main()
{
int c,k;
clrscr();
printf("Enter the value of calsius temp.:");
scanf("%d",&c);
k=c+273;
printf("kelvin temp.=%d",k);
getch();
}

Algorithm

Step (1):- Start
Step (2):- Declare the variable c, k as integer type 
Step (3):- Input value a & b
Step (4):- k ← c + 273
Step (5):- Write the value of k
Step (6):- Stop 

-----------------------------------------------------------------------------------------------------------

Output:-

Enter the value of calsius temp.:10
kelvin temp.=283

Sunday, January 24, 2016

For Temperature Conversion from Celsius temperature to Fahrenheit temperature

Write  a program and algorithm for temperature conversion from Celsius temperature to Fahrenheit temperature

Algorithm:-Step (1):- Start
Step (2):- Declare the variable c, f as integer type 
Step (3):- Value of variable c
Step (4):- f ← 9c/5+32
Step (5):- Write the value of  f
Step (6):- Stop 

Program:- 

# include<stdio.h>
#include<conio.h>
void main()
{
int c,f;
clrscr();
printf("Enter the value of celcius temp:");
scanf("%d",&c);
f=9*c/5+32;
printf("Farenhiet temp=%d",f);
getch();
}

---------------------------------------------------------------------------

Output:-

Enter the value of celcius temp:25
Farenhiet temp=77

Temperature Conversion from Kelvin temperature to Celsius temperature

Object: - Write  a program and algorithm and for temperature conversion from Kelvin temperature to Celsius temperature
 Algorithm:-

Step (1):- Start
Step (2):- Declare the variable  k, c as float type.
Step (3):- Read the value of variable k
Step (4):- c ← k-273
Step (5):- the value of  c
Step (6):- Stop

Program:-

# include<stdio.h>
#include<conio.h>
void main()
{
clrscr();
float k,c;
printf("Enter the value of kelvin temprature:");
scanf("%f",&k);
c=k-273;
printf("celsius temprature=%f",c);
getch();
}
----------------------------------------------------------------------------------

Output:-
Enter the value of kelvin temprature:500
celsius temprature=227.000000

Friday, January 22, 2016

FAHRENHEIT TEMPERATURE TO CELSIUS TEMPERATURE

Object: - Write a program and algorithm for temperature conversion from Fahrenheit temperature to Celsius temperature


Program:-

# include<stdio.h>
#include<conio.h>
void main()
{
float f, c;
clrscr();
printf("Enter the value of farenhiet temprature:");
scanf("%f",&f);
c=5*(f-32)/9 ;
printf("celcious temprature=%f",c);
getch();
}

Algorithm:-

Step (1):- Start
Step (2):- Declare the variable f, c as float type
Step (3):- Value of variable f
Step (4):- c ← 5*(f-32)/9
Step (5):- Write the value of  c
Step (6):- Stop


--------------------------------------------------------------------------
Output:-

Enter the value of farenhiet temprature:50
celcious temprature=10.000000

A program to calculate ten Fibonacci Series

Object: - Write a program and algorithm to calculate ten Fibonacci Series.

 

Algorithm-
Step (1):- Start
Step (2):- Declare the variable a, b, c, i as integer type
Step (3):- initializing
Step (4):- “Enter the number of terms:”
Step (5):- Read the value of n
Step (6):- Write “series are =”
Step (7):- Read the value of a & b
Step (8):- for( i=1; i<n-2; i++)
(8.1) c ←a+b
(8.2) Write the value of c
(8.3) a←b
(8.4) b←c
(8.5) end for loop

Step (9):- stop

Program:-
# include<stdio.h>
#include<conio.h>
void main()
{
int a,b,c,n,i;
clrscr();
a=1;
b=2;
printf("Enter the number of terms:");
scanf("%d",&n);
printf("Series are:");
printf("%d\t%d\t",a,b);
for(i=1; i<n-2; i++)
{
c=a+b;
printf("%d\t",c);
a=b;
b=c;
}
getch();
}
---------------------------------------------------------------------------------

Output:-

Enter the number of terms:10
Series are:1    2       3       5       8       13      21      34      55

Monday, January 11, 2016

To find the factorial of a given number.

Object: - Write a program and algorithm  to find the factorial of a given number.

Algorithm:-
Step (1):- Start
Step (2):- Declare the variable n, fact, i ;
Step (3):- initialize variable
fact ← 1
Step (4):- Read the value of n
For i ← 1 to n and i is incremented by 1
Step (5):- fact=fact * i
Step (6):- Display fact
Step (7):- Stop


Program:-

#include<stdio.h>
#include<conio.h>
void main()
{
int n, fact=1, i;
clrscr();
printf("Enter the Number");
scanf("%d",&n);
for(i=1; i<=n; i++)
{
fact=fact*i;
}
printf("%d",fact);
getch();
}

--------------------------------------------------------------------------------
Output:-

Enter the Number
5
120
--------------------------------------------------------------------------------

To check given number is Palindrome or not.

 Object: - Write a  program and algorithm to check given number is Palindrome or not. 
 

Algorithm-
 Step (1):- Start
Step (2):- Declare the variable n, r, p, temp. 
Step (3):- initialize p = 0  
Step (4):- “Enter the number”
Step (5):- temp ← n

Step (6):- while (n > 0)
(6.1) r=n%10
(6.2) p=p*10+r
(6.3) n=(n/10)
(6.4) end while loop

Step (7):- if (temp = = p)
(7.1) Given no is palindrome

Step (8):- else
(8.1) Given no is not palindrome

Step (9):- Stop.

Program:-

# include<stdio.h>
#include<conio.h>
void main()
{
clrscr();
int n, r, p=0, temp;
printf("Enter the number:");
scanf("%d",&n);
temp=n;
while (n>0)
{
r=n%10;
p=p*10+r;
n=n/10 ;
}
if(temp==p)
{
printf("Given no is palindrome");
}
else
{
printf("Given no is not palindrome");
}
getch();
}

Output:-
------------------------------------------------------------------------

Enter the number:151
Given no is palindrome

To check given number is Armstrong or not.

Write a program and algorithm to check given number is Armstrong or not.
Step (1):- Start
Step (2):- Declare the variable n, r, arm = 0, temp
Step (3):- Enter the value of n
Step (4):- temp ← n

Step (5):- while (n > 0)
(5.1) r=n%10
(5.2) arm = arm + r * r* r
(5.3) n = (n/10)
(5.4) end while loop

Step (6):- if (temp = = arm)
(6.1)Given no is armstrong

Step (7):- else
(7.1)Given no is not armstrong

Step (8):- Stop.

Program:-

# include<stdio.h>
#include<conio.h>
void main()
{
clrscr();
int n, r, arm=0, temp;
printf("Enter the value of n");
scanf("%d",&n);
temp=n;
while (n>0)
{
r=n%10;
arm=arm+r*r*r;
n=n/10;
}
if(temp==arm)
{
printf("Given no is armstrong");
}
else
{
printf("not armstrong");
}
getch();
}
-------------------------------------------------------------------------

Output:-

Enter the value of n
153
Given no is armstrong