Beruflich Dokumente
Kultur Dokumente
Individual Report
Note: Your report should contain 500-750 words supported with appropriate references using Coventry University arvard !eference "tyle and include the following: evidence of your wor# re$uired %y the a%ove assess&ent reflection of your wor#' s#ills and #nowledge ac$uired' pro%le&s encountered and how the pro%le&s are resolved
Hexadecimal Task: ()plore the use of a he) editor for editing %inary progra&s* Change the +stringchange*e)e+ so it shows your na&e* Change flow of the +na&echange*e)e+* Evidence: ,e*g* "creen shots or te)tReflection on skills/knowledge acquired: ,&ay include any pro%le&s encountered and respective resolutions-
@Coventry University
Page 1
Version 1
. used the e) (ditor )vi/0 to change a few %asic progra&s* . changed a progra& so that it displayed &y na&e instead of +Change this te)t+ and . changed another progra&s %ehaviour to %ring up a pop up &essage instead* .t too# &e a few tries to get this wor#ing correctly* 1henever . &ade a change the progra& would %rea#' however . realised this was %ecause . was changing &ore te)t then . was allowed to %rea#ing the progra&* 2part fro& this the only other difficulty was finding the correct string to replace in the first place* (ven when using the find tool if you were not clic#ed at the start it is difficult to find the right te)t* 3earning how to use a e) (ditor is very useful as it allows you to change al&ost any running progra&' the downside is that it is e)tre&ely easy to %rea# a progra& if you don+t #now e)actly what to change*
@Coventry University
Page 0
Version 1
Binary Task 4erfor& two co&ple&ent operations* 4erfor& %inary addition and su%traction* !epresent %inary nu&%ers as he)adeci&al* Evidence: ,e*g* "creen shots or te)t5wo+s co&ple&ent of -10: 10 6 1010 Co&pli&ented 6 0101 71 6 0110 2dd 1 6 10110 5wo+s co&ple&ent of -7: 7 6 0111 Co&pli&ented 6 1000 71 6 1001 2dd 1 6 11001 -80: 80 6 0101010 Co&pli&ented 6 1010101 71 6 1010110 2dd 1 6 11010110 -19: 19 6 10000 Co&ple&ented 6 01111 71 6 10000 2dd 1 6 110000 2ddition: 11011011 7 01010101 6 100110000 00100100 7 11011111 6 100000011 1011011 7 10010 6 1101101 00011101 7 1111010 6 10010111 Converting :eci&al to e)ideci&al: 10111101101 6 5(: 10101011 6 2; 1111001 6 7<
Reflection on skills/knowledge acquired: 1hen doing this tas# there are &any s#ills . learned* . learned how to count in %inary and he)ideci&al and how to perfor& %asic addition and su%traction* . also learned how to perfor& two+s co&ple&ent to find negative values* . found this whole tas# $uite difficult %ut after wor#ing through it for a while it started to &a#e sense*
@Coventry University
Page /
Version 1
mda!l"s #aw Task: Create 2&dahl=s 3aw calculators to deter&ine speedup fro& opti&i>ation and increasing processors* Evidence: ,e*g* "creen shots or te)t-
ere you can see . have created a spreadsheet that will auto&atically wor# out the "peedup of the progra& using the for&ula %elow* 5he for&ula . used was 61?,1-207,20?;0-- where 20 is the percentage increase and ;0 is the "peed .ncrease possi%le* 5he graph shows that as the nu&%er of processors increases so does the speedup' however after around 10 processors the speedup gets less and less* 5his shows that after a certain a&ount of processors the speedup &ight %e %arely notica%le* Reflection on skills/knowledge acquired: 1ith this tas# . have learnt how to use the 2&dahls 3aw e$uation and how to apply it in practical applications to test whether it is worth opti&ising certain pieces of code*
@Coventry University
Page 8
Version 1
@Coventry University
Page 5