Integers in Computer-Final Gargar

You might also like

Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 10

GROUP 4

INTEGERS IN
COMPUTER
• An integer, also called a “round number” or “whole
number,” is any positive or negative number that does
not include decimal parts or fractions. For example, 3,
-10, and 1,025 are all integers, but 2.76 (decimal), 1.5
(decimal), and 3 ½ (fraction) are not.
• In Mathematics, integers are the collection of whole numbers
and negative numbers. Similar to whole numbers, integers also
does not include the fractional part. Thus, we can say, integers
are numbers that can be positive, negative or zero, but cannot
be a fraction. We can perform all the arithmetic operations, like
addition, subtraction, multiplication and division, on integers.
The examples of integers are, 1, 2, 5,8, -9, -12, etc. The symbol of
integers is “Z“. Now, let us discuss the definition of integers,
symbol, types, operations on integers, how to represent integers
on number line with many solved examples in detail.
The word integer originated from the Latin word
“Integer” which means whole or intact. Integers is a
special set of numbers comprising zero, positive
numbers and negative numbers.
Examples of Integers: – 1, -12, 6, 15.
Symbol
The integers are represented by the symbol ‘Z’.
Z= {……-8,-7,-6, -5, -4, -3, -2, -1, 0, 1, 2, 3, 4, 5, 6,
Types of Integers
Integers come in three types:
1.Zero (0)
2.Positive Integers (Natural numbers)
3.Negative Integers (Additive inverse of Natural Numbers)

Zero
Zero is neither a positive nor a negative integer. It is a neutral
number i.e. zero has no sign (+ or -).
Positive Integers
The positive integers are the natural numbers or also called
counting numbers. These integers are also sometimes denoted
by Z+. The positive integers lie on the right side of 0 on a
number line.

Negative Integers
The negative integers are the negative of natural numbers.
They are denoted by Z–. The negative integers lie on the left
side of 0 on a number line.
Arithmetic operations on integers
the basic maths operations performed on integers are:

•addition of integers
•subtraction of integers
•multiplication of integers
•division of integers
Addition of integers
While adding the two integers with the same sign, add the
absolute values, and write down the sum with the sign
provided with the numbers.

Subtraction of Integers
While subtracting two integers, change the sign of the
second number which is being subtracted, and follow the
rules of addition.
Multiplication of Integers
While multiplying two integer numbers, the rule is simple.If both
the integers have the same sign, then the result is positive.If the
integers have different signs, then the result is negative.

Division of Integers
The rule for dividing integers is similar to multiplication.
If both the integers have the same sign, then the result is positive.
If the integers have different signs, then the result is negative.
Similarly.
THE END◉‿◉

You might also like