Attribution Non-Commercial (BY-NC)

102 views

Attribution Non-Commercial (BY-NC)

- EMV v4.3 Book 3 Application Specification 20120607062110791
- Website Proposal
- Dsd Syllabus 2017
- EC1307 Microprocessor and Application Lab
- Data 1 Communication
- InfoPLC Net CP1 E S Analogicas TarjetasOpcionales
- CICS_TS_V3
- Computer Organization & Articture No. 6 from APCOMS
- lec8
- Num Methods
- Sharp Calculator Manual
- Eng 101 Textbook
- An introduction to programming for hackers
- TI-NspireCAS Reference Guide En
- HMICnnection Delta
- Digital Design
- Allpaper3 Fd
- 626
- A
- Floating Point

You are on page 1of 29

System

(CSC 1033)

Outcome 1:

Evaluate data

representation

and manipulation

within a

computer.

Tutorial 1

Computer Systems (CSC 1033)

Outcome 1: Evaluate data representation and manipulation within a computer

i) In EBCDIC

ii) In ASCII

2) How would the binary code appear in the computer if the computer uses even parity

checking by using EBCDIC coding scheme.

3) Suppose that a computer uses an odd parity system in the EBCDIC coding scheme

and the ‘HAIQAL’ is sent to another computer as follows:

0001 1 0100 1100

2 |P a ge

Computer Systems (CSC 1033)

Outcome 1: Evaluate data representation and manipulation within a computer

Binary Conversion

10

111

10101

11110

1010100

1010

110011

101111

10001

1111

10000111

(a) 10, (b) 101, (c) 111, (d) 110,

(e) 1011, (f) 1111, (g) 1001, (h) 1010.

(a) 0.11, (b) 0.01, (c) 0.101, (d) 0.111,

(e) 1.011, (f) 1.111, (g) 1.001, (h) 10.101.

(a) 3.17510, (b) 3.37510, (c) 4.17510, (d) 4.37510.

5

9

19

22

31

32

46

67

3 |P a ge

Computer Systems (CSC 1033)

Outcome 1: Evaluate data representation and manipulation within a computer

(a) 10111 (b) 10101, (c) 11011, (d) 11110.

4 |P a ge

Computer Systems (CSC 1033)

Outcome 1: Evaluate data representation and manipulation within a computer

Hexadecimal Conversion

13. A4 14. CDD3 15. 4E8

Convert 3C from hexadecimal to decimal

Convert 1010 0111 1011 from binary to hexadecimal

Convert 7D0 from hexadecimal to binary

a) 160dec

b) 273dec

a) 5b2hex

b) ad23fhex

a) ab5hex

b) 3fd8hex

a) 011010010110100101bin

b) 1100111110010100110101bin

5 |P a ge

Computer Systems (CSC 1033)

Outcome 1: Evaluate data representation and manipulation within a computer

a) 0111 b) 0010

c) 1011 d) 0110

e) 1110 e) 100010

f) 011110 g) 1111101000

h) 0000111111 i) 11001100

j) 1000 k) 11111111

a) 64 b) 18

c) 69 d) 128

e) 25 f) 154

g) 32 h) 1001

a) 8A b) 6C

c) B7 d) FF

a) 01011110 b) 11011011

c) 00011111 d) 00110000

a) 1110011001101

b) 10001100011110

a) 1B4716

b) 87D3916

6 |P a ge

Computer Systems (CSC 1033)

Outcome 1: Evaluate data representation and manipulation within a computer

Binary Addition

Exercise 1:

+110 +111 +111

______ _____ _____

Exercise 2:

1. 101 + 11 =

2. 111 + 111 =

3. 1010 + 1010 =

4. 11101 + 1010 =

5. 11111 + 11111 =

Exercise 3:

+ 10 + 10 + 110

----- ----- -------

+1010 +1111 +101

--------- --------- -------

g. 1 1 1 1 0 h. 1 0 0 1 1 0 i. 1 0 1 1 1 0

+ 1110 + 1101 + 101

--------- ----------- -----------

Exercise 4:

(b) Convert the binary number 1.011 into decimal form.

(c) Convert the numbers 15 and 12 into binary form, add the two

binary numbers together and convert the answer to decimal form

to check that the sum is correct.

7 |P a ge

Computer Systems (CSC 1033)

Outcome 1: Evaluate data representation and manipulation within a computer

Exercise 5:

form. In each case, convert both numbers to binary form, add them

in binary form and check that the solution is correct by converting

the answer to decimal form.

(a) 3+3, (b) 7+3, (c) 4+2,

(d) 6+4, (e) 15+12, (f) 28+19

Exercise 6:

101, 110, 1011?

