0% found this document useful (0 votes)
43 views21 pages

1 25CGRD PPA BJJ R008 K. Teja Sai Krishna BE DEE Chapter 1,3 Assignment 1

The document provides a comprehensive overview of number systems and codes, including conversions between decimal, binary, octal, and hexadecimal. It covers various operations such as addition, subtraction, multiplication, and division in binary and hexadecimal, as well as the significance of ASCII codes in text representation. Each section includes specific examples and calculations to illustrate the concepts.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
43 views21 pages

1 25CGRD PPA BJJ R008 K. Teja Sai Krishna BE DEE Chapter 1,3 Assignment 1

The document provides a comprehensive overview of number systems and codes, including conversions between decimal, binary, octal, and hexadecimal. It covers various operations such as addition, subtraction, multiplication, and division in binary and hexadecimal, as well as the significance of ASCII codes in text representation. Each section includes specific examples and calculations to illustrate the concepts.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd

Name : K.

Teja sai krishna


Digital Electronics MCID : 2 5 C G R D - P PA - B J J - R 0 0 8
College : GIST ,NELLORE-AP
Chapter-1 : Number systems & codes ,
Boolean theorems and logic operations

Q) Convert Decimal to Binary ?

1) (25)₁₀ → Binary
2) 25 ÷ 2 = 12, remainder 1 1) (100.5)₁₀ → Binary
2) 100 in binary: 1100100₂
3) 12 ÷ 2 = 6, remainder 0
3) 0.5 in binary: 0.5*2=1
4) 6 ÷ 2 = 3, remainder 0 4) Answer: (100.5)₁₀ = 1100100.1₂
5) 3 ÷ 2 = 1, remainder 1
6) 1 ÷ 2 = 0, remainder 1
7) Answer: (25)₁₀ = 11001₂

MCoret
a Slide 1
Name : K. Teja sai krishna
Digital Electronics MCID : 2 5 C G R D - P PA - B J J - R 0 0 8
College : GIST ,NELLORE-AP
Chapter-1 : Number systems & codes ,
Boolean theorems and logic operations

Q) Convert Decimal to octal ?


1) (37)₁₀ → Octal
2) 37 ÷ 8 = 4, remainder 5 1) (13.5)₁₀ → Octal
3) 4 ÷ 8 = 0, remainder 4 2) 13 in octal: 15₈
3) 0.5 in octal: .4 (since 0.5 × 8 = 4)
4) Answer: (37)₁₀ = 45₈ 4) Answer: (13.5)₁₀ = 15.4₈

MCoret
a Slide 2
Name : K. Teja sai krishna
Digital Electronics MCID : 2 5 C G R D - P PA - B J J - R 0 0 8
College : GIST ,NELLORE-AP
Chapter-1 : Number systems & codes ,
Boolean theorems and logic operations

Q) Convert Decimal to Hexadecimal?

1) ((20)₁₀ → Hexadecimal
2) 20 ÷ 16 = 1, remainder 4 1) (22.5)₁₀ → Hexadecimal
2) 22 in hex: 16₁₆
3) 1 ÷ 16 = 0, remainder 1
3) 0.5 × 16 = 8
4) Answer: (20)₁₀ = 14₁₆ 4) Answer: (22.5)₁₀ = 16.8₁₆

MCoret
a Slide 3
Name : K. Teja sai krishna
Digital Electronics MCID : 2 5 C G R D - P PA - B J J - R 0 0 8
College : GIST ,NELLORE-AP
Chapter-1 : Number systems & codes ,
Boolean theorems and logic operations

Q) Convert Binary to Decimal?

1) (11010)₂ → Decimal
2) (1 × 2⁴) + (1 × 2³) + (0 × 2²) + (1 × 2¹) + (0 × 2⁰)
3) 16 + 8 + 0 + 2 + 0 = 26
4) Answer: (11010)₂ = 26₁₀

1) (11101.1)₂ → Decimal
2) (1 × 2⁴) + (1 × 2³) + (1 × 2²) + (0 × 2¹) + (1 × 2 ⁰) + (1 × 2 ⁻¹)
3) 16 + 8 + 4 + 0 + 1 + 0.5 = 29.5
4) Answer: (11101.1)₂ = 29.5₁₀

