Data Coding Systems
Basic components of the computers
Computer systems consist following units:
Central Processing unit
A.L.U(Arithmetic Logic Unit)
Unit1: Set Function and Relation
A set is a collection of distinct, symbols unordered objects. Sets are typically collections of
numbers, though a set may contain any type of data (including other sets).The objects in a set are
Data Coding System (Number System)
DECIMAL TO BINARY
1. Convert decimal integer number into binary
Start dividing the number by 2 and continue the process till the
quotient is 0.
Keep reminder aside.
2. Convert decimal frac
Error Correction and Detection Code
When binary data is transmitted and processed. It can be corrupted in passage because
of noise or other.
The 1s may get change in 0s and 0s may get change 1s.
o Types of errors
Single bit error: - In this only bit is
There are two types of code
1. Weighted Code
2. Non-Weighted Code
1. Weighted Code
If each position of number represent a specific weight then coding schema
called weighted code.
Two types of weighted code
i. 8-4-2-1 Code (BCD Binary Coded
Basic Program List
1. WAP to print HELLO WORLD
2. WAP to print your name
3. WAP to print
4. WAP to print
5. WAP to print
I AM RACHANA
6. WAP to print
7. WAP to print
* * *
Complements are used in digital computers for simplifying the subtraction
operation and for logical manipulation.
There are two types of complements for base r system
1) rs complement
2) (r-1)s complement
Binary number : 2s or 1s complement
Programs based on operator
WAP to perform arithmetic operation use initialization concept.
WAP to calculate area of circle (Define PI as constant).
WAP to convert a given number of days into months and day.
Unit 6: Basic Statistics
Measures of Central Tendency:
Mean: The mean (also referred as arithmetic mean) is most common measure of central tendency. The
mean is the only common measure in which all the values play an equal role. The mean serves