(a) 10110, (b) 11010, (c) 11001, (d) 11110.

Exercise 7:

(a) 11010, (b) 11100, (c) 11000, (d) 10100.

8 |P a ge

Computer Systems (CSC 1033)

Outcome 1: Evaluate data representation and manipulation within a computer

a. 6254 + 4176

b. 36517 + 64753

c. 45376 + 36274

d. 2573654 + 444777

a. 82C5 + 9D86

b. 83A7F4 + B5B63

c. 47B6 + 9C75

d. 8D07A5 + 734F6

9 |P a ge

Computer Systems (CSC 1033)

Outcome 1: Evaluate data representation and manipulation within a computer

Binary Subtraction

110 - 10 =

101 - 11 =

1001 - 11 =

1101 - 11 =

110001 - 100 =

Convert the numbers 9 and 6 into binary form. Use this to find

9 - 6 in binary form. Check that the answer is correct by

converting the binary answer into decimal form.

form. In each case, convert both numbers to binary form, subtract

them in binary form and check that the solution is correct by converting

the answer to decimal form. (Click on the green letters for

solutions.)

(a) 3 - 1, (b) 3 - 2, (c) 4 - 2,

(d) 6 - 4, (e) 9 - 6, (f) 9 - 7.

Quiz Choose the correct answer from below for the result of the binary

subtraction 1101 - 111.

(a) 110, (b) 101, (c) 111, (d) 11.

4. Which of the following is the binary subtraction 1101 - 1011?

(a) 11, (b) 110, (c) 101, (d) 10.

10 | P a g e

Computer Systems (CSC 1033)

Outcome 1: Evaluate data representation and manipulation within a computer

Exercise 6

Subtract the following binary digits

a. 1001 - 11 =

b. 1101 - 11 =

c. 11.0112 - 10.1012 =

11 | P a g e

Computer Systems (CSC 1033)

Outcome 1: Evaluate data representation and manipulation within a computer

SECTION A

1. Based on given table encode the name one of a car “ VIVA” in EBCDIC and ASCII

codes. Exclude the symbol “””. (4 marks)

2. ABC computer uses an even parity system in the ASCII coding scheme to send the

“KIA” to another computer. Exclude the symbol “””. Correct the error.

(2 marks)

a. 111012 + 10012 (4 marks)

12 | P a g e

Computer Systems (CSC 1033)

Outcome 1: Evaluate data representation and manipulation within a computer

a. 111012 -10112 (4 marks)

13 | P a g e

Computer Systems (CSC 1033)

Outcome 1: Evaluate data representation and manipulation within a computer

a. 202 (6 marks)

a. B6C716 (6 marks)

a. 10102 (6 marks)

a. 24248 (6 marks)

14 | P a g e

Computer Systems (CSC 1033)

Outcome 1: Evaluate data representation and manipulation within a computer

SECTION B

a. 1010.10102 (8 marks)

a. 3.202 (10 marks)

15 | P a g e

Computer Systems (CSC 1033)

Outcome 1: Evaluate data representation and manipulation within a computer

SECTION A

11. Based on given table encode the name one of Malaysian athlete “ MISBUN” in EBCDIC

and ASCII codes. (4 marks)

12. ABC computer uses an odd parity system in the ASCII coding scheme to send the

“MISBUN” to another computer. Correct the error. (4 marks)

13. The based 16 system is sometimes called the ____________ number. (2 marks)

16. In the binary system, we have only two digits, ________ and __________. Thus,

number in the binary system are represented to the base 2. (2 marks)

18. A notation known as hexadecimal has been adopted. In hexadecimal system, binary

digits are grouped into sets of ____________. (2 marks)

19. In the hexadecimal system, we have ____________ hexadecimal digits. Thus, number

in the hexadecimal system are represented to the base 16. (2 marks)

16 | P a g e

Computer Systems (CSC 1033)

Outcome 1: Evaluate data representation and manipulation within a computer

20. Fill in the blank the possible combination of four binary digits is given a symbol

(hexadecimal digits) as follows: (6 marks)

0000 0 1000 8

0001 1 _____ 9

____ 2 1010 A

0011 3 1011 ______

0100 4 1100 C

0101 ______ 1101 D

0110 6 ______ E

0111 ______ 1111 F

17 | P a g e

Computer Systems (CSC 1033)

Outcome 1: Evaluate data representation and manipulation within a computer

SECTION B

b. 10110.1001102 (5 marks)

c. 100001112 (3 marks)

a. 202 (by using new concept of calculation) (3 marks)

18 | P a g e

Computer Systems (CSC 1033)

Outcome 1: Evaluate data representation and manipulation within a computer