MCoret
a Slide 4
Name : K. Teja sai krishna
Digital Electronics MCID : 2 5 C G R D - P PA - B J J - R 0 0 8
College : GIST ,NELLORE-AP
Chapter-1 : Number systems & codes ,
Boolean theorems and logic operations

Q) Convert Binary to Octal?

1) (10101)₂ → Octal
2) Group as 010 101
3) 010 = 2, 101 = 5
4) Answer: (10101)₂ = 25₈

1) ((11101.1)₂ → Octa
2) lGroup as 011 101 . 100
3) 011 = 3, 101 = 5, .1 = 4
4) Answer: (11101.1)₂ = 35.4₈

MCoret
a Slide 5
Name : K. Teja sai krishna
Digital Electronics MCID : 2 5 C G R D - P PA - B J J - R 0 0 8
College : GIST ,NELLORE-AP
Chapter-1 : Number systems & codes ,
Boolean theorems and logic operations

Q) Convert Binary to Hexadecimal?

1) (1110011)₂ → Hex
2) Group as 0111 0011
3) 0111 = 7, 0011 = 3
4) Answer: (1110011)₂ = 73₁₆

1) (100101.1)₂ → Hex
2) Group as 0010 0101 . 1000
3) 0010 = 2, 0101 = 5, .1 = 8
4) Answer: (100101.1)₂ = 25.8₁₆

MCoret
a Slide 6
Name K. Teja sai krishna
Digital Electronics MCID : 2 5 C G R D - P PA - B J J - R 0 0 8
College : GIST ,NELLORE-AP
Chapter-1 : Number systems & codes ,
Boolean theorems and logic operations

Q) Convert Octal to Decimal?

1) (67)₈ → Decimal
2) (6 × 8¹) + (7 × 8⁰)
3) 48 + 7 = 55
4) Answer: (67)₈ = 55₁₀

1) (22.4)₈ → Decimal
2) (2 × 8¹) + (2 × 8⁰) + (4 × 8⁻¹)
3) 16 + 2 + 0.5 = 18.5
4) Answer: (22.4)₈ = 18.5₁₀

MCoret
a Slide 7
Name : K. Teja sai krishna
Digital Electronics MCID : 2 5 C G R D - P PA - B J J - R 0 0 8
College : GIST ,NELLORE-AP
Chapter-1 : Number systems & codes ,
Boolean theorems and logic operations

Q) Convert Octal to Binary?

1) (44)₈ → Binary
2) 4 = 100, 4 = 100
3) Answer: (44)₈ = 100100₂

1) (7.5)₈ → Binary
2) 7 = 111, .5 = .101
3) Answer: (7.5)₈ = 111.101₂

MCoret
a Slide 8
Name : K. Teja sai krishna
Digital Electronics MCID : 2 5 C G R D - P PA - B J J - R 0 0 8
College : GIST ,NELLORE-AP
Chapter-1 : Number systems & codes ,
Boolean theorems and logic operations

Q) Convert Octal to Hexadecimal?

1) (235)₈ → Hex
2) Convert to binary: 010 011 101
3) Convert to hex: 9D
4) Answer: (235)₈ = 9D₁₆

1) (144.5)₈ → Hex
2) Convert to binary: 001 100 100 . 1000
3) Convert to hex: 64.8
4) Answer: (144.5)₈ = 64.A₁₆

MCoret
a Slide 9
Name : K. Teja sai krishna
Digital Electronics MCID : 2 5 C G R D - P PA - B J J - R 0 0 8
College : GIST ,NELLORE-AP
Chapter-1 : Number systems & codes ,
Boolean theorems and logic operations

Q) Convert Octal to Hexadecimal?

1) (534)₁₆ → Decimal
2) (5 × 16²) + (3 × 16¹) + (4 × 16⁰)
3) 1280 + 48 + 4 = 1332
4) Answer: (534)₁₆ = 1332₁₀

1) (95.8)₁₆ → Decimal
2) (9 × 16) + (5 × 1) . (8 × 16-2)
3) 144 + 5. 5 = 149.05
4) Answer: (95.8)₁₆ = 149.05

MCoret
a Slide 10
Name : K. Teja sai krishna
Digital Electronics MCID : 2 5 C G R D - P PA - B J J - R 0 0 8
College : GIST ,NELLORE-AP
Chapter-1 : Number systems & codes ,
Boolean theorems and logic operations

