[go: up one dir, main page]

0% found this document useful (0 votes)
21 views2 pages

Computer Science Assignment Answers

The document contains answers to a Computer Science assignment, including multiple choice, short answer, and long answer questions. Key topics covered include various encoding schemes like ASCII, Unicode, and different number systems such as binary, octal, decimal, and hexadecimal. The answers provide conversions and definitions related to these concepts.

Uploaded by

bije9068
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
21 views2 pages

Computer Science Assignment Answers

The document contains answers to a Computer Science assignment, including multiple choice, short answer, and long answer questions. Key topics covered include various encoding schemes like ASCII, Unicode, and different number systems such as binary, octal, decimal, and hexadecimal. The answers provide conversions and definitions related to these concepts.

Uploaded by

bije9068
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Computer Science Assignment-2 Answers

Section A: Multiple Choice Questions

1. a) 1101

2. a) 1A7

3. d) 0 carry 1

4. d) none of these

5. a) binary

6. a) 2

7. b) 100

8. a) 0111

9. a) D3 (Hex)

10. a) 1010

Section B: Short Answer Questions

1. ASCII Code: A 7-bit code representing characters used in text.

2. Unicode: Supports all global characters with unique codes.

3. UTF Encoding: UTF-8 (1-4 bytes), UTF-16 (2/4 bytes), UTF-32 (4 bytes).

4. ISCII: Used for Indian scripts like Hindi, Tamil, etc.

5. Encoding schemes help store, transfer, and display text accurately.

Section C: Long Answer Questions

1. Octal: Base-8 (0-7), compact binary form.

Hexadecimal: Base-16 (0-9, A-F), readable binary.

2. Decimal: Base-10, regular counting system.

Binary: Base-2, used by computers.

3.a) 781 = 1100001101 (Binary)

b) 101101.001 (Binary) = 45.125 (Decimal)

c) 321.7 (Octal) = 11010001.111 (Binary)


4.a) 3BC (Hex) = 1110111100 (Binary)

b) 10011010.010101 (Binary) = 9A.55 (Hex)

c) 345 (Decimal) = 531 (Octal)

5.a) 736 (Decimal) = 2E0 (Hex)

b) 246.45 (Octal) = A6.94 (Hex)

c) ABF.C (Hex) = 5277.6 (Octal)

d) 576 (Octal) = 382 (Decimal)

e) A5C1 (Hex) = 42433 (Decimal)

You might also like