a. 3298 (3 marks)

a. A17716 (3 marks)

a. 11001112 (3 marks)

19 | P a g e

Computer Systems (CSC 1033)

Outcome 1: Evaluate data representation and manipulation within a computer

a. 87D392 (5 marks)

20 | P a g e

Computer Systems (CSC 1033)

Outcome 1: Evaluate data representation and manipulation within a computer

SECTION C

a. 10102 + 10102 =

b. 11101 2 + 10102 =

c. 11.0112 + 10.1012 =

d. 1001 - 11 =

e. 1101 - 11 =

f. 11.0112 - 10.1012 =

21 | P a g e

Computer Systems (CSC 1033)

Outcome 1: Evaluate data representation and manipulation within a computer

a. 453768 + 362748

b. 333.5768 + 47.47478

c. 62148 - 35278

a. 61578 – 43258 =

a. 82C516 + 9D8616 =

b. 4C.3E16 + 2.5D816 =

c. 74B6416 – 42AF116 =

22 | P a g e

Computer Systems (CSC 1033)

Outcome 1: Evaluate data representation and manipulation within a computer

a. 76B516 – 432C16

23 | P a g e

Computer Systems (CSC 1033)

Outcome 1: Evaluate data representation and manipulation within a computer

SECTION A

21. Based on given table encode the name one of Malaysian athlete “ZILAWATI” in EBCDIC

and ASCII codes. (4 marks)

22. HPC computer uses an EVEN parity system in the ASCII coding scheme to send the

“ZILAWATI” to another computer. Correct the error. (4 marks)

24 | P a g e

Computer Systems (CSC 1033)

Outcome 1: Evaluate data representation and manipulation within a computer

SECTION B

d. 10110.1001102 (3 marks)

e. 11.0112 (3 marks)

a. 198 (by using new concept of calculation) (2 marks)

25 | P a g e

Computer Systems (CSC 1033)

Outcome 1: Evaluate data representation and manipulation within a computer

a. 4028 (2 marks)

a. BD1616 (2 marks)

a. 11001112 (3 marks)

a. 87D392 (3 marks)

26 | P a g e

Computer Systems (CSC 1033)

Outcome 1: Evaluate data representation and manipulation within a computer

SECTION C

a. 111012 + 10012 =

b. 11.0112 + 10.1012 =

g. 1001 - 11 =

h. 11.0112 - 10.1012 =

9. Convert the following decimal numbers to binary and perform the arithmetic in 8-bits (4

marks)

a. 8810 - 7210

27 | P a g e

Computer Systems (CSC 1033)

Outcome 1: Evaluate data representation and manipulation within a computer

d. 365178 + 647538

e. 333.5768 + 47.47478

f. 62148 – 25728

g. 72678 – 54368

b. 61578 – 43258 =

28 | P a g e

Computer Systems (CSC 1033)

Outcome 1: Evaluate data representation and manipulation within a computer

e. 8D07A5 16 + 734F616 =

f. 4C.3E16 + 2.5D816 =

g. FA5116 - A7616 =

h. A7616 - B216=

b. 76B516 – 432C16

29 | P a g e

- EMV v4.3 Book 3 Application Specification 20120607062110791Uploaded byNadjib Mammeri
- Website ProposalUploaded byVanessa Simpson
- Dsd Syllabus 2017Uploaded byThammi Reddy
- EC1307 Microprocessor and Application LabUploaded byapi-27259648
- Data 1 CommunicationUploaded byRao Wajid Ali Khan
- InfoPLC Net CP1 E S Analogicas TarjetasOpcionalesUploaded byYuni Raflatahugs
- CICS_TS_V3Uploaded byapi-3736498
- Computer Organization & Articture No. 6 from APCOMSUploaded byNaveed
- lec8Uploaded bySyedMeesumHaider
- Num MethodsUploaded bynoreply_t235
- Sharp Calculator ManualUploaded bytonbrouwers
- Eng 101 TextbookUploaded byJohn Jones
- An introduction to programming for hackersUploaded bysaahil480
- TI-NspireCAS Reference Guide EnUploaded by0404usb
- HMICnnection DeltaUploaded byramdarkmaster
- Digital DesignUploaded byYhen-yhen Andao
- Allpaper3 FdUploaded by476
- 626Uploaded byVinod Babu Kandle
- AUploaded bydhanilpr
- Floating PointUploaded bypaganinionspeed
- CAP505_pod_oper_751982_ENa.pdfUploaded bywiyatno
- Lecture5_Data_Representn.pptxUploaded byNoel Cuthbert Mushi
- Basic C LanguageUploaded bykeshav
- 3 Data RepresentationUploaded byBhavneet
- FALLSEM2018-19 CSE2001 TH SJT502 VL2018191005001 Reference Material I 2.4 Boothalg1Uploaded byAbhradeep Nag 16BEE0087
- Numbering SystemUploaded bySolomon Teklu
- 844839_71206Uploaded byLokesh Bhoi
- CO&OS Lecture notes.pdfUploaded bySushma Moily
- aoa1.docxUploaded byPriya Rathi
- DEUploaded byVineetaSingh

