Computer Science Chapter 1 2 Short Note Live Notes
Computer Science Chapter 1 2 Short Note Live Notes
-
-
Pascaline Jacquards loom
Babylonian/ges (60)
The loom is controlled by punch
● It is capable of adding and
-
-
.
number system subtracting two numbers
row of which corresponds to one
-
ionian
-
-
(20]
-
- Leibniz’s calculator Reduce amount of human labour
Abacus a
calculating Step reckoner expanded on
Allowed to store patterns on cards
• Considered the first pascals ideas and extended
the capabilities to perform to be utilised again to create the
computer for basic
multiplication and division same product
arithmetical calculations
These cards had the capability to
• Also called counting frame
Difference engine store information on them
Napiers bone First step towards creation of Analytical engine
computers Real predecessor of modern day
These numbered rods could computer
perform multiplication of any Perform arithmetic
number in the range of 2 to 9 calculations and print results Marks development from
automatically arithmetic calculation to general
purpose computations
Fill
Hollerith’s machine
First electromechanical
punched card tabulator
MARK-1
• Large automatic
electromechanical computer
• Can handle logarithms and
trigonometric functions
• Two numbers could be added in
3-6 seconds
FIRST GENERATION COMPUTERS SECOND GENERATION THIRD GENERATION
COMPUTERS COMPUTERS
D ⑪
represent data in a computer
&
oct
Bin
I
&
hexa
Ligtece
-
numbersystem – base/radix
225 (0.101)2 = 12-1+02-2+12-3 out
>
= 0.5 + 0 + 0.125 = 0.625 Bin
·
421
J
(0.101)2 = (0.625)10
.
42
(
--u
⑳o
MSD: The leftmost digit of a number is
called Most Significant Digit (MSD)
20]
- O --
0421842184218421
O e
LSD: The right most digit of a number
is called Least Significant Digit(LSD) -00
· ⑧
(11001
y
is
⑰ 100 + ox ox2+
E
+
1424 + 1X2 1x20
= 16 + 8 + 1
Binary addition
- -
O S Subtraction using 1’s compliment • Representation of numbers
O
-
1.Integers~
-
-
-
biron
1’s compliment
-
--
T
- -
2’s compliment
-
- -
-
- -
=
-
&
-
g
25 .
45- ·
2545x102
SubtractO
100 from 1010
-
&
SubtractE
100 from 1010 andr
% 1100
mantissa and exponent
-
-
&
i O 110
. -
" -
-
⑪
❖ Represent e -105 in sign and Representation of characters Representation of images,audio,video
magnitude form : audio -
-
27(128)characters -
-
*
- MIDI:MUSICAL INSTRUMENT DIGITAL
-
INTERFACE
-
form :
=>
- AIFF:AUDIO INTERCHANGE FILE
information interchange
-
- -
FORMAT
-
Images
O
-
BMP:BITMAP
❖ RepresentO -38 in 2’s compliment 3.EBCDIC-Extended binary coded - -
-
TIFF:TAGGED IMAGE FILE FORMAT
form -
decimal interchange code -
O
-
video
-
E
-
-
&
-
=(11011010)2 MP4:MOVING PICTURE EXPERTS
4.UNICODE –it can represent all
GROUP4
-
characters in world
-
-
• 216(65536)characters
-
-
-
I S
Eccomplet
is
magnited complet
&
sign &
- -
Binary
① Binary
① Binary
② 8-bit
& 8-bit
② 7-bit + ve som
>⑧
tre => Bozoaziggan 1
tre
- - ve = 0-
o -
1
-ve 190
-
ve -1 -
13 O Is complent +
• The fundamental logical AND operator NOT operator inverter
operators are:
Input Input Output
1.AND (LOGICAL A B AB Input A Output A
MULTIPLICATION) =-
0 0 O0
2.OR (LOGICAL
-
0 1 0 0
O 1
-
-
Do
ADDITION) ~ -
-
1 0 0
O 1 ②
0
3.NOT -
-
= -
(negation/complement) -
1 1 1
- Basic postulates of Boolean algebra
-
A B AB
E
-
=>
• LOGIC GATE is a
physical device that
0= 0
- O0 -
- -
0 1 1
E
-
- 1 0 O
1
Principle of duality
operations on one or - -
-
-
1 1- 1
more logical inputs and - -
- -
--
-
-
-
-
Implementation of basic gates using NAND or NOT
-
-
S
-
-
- -
- - -
-
=
&
- --- ---
-
2 > 4 7 -
=
-
-
- ---
=>
0
-
- -
-
De Morgan's Theorem
*
F
A
(X+Y)’=X’.Y’ P
(X.Y)’=X’+Y’
·
---
Universal gates :
NAND NOR-