Exercise Sheet 1 2024-2025 Machine Architecture PDF

Document Details

HonestTropicalIsland4063

Uploaded by HonestTropicalIsland4063

Ferhat Abbas University of Setif 1

2024

Dr.Semchedine Moussa

Tags

machine architecture number systems computer organization computer science

Summary

This document is an exercise sheet for a Machine Architecture course at Ferhat Abbas University in 2024-2025. It includes exercises on number systems, conversions, and Von Neumann architecture. The exercises are meant for undergraduate students.

Full Transcript

Ferhat Abbas University - Sétif 1 Machine Architecture Department of Mathematics and Dr.Semchedine Moussa Medecine and big data...

Ferhat Abbas University - Sétif 1 Machine Architecture Department of Mathematics and Dr.Semchedine Moussa Medecine and big data 2024-2025 Exercise Sheet 1 # Overview + Number systems Exercise 1 1. Illustrate with a diagram the architecture of Von Neumann. 2. What is a communication bus? 3. What are the technical factors to consider when buying a computer? 4. What are the advantages of multi-core processors? 5. Give examples of the most well-known mobile/computer operating systems. 6. Consider a movie downloaded from Youtube of size 900 MB. - Convert the size to: bits, Bytes, KB, GB, TB, PB and EB. - How long does it take to download the previous file with a 2 Mbps ADSL connection? Exercise 2 Classify the following devices according to their type (input, output, mixed or storage device): Printer, screen, scanner, DVD, CD, controller, mouse, touch screen, keyboard, data projector, Bluetooth key, microphone, speakers, webcam, USB key, modem, Hard Disk Drive (HDD), barcode reader (scanner), QR code reader, DVD player-recorder, vibrating controller, 3D printer, memory card, smartphone display, interactive whiteboard, WIFI network cards. Exercise 3 Perform the following conversions (for complicated calculations, leave the result as fraction)  decimal-----binary 64 13.75 29.625 8.6  binary ----- decimal (1011)2 (101101)2 (0001110)2 (110001.11)2 (1101.101)2  decimal -----octal 18 7 65.25 30.125  octal----- decimal (52)8 (101)8 (7.05)8 (200.13)8  decimal -----hexa 9 12 29 160.25 31.75  hexa----- decimal (8)16 (2E)16 (1F.E)16 (A0.8)16 Exercise 4 Convert directly the following numbers as requested  (23)8 = (………..)2 (143.6)8 = (………..)2 (110100)2 = (………..)8 (11001111001.1110110101)2 = (………..)8  (1F)16 = (………..)2 (A2.AF)16 = (………..)2 (101001110)2 =(………..)16 (111.11101001110111)2 = (………..)16  (705)8 = (………..)16 (4D) 16 = (………..)8 (65.13)8 = (………..)16 (2D.FFC) 16 = (………..)8 Exercise 5 Determine the pairs of integers (x,y) such that: (xy)7 = (yx)10 1/2 Exercise 6 The sum of the digits of a 2-digit number is equal to 11. If we add 45 to this number we obtain a number formed by exchanging digits. What is this number? Exercise 7 1. Convert the following binary numbers into decimal and deduce the general rules. (11)2 (111)2 (1111)2 (1111...........1)2 n (10)2 (100)2 (1000)2 (100............0)2 n 2. Use the previous rules to calculate the decimal values of the following numbers (111011)2 (11110110111)2 (1111110110110)2 (111111000000)2 (111111000000111111)2 Exercise 8 Perform the following operations in binary  (1101010)2 + (1110011)2  (1010)2 + (111)2  (1010.011)2 + (111.11)2  (111011)2 - (11)2  (100001)2 - (11110)2  (1001.1110)2 - (11.1001)2 References Downloadable books 1. D A Patterson & J L Hennessy, Computer Organization and Design : The hardware/software interface, Morgan-Kaufmann (Fifth edition) 2013 2. A S Tanenbaum and T Austin, Structured Computer Organization, Pearson (International edition), 2012 3. R E Bryant & D R O’Hallaron, Computer Systems : A Programmer’s Perspective, Pearson (Global edition) 2015 4. Computer Organization and Architecture 8TH EDITION by William Stallings. Prentice Hall, Inc.,2010 5. Computer System Architecture (3rd Edition) M. Morris Mano 1992 2/2

Use Quizgecko on...
Browser
Browser