12 Cso 11 2023 2024
12 Cso 11 2023 2024
TERM - I
TERM - I
Computer systems are currently built around at least one digital processing device.
Memory Units: bit, byte, KB, MB, GB, TB, and PB.
Types of software:
Application software
System software
Utility software
However, the overall execution time is However, the overall execution time is
comparatively slower than compilers. comparatively faster than interpreters.
Concept of Compiler and Interpreter 16
Interpreter Compiler
Operating System is a software which manages and control the entire set of
resources and effectively utilize every part of a computer.
Boolean logic: NOT, AND, OR, NAND, NOR, XOR truth tables and De Morgan’s laws,
Boolean Constant: False (0) or True (1) values are known as Boolean Constants/
Logical Constants/ Truth Values.
AND OR NOT
. + '
∧ ∨ ~
Examples X . Y X + Y X'
X ∧ Y X ∨ Y ~X
X X’ X Y X+Y X Y X.Y
0 1 0 0 0 0 0 0
1 0 0 1 1 0 1 0
1 0 1 1 0 0
1 1 1 1 1 1
Boolean Algebra - De Morgan’s Law 25
● Demorgan’s Law :
Generalised Form:
(X1 + X2 + X3 + …+ Xn)’= X1’.X2’.X3’ ….Xn’
(X1 . X2 . X3 . …. Xn)’= X1’ + X2’ + X3’+ …+Xn’
Boolean Algebra - Logic Gates 26
Logic Gate: An electronic gadget which can perform some logical operations like
C
B
Boolean Algebra - Logic Circuits
A’.(B+C’)
27
(A+B’).(A’+B)
A
B
Number Systems 29
Computers use electronic components, which do not use decimal number systems
for the operations inside the computer system. It uses a number system, which is
known as binary number system, in which digits vary from 0 to 1 only. It means a
binary number contains no digit other than 0 and 1.
To convert this number, we start dividing the decimal number by 2 and repeat the
process with the quotient of the division, till we get 1 as quotient and then
10 2
2 3 1
1
Decimal and Binary Number Systems 32
2 10
Octal Number System 33
1-011-101-110-110-110
Octal Number System 34
(1010110)2 = ( )8
Make groups of 3 bits starting from the right side to left side
= (126)8
Interpret each group as single octal digit & you get the octal
number equivalent
2 8
Octal to Binary 36
8 2
Hexadecimal Number System 37
-> B B B 6
Hexadecimal Number System 38
Look at the following table, which shows Binary and its equivalent Hexadecimal
digits.
(1011010110)2 = ( )16
= (2D6)16
Interpret each group as single Hexadecimal digit
2 16
Hexadecimal to Binary 40
(2B7)16 = ( 2 B 7 )16
Write all digits separately
16 2
Decimal number from Octal or Hexadecimal 41
To obtain a Decimal number from Octal or Hexadecimal number system, you have
to use the same method as used while converting Binary to Decimal.
so,(126)8 =
= 86
(86)10 8 10
Decimal number from Octal or Hexadecimal 42
For decimal to octal conversion we start dividing the decimal number by 8 and
10 8
Decimal to Hexadecimal 44
Similarly, for Decimal to Hexadecimal conversion we start dividing the decimal
number by 16 and repeat the process with the quotient of the division, till you
(123)10= (7B)16 7
10 16
Convert the following: 45
1. (100100111)2 = (____________)10
Released in 1960 with 128 characters - later in 1981 - 128 more extended
ISCII (8 bit coding) was introduced in the year 1991 by the Bureau of Indian
Standards(BIS), which used first 128 characters of ASCII only.
The ISCII code table is a super-set of all the characters required in the ten
Brahmi-based Indian scripts.