Q) Convert Hexadecimal to Binary number?

1) (158)₁₆=()2
2) 1=0001,5=0101,8=1000
3) Answer: (158)₁₆ = (000101011000)2

1) (64.8)₁₆ →Binary number


2) 6=0110,4=0100,8=1000
3) Answer: (011001001000)2

MCoret
a Slide 11
Name : K. Teja sai krishna
Digital Electronics MCID : 2 5 C G R D - P PA - B J J - R 0 0 8
College : GIST ,NELLORE-AP
Chapter-1 : Number systems & codes ,
Boolean theorems and logic operations

Q) Convert Hexadecimal to octalnumber?

1) (231)₁₆=()8
2) 2=0010,3=0011,1=0001
3) (231)₁₆ = (001000110001)8
4) Answer=(1061)8

1) (43.2)₁₆ →octal number


2) 4=0100,3=0011,2=0010
3) Answer: (103.10)8

MCoret
a Slide 12
Name : K. Teja sai krishna
Digital Electronics MCID : 2 5 C G R D - P PA - B J J - R 0 0 8
College : GIST ,NELLORE-AP
Chapter-1 : Number systems & codes ,
Boolean theorems and logic operations

Q) Find the 1s complement and 2s complement?

1) 10001001
2) In one complement 0 becomes 1 and 1 becomes zero
3) After 1s complement by adding one to ones complement we will
get 2s complement

1) 00010100
2) In one complement 0 becomes 1 and 1 becomes zero
3) After 1s complement by adding one to ones complement we will get 2s
complement

MCoret
a Slide 13
Name : K. Teja sai krishna
Digital Electronics MCID : 2 5 C G R D - P PA - B J J - R 0 0 8
College : GIST ,NELLORE-AP
Chapter-1 : Number systems & codes ,
Boolean theorems and logic operations

Q) Solve binary addation,subraction,multiplication,division?

MCoret
a Slide 14
Name : K. Teja sai krishna
Digital Electronics MCID : 2 5 C G R D - P PA - B J J - R 0 0 8
College : GIST ,NELLORE-AP
Chapter-1 : Number systems & codes ,
Boolean theorems and logic operations

Q) Solve hexadecimal addation ,subraction,multiplication,division ?

MCoret
a Slide 15
Name : K. Teja sai krishna
Digital Electronics MCID : 2 5 C G R D - P PA - B J J - R 0 0 8
College : GIST ,NELLORE-AP
Chapter-1 : Number systems & codes ,
Boolean theorems and logic operations

Q) What is ASCII Codes & its significations?


 ASCII (American Standard Code for Information Interchange) is a
character encoding standard used for representing text and
control characters in computers and electronic devices. It
assigns a numeric value (a code) to each character, making it
possible for computers to process, store, and transmit text data.

 essentially, it acts as a universal language for computers to understand and


interpret characters, making it crucial for basic text processing and data
exchange across various devices.
 Function:
 Each character (like 'A', '!', '0') is given a specific numerical code, enabling computers to
store and process text data as binary values.
 SIGNIFICATIONS
 Universal Text Representation: ASCII provides a standardized way for computers and
devices to communicate text data. It ensures that text appears the same across different
systems, as long as they use ASCII-compatible encoding.
 Compatibility: It is foundational in modern encoding schemes, like UTF-8, which is
compatible with ASCII for the first 128 characters. Many programming languages,

MCoret
operating systems, and file formats rely on ASCII for data storage and transmission.
 Simplicity and Efficiency: Its limited character set and straightforward design made it
efficient and easy to implement in early computers and networks, where resources were

a Slide 16
Name : K. Teja sai krishna
Digital Electronics MCID : 2 5 C G R D - P PA - B J J - R 0 0 8
College : GIST ,NELLORE-AP
Chapter-1 : Number systems & codes ,
Boolean theorems and logic operations

