using hexadecimal notation write the ebcidic coding for the following. output, program , octal, byte
Question
using hexadecimal notation write the ebcidic coding for the following. output, program , octal, byte
Solution
EBCDIC (Extended Binary Coded Decimal Interchange Code) is a character encoding set used by IBM mainframes. Here are the hexadecimal EBCDIC codes for the words you asked for:
-
"output":
- 'o' = '96'
- 'u' = 'A4'
- 't' = 'A3'
- 'p' = '97'
- 'u' = 'A4'
- 't' = 'A3'
So, "output" in EBCDIC hexadecimal notation is '96A4A397A4A3'.
-
"program":
- 'p' = '97'
- 'r' = '99'
- 'o' = '96'
- 'g' = '87'
- 'r' = '99'
- 'a' = '81'
- 'm' = '94'
So, "program" in EBCDIC hexadecimal notation is '97999687998194'.
-
"octal":
- 'o' = '96'
- 'c' = '83'
- 't' = 'A3'
- 'a' = '81'
- 'l' = '93'
So, "octal" in EBCDIC hexadecimal notation is '9683A38193'.
-
"byte":
- 'b' = '82'
- 'y' = 'A8'
- 't' = 'A3'
- 'e' = '85'
So, "byte" in EBCDIC hexadecimal notation is '82A8A385'.
Similar Questions
Write a C program to convert Binary to Hexadecimal number system
elect the correct answerWhich of the following is the correct way to represent a hexadecimal constant in C?Options0x1A0b1101#1A0o25
Which format specifier is used for printing an unsigned integer in hexadecimal with at least 4 characters?
Convert the hexadecimal number F3A7C2 to binary, octal and decimal.
Write a program that reads from the user 1 character representing a "1-digit" value in Hexadecimal Format. The program should print the corresponding BINARY representation of the input.For example:- '4' --> "0100".- '7' --> "0111".- 'A' --> "1010".The input values can be 0,1,2,3,...,A,B,C,D,E,F.
Upgrade your grade with Knowee
Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.