аЯрЁБс>ўџ *,ўџџџ)џџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџьЅСY ПэbjbjѓWѓW ‘=‘=э џџџџџџ]’’’’’’’ІІІІІ В$ІE ЖъъъъъХХХ  $ћ єяЊ0 ’ХХХХХ0 —’’ъълъ———Х<’ъ’ъ ІІ’’’’Х —&—Н VВ @’’ў ъж FAчнНПІІ–ђ UOH Systems & Networks 1 Session 1998/99 Section A Question A.1 A) D) C) D) B) D) D) A) D) B) JF note: Rest of section A in 1999/2000 exam will be multiple choice. Question A.2. 1) sort -m file1file2 > sortfile & command switch/ arguments output argument to do in the background option redirection the output redirection 2) List them! save register associated processes scheduling information owner of process 4) PQ note: revise deadlock 5) Main reason is : Forward references. Items defined later in the program than when they are used. Section B Question B.1. Components :of CPU : Control Unit ALU Memory Registers - IR PC MAR MDR ACC JF: partial answer - have also to relate these to LMC JF suggestion for revision: What are the von Neumann concepts? Answer: Data stored with program Instructions and data share memory Contents are not defined by its address (Check for more) JF note : Will get a trace to do in exam (in lecture only did a partial trace) IR - holds instruction currently being obeyed PC - holds address of next instruction UOH Systems & Networks 1 Session 1998/99 MAR - holds address of memory location that is being accessed MDR - holds data that is being read from or written to the address that is in the MAR. ACC - holds one of the two operands of the ALU and the result of the ALU function. (i) 2^16 (ii) 2 (16/8) { 32 address lines - 2^32 memory locations can be addressed 32 data lines - 4 bytes accessed} Control lines Examples : read or write clock direction Question B.2. a)i) standard definitions ii) 1536 Mb (1.53 Gb) b) the sum of: 9+50/12+25/72 d) 60 65 55 75 JF note : will definitely get a question like this ISR - Interrupt Service Routine Interrupt occurs : If Int priority > process priority Then store process registers set PC to start of ISR (ISR executes0 At end of ISR Return from interrupt restores process registers end if Fetch next instruction Question B.3. b) iii) Want minor tweaks a) queue system b) adding priority Question B.4. c) put differences. interpreter:- doesn't produce machine code. every time it reads a line it interprets it. compiler:- once compiled that's it. Advantages: (PQ note: faster is not an answer since both are faster depending on circumstances) interpreter: fast for debugging programs compiler: fast for repetitive programs Main advantage for compilers:- faster when reusing the same code/program as opposed to reinterpreting it. d) PQ note: if get a question like this in exam will get a table similar to one given out in Tutorial- not like the one in the exam paper. *35BaЗлAHЧавр2ƒ„6`Ё Џ  B S a D N Q X dkэќќќњјѓјќќќёќќќќёќќ>* 5>*B*B*B*5>* )*45BEHKNQTWZ]`aЈЉЗИnЧлњ*=§§§§§јјјјјјјјјј§§§§§§§§§§§§§ & F)*45BEHKNQTWZ]`aЈЉЗИnЧлњ*=>Z[Чбвр12hiЈЭє!56_`†‡Емн  E œ я № љ  g h w  ќі№ъфоивЬЦУНЗБЋ                                        C=>Z[Чбвр12hiЈЭє!56_`†‡Емн §§§§§§§јєєє§§§§§§§§§ј§§§ј№§§„h„p & F  E œ я № љ  g h w  –   Ё Џ Щ с т     C ћћћћљєћћљє№ъъљљљљљљљљххххљ & F„а„а„h & F„h –   Ё Џ Щ с т     C D d › Л ж щ њ . 8 R S a b  Ѓ Є В Ц  C D Є Ю і `aьэќі№ъф             +C D d › Л ж щ њ . 8 R S a b  Ѓ Є В Ц  C D Є Ю і `aьэ§јєєєєєєєєє§§§§§§§§§§§§§§§§§„h & FАа/ Ар=!А"А# $%А [$@ёџ$NormalmH <A@ђџЁ<Default Paragraph Fontэ %#џџџџэ= C э  э №8№@ёџџџ€€€ї№’№№0№( № №№B №S №ПЫџ ?№acћ!),24dgik’•–68‡‰нрEHЧЪсфёђБВнпDG{~велоіљя ИТ‹‘Якь№ќ,1jnЋЏac w•–ŸАВджхшnvПТ14eh“™ЕИЦбђї ' Ѕ А Я з   я џџPreferred Customer@C:\1111111111\aaas&n\answers\S&N exam 1998-99officialanswers.docPreferred CustomerHC:\windows\TEMP\AutoRecovery save of S&N exam 1998-99officialanswers.asdPreferred CustomerHC:\windows\TEMP\AutoRecovery save of S&N exam 1998-99officialanswers.asdPreferred CustomerHC:\windows\TEMP\AutoRecovery save of S&N exam 1998-99officialanswers.asdPreferred CustomerHC:\windows\TEMP\AutoRecovery save of S&N exam 1998-99officialanswers.asdPreferred CustomerHC:\windows\TEMP\AutoRecovery save of S&N exam 1998-99officialanswers.asdPreferred CustomerHC:\windows\TEMP\AutoRecovery save of S&N exam 1998-99officialanswers.asdPreferred CustomerHC:\windows\TEMP\AutoRecovery save of S&N exam 1998-99officialanswers.asdPreferred CustomerHC:\windows\TEMP\AutoRecovery save of S&N exam 1998-99officialanswers.asdPreferred CustomerHC:\windows\TEMP\AutoRecovery save of S&N exam 1998-99officialanswers.asdВ.9 џџџџџџџџџ>[* џџџџџџџџџ lТ+0ѓџџџџџџџџџ„h„˜ўЦho()„h„˜ўЦho()„а„0§Цаo()В.9>[* lџџџџџџџџџџџџџџ џ@€ммxІsммэ P@G‡:џTimes New Roman5€Symbol3& ‡:џArial"qˆаhltE4uET” !ЅРДД€20О0 dџџaddress jf datum memory alu Preferred CustomerPreferred Customerўџ р…ŸђљOhЋ‘+'Гй0T˜ЄАЬєМЬ шє   (4<DLфssPreferred Customeraddress jf datum memory alu MiН Memory ALU { 32 address lines - 2^32 memory locations can be addressed 32 data lines - 4 bytes accessed} UOH Systems & Networks 1 Session 1998/99 Registers - IR PC MAR MDR ACC sNormalyPreferred Customer 26fMicrosoft Word 8.0 @јМ @HžšУНП@АонНП” ўџ еЭеœ.“—+,љЎDеЭеœ.“—+,љЎ<ј hpŒ”œЄ ЌДМФ Ь йфMcCarthy Associates j  Title˜ 6> _PID_GUIDфAN{9C9834D2-29BF-11D4-B919-40834FC10000} ўџџџўџџџ ўџџџ"#$%&'(ўџџџ§џџџ+ўџџџўџџџўџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџRoot Entryџџџџџџџџ РF@Ѕ §УНП FAчнНП-€1Tableџџџџџџџџџџџџ™WordDocumentџџџџџџџџSummaryInformation(џџџџDocumentSummaryInformation8џџџџџџџџџџџџ!CompObjџџџџjObjectPoolџџџџџџџџџџџџ FAчнНП FAчнНПџџџџџџџџџџџџўџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџўџ џџџџ РFMicrosoft Word Document MSWordDocWord.Document.8є9Вq