Q) 19) Convert ASCII codes to Decimal, Hexadecimal, and Octal numbers:a) ASCII Code ('a') → Find Decimal,
Hexadecimal, and Octal valuesb) ASCII Code ('A') → Find Decimal, Hexadecimal, and Octal valuesc) Decimal (67) →
Find ASCII Code, Hexadecimal, and Octal valuesd) Hexadecimal (40) → Find ASCII Code, Decimal, and Octal values?

 a) ASCII Code ('a')ASCII Code for 'a' is 97 (decimal value).


 Decimal: 97
 Hexadecimal: 0x61
 Octal: 141
 b) ASCII Code ('A')ASCII Code for 'A' is 65 (decimal value).
 Decimal: 65
 Hexadecimal: 0x41
 Octal: 101
 c) Decimal (67)Decimal 67 corresponds to the ASCII
 character 'C‘
 .ASCII Code: 67
 Hexadecimal: 0x43
 Octal: 103

MCoret
d) Hexadecimal (40)
 Hexadecimal 0x40 corresponds to the ASCII character '@‘
 .ASCII Code: 64

a
Decimal: 64Octal: 100
Slide 17
Name : K. Teja sai krishna
Digital Electronics MCID : 2 5 C G R D - P PA - B J J - R 0 0 8
College : GIST ,NELLORE-AP
Chapter-3 : Combination logic circuits using
MSI and LSI introduction to PLDS

Q) What is seven segment segment decoder?

 A "seven-segment decoder" is a specialized electronic circuit that converts a


binary coded decimal (BCD) input into signals that can directly drive a seven-
segment display, essentially translating a digital number into a format that
can be visually displayed on the display by selectively turning on specific
segments to form the desired digit or character; it takes a 4-bit binary input
and outputs 7 signals, each controlling one of the segments on the display to
illuminate the correct pattern for the number represented by the input.

 The 4 bit binary input is A,B,C,D and the output 7 signals are
a,b,c,d,e,f.
 If we want to display the number 0 then all the inputs A,B,C,D is
0 and the outputs a,b,c,d,e,f are 1 and g is 0
 If we want to display the number 1 the inputs A,B,C are 0 and D
is 1 and the outputs b,c are 1 and remaining outputs is in off
condition.

MCoret
 If we want to display the number 2 the inputs C is 1 and
remaning inputs will be 0 and the outputs c,f is 0 and remaning
outputs is 1

a Slide 18
Name : K. Teja sai krishna
Digital Electronics MCID : 2 5 C G R D - P PA - B J J - R 0 0 8
College : GIST ,NELLORE-AP
Chapter-1 : Number systems & codes ,
Boolean theorems and logic operations

Q) What is seven segment decoder?

 If we want to display the number 3 the inputs A,B is 0 and remaning inputs
will be 1 and the outputs e,f is 0 and remaning outputs is 1
 If we want to display the number 4 the inputs B is 1 and remaning inputs will
be 0 and the outputs a,d,e is 0 and remaning outputs is 1
 If we want to display the number 5 the inputs B,Dis 1 and remaning inputs
will be 0 and the outputs b,e is 0 and remaning outputs is 1
 If we want to display the number 6 the inputs B,Cis 1 and remaning inputs
will be 0 and the outputs b is 0 and remaning outputs is 1
 If we want to display the number 7 the inputs B,C,Dis 1 and remaning input
will be 0 and the outputs d,e,f,g is 0 and remaning outputs is 1
 If we want to display the number 8 the inputs A is 1 and remaning inputs will
be 0 and the all the outputs will be 1
 If we want to display the number 9 the inputs A,Dis 1 and remaning input will
be 0 and the outputs e is 0 and remaning outputs is 1
 Depending on the display type, all anodes (common anode) or all cathodes

MCoret
(common cathode) of the segments are connected together, requiring
different logic levels to turn segments on.

a Slide 19
Name : K. Teja sai krishna
Digital Electronics MCID : 2 5 C G R D - P PA - B J J - R 0 0 8
College : GIST ,NELLORE-AP
Chapter-1 : Number systems & codes ,
Boolean theorems and logic operations

Q) What is seven segment decoder?

 DIGITAL CLOCKS
 CALCULATORS
 DIGITAL METERS
 RAILWAY SIGNALS
 DIGITAL WATCHES ETC…

MCoret
a

Slide 20
Name : K. Teja sai krishna
Digital Electronics MCID : 2 5 C G R D - P PA - B J J - R 0 0 8
College : GIST ,NELLORE-AP
TYPING TEST

TYPING TEST

MCoret
a Slide 21

You might also like