logo

LMC Code for Sum of Odd Values

   

Added on  2022-12-18

13 Pages1654 Words6 Views
IFN503:
Assessment 2
[Type the document subtitle]
LMC Code for Sum of Odd Values_1
Contents
Question 1.................................................................................................................. 1
Question 2.................................................................................................................. 4
Question 3.................................................................................................................. 8
REFERENCES............................................................................................................ 12
Question 1
Osborne(1992)
Solution:
The character string = +15.3682.
The ASCII (American Standard Code for Information Interchange) is a set of 128
characters, which is defined and standards are set accordingly 7 bits are sufficient
to represent 128 characters. ASCII is most commonly used code and in computer
programming it is very important to know this.
The character string mentioned here is +15.3682
First character: +
Hex format = 2B
LMC Code for Sum of Odd Values_2
Binary format = 00101011
Decimal format = 43
Octal format = 53
Second character: 1
Hex format = 31
Binary format = 00110001
Decimal format = 49
Octal format = 61
Third character: 5
Hex format = 35
Binary format =00110101
Decimal format = 53
Octal format = 65
Fourth character: .
Hex format = 2E
Binary format =00101110
Decimal format = 46
Octal format = 56
Fifth character: 3
Hex format = 33
Binary format =00110011
Decimal format = 51
Octal format = 63
Fifth character: 6
Hex format = 36
Binary format =00110110
Decimal format = 54
LMC Code for Sum of Odd Values_3
Octal format = 66
Sixth character: 8
Hex format = 38
Binary format =00111000
Decimal format = 56
Octal format = 70
Seventh character: 2
Hex format = 32
Binary format =00110010
Decimal format = 50
Octal format = 62
So, the character in
a) Hexadecimal format is
2B 31 35 2E 33 36 38 32
b) Binary number system
00101011 00110001 00110101 0010111000110011 00110110 00111000
00110010
c) Octal number system
5361655663667062
d) Decimal number system
43495346515456 50
LMC Code for Sum of Odd Values_4

End of preview

Want to access all the pages? Upload your documents or become a member.

Related Documents
IFN503: Assessment 2 – Deliverable 1
|3
|607
|108

IT Fundamentals: Binary Conversion, Memory Interleaving and Addressable Units
|12
|2027
|422

Computing and Information Systems/Creative Computing
|6
|1230
|266

Floating point number representation
|6
|862
|27

Memory Organization
|7
|1245
|32

ITC544 Assignment on Data Representation and Digital Logic
|5
|524
|87