- Post Mortem ReportUploaded byNoor Zilawati Sabtu
- Assessment Tracking SheetUploaded byNoor Zilawati Sabtu
- PPT on SDLC ModelsUploaded byVenkatesh.R
- Jadual ProofreadingUploaded byNoor Zilawati Sabtu
- Part 1 - Transferable Skills [Compatibility Mode]Uploaded byNoor Zilawati Sabtu
- Part 2 - Level of Management [Compatibility Mode]Uploaded byNoor Zilawati Sabtu
- JADUAL PEMBENTANGANUploaded byNoor Zilawati Sabtu
- Assessment Tracking SheetUploaded byNoor Zilawati Sabtu
- Data RepresentationUploaded byNoor Zilawati Sabtu
- Tutorial 2 Part 1Uploaded byNoor Zilawati Sabtu
- Fact Findings ReportUploaded byNoor Zilawati Sabtu
- Proposal of Training ProjectUploaded byNoor Zilawati Sabtu
- Modul Outcome 1 Part 2Uploaded byNoor Zilawati Sabtu
- Sow & Ass Scheme LatestUploaded byNoor Zilawati Sabtu
- MeetingUploaded byNoor Zilawati Sabtu
- Interview SessionUploaded byNoor Zilawati Sabtu
- exe-praquizUploaded byNoor Zilawati Sabtu
- The Personality TypeUploaded byNoor Zilawati Sabtu
- ActivityUploaded byNoor Zilawati Sabtu
- IndexUploaded byNoor Zilawati Sabtu
- DiaryUploaded byNoor Zilawati Sabtu
- wshop skill based 1Uploaded byNoor Zilawati Sabtu
- Assignment 2 Format Baru 17042011Uploaded byNoor Zilawati Sabtu
- Assignment 1 Format Baru 17042011Uploaded byNoor Zilawati Sabtu

- Dependency Model With Valence 1Uploaded byalberto_iit
- ttd_bagusUploaded byDavidSJ
- How to Connect Apache to JBossUploaded byankit boxer
- 001 Tool Box Talk 22.11Uploaded byBhadresh Patel
- Unsignalised Junction CapacityUploaded byAfifah Fauzi
- 82032710 CRBT PresentationUploaded byEithu Thutun
- The Forging of Modern Broadway Sound Design Techniques Amid the FUploaded byDavid
- TRIANON.pdfUploaded byCimpean Radu
- 2 Marks QuestionsUploaded byVictor Lfp
- 27SP6 Aaoffice Admin EnUploaded bychaitanya_krish222
- Biology 1 Reaction PaperUploaded byKier Jesse Ballar
- Acid base titrationUploaded byzadkine2
- imb social studies lesson planUploaded byapi-297204430
- Presentation VGollain Territorial-marketing English-march2012Uploaded byVincent Gollain
- ArcoAN EVALUATION OF CONSTRUCTION CASH FLOW MANAGEMENT APPROACHES IN CONTRACTING ORGANISATIONSUploaded bySrikant Bharadwaj Vedula
- Kuthumi - 11:11 New Earth Portal ActivationUploaded byEmeraldRay
- SVNUploaded byavinashkakarla
- PAL 2014 MisikováUploaded byJozef Sedláček
- A Practical Approach to the Optimization of Gear Trains With Spur GearsUploaded byanmol6237
- 2002-3-Knoef-Herman Boerhaave.pdfUploaded byJoão Guimarães
- The Transactor V1 10 1979 Mar 31Uploaded byCubemanPDX
- Theme 2 Updating Script 2Uploaded byvinayakbhat82
- Finding True North - WWT Case StudyUploaded byRichard Hovey
- Plugin-Relliability Facts of Life for HDD Flash and DRAM Drives in High Performance StorageUploaded byPopescu Ion
- mayans and religionUploaded byapi-302779256
- 1.8.3 DML & DDLUploaded byshuvam
- Kundalini Yoga - EnglishUploaded byVrg vrg
- Barratts NIMR remediation planUploaded byRoger Tichborne
- Basic Principles of Domain Particle PhysicsUploaded bypoinker
- Ogn Ops Chem 014 Coal as Fired Sampling ProcedureUploaded byrani