11
7/23/2019 CSA Reportnn http://slidepdf.com/reader/full/csa-reportnn 1/11 Faculty of Applied Sciences and Computing Assignment [ II ] Sep 2015 Semester Course code : AACS3064 Course Title : Computer Systems Architecture Students !ame and I" !o# :  Name: Chin Wei Song________________ ID. No.: 1WAD01!!____  Name: Chen "i #uan_________________ ID. No.: 14WAD 0446____  Name: A$e%ina &ang Chooi 'i__________ ID. No.: 14WAD0104____ $rogramme : DIA Tutorial %roup : ((1_________________________ Tutor : )r.*eh +uan Soon_____________ Su&mission "ate : 'ee( 12) *onday) &efore 12 noon *em&ers Coding I+, design -ogic .ser guide Initiati/e $ersonal reflectio n "emo Total !ame mar(s mar(s 3 mar(s 3 mar( mar(s mar(s 3 mar(s 25 mar(s Comment: Tutors name : "ate of su&mission : "ate recei/ed to4&e filled &y te tutor recei/ed :

CSA Reportnn

Embed Size (px)

Citation preview

Page 1: CSA Reportnn

7/23/2019 CSA Reportnn

http://slidepdf.com/reader/full/csa-reportnn 1/11

Faculty of Applied Sciences and Computing

Assignment [ II ]

Sep 2015 Semester

Course code : AACS3064

Course Title : Computer Systems Architecture

Students !ame and

I" !o#

:  Name: Chin Wei Song________________ ID. No.: 1WAD01!!____ 

 Name: Chen "i #uan_________________ ID. No.: 14WAD 0446____ 

 Name: A$e%ina &ang Chooi 'i__________ ID. No.: 14WAD0104____ 

$rogramme : DIA

Tutorial %roup : ((1_________________________ 

Tutor : )r.*eh +uan Soon_____________ 

Su&mission "ate : 'ee( 12) *onday) &efore 12 noon

*em&ers Coding I+,

design

-ogic .ser

guide

Initiati/e $ersonal

reflectio

n

"emo Total

!ame

mar(s

mar(s

3

mar(s

3

mar(

mar(s

mar(s

3

mar(s

25

mar(s

Comment:

Tutors name :

"ate of su&mission :

"ate recei/ed

to4&e filled &y te tutor recei/ed

:

Page 2: CSA Reportnn

7/23/2019 CSA Reportnn

http://slidepdf.com/reader/full/csa-reportnn 2/11

Semester: "ear Semester 1 Course Co$e , &it%e: AACS 3064 Computer SystemsArchitecture

"eclaration

I+'e confirm tat I+6e a/e read and sall comply 6it all te terms and condition of TA7 Colleges plagiarism policy#

I+'e declare tat tis assignment is free from all forms of plagiarism and for all intentsand purposes is my+our o6n properly deri/ed 6or(#

I+'e furter confirm tat te same 6or() 6ere appropriate) as &een /erified &y anti4plagiarism soft6are 888888888888888888888888 (please insert). 

Signature-s:__________________________________________________________________ /A%% memers

 Name-s: Chin Wei Song Chen "i #uan A$e%ina &ang Chooi 'iDate: !th 2u%y 01

Page 3: CSA Reportnn

7/23/2019 CSA Reportnn

http://slidepdf.com/reader/full/csa-reportnn 3/11

Ad/anced Features

ac5groun$ co%or 

ser 7i%% e a%e to se%ect the ac5groun$ co%or o8 the app%ication system to suit their pre8erence.

*ass7or$

I8 the user entere$ three consecuti9e in9a%i$ pass7or$s the program 7i%% e terminate$ to pre9ent

unauthori;e$ access.

Testing Case

Testing Case 1: &he user 7i%% e gi9en three attempts to enter the correct pass7or$ 7hich is <hi=. &he

 program 7i%% terminate i8 the user enters incorrect pass7or$ consecuti9e%y other7ise it 7i%% a%%o7 the

user to procee$ to the main menu.

Testing Case 2: &he user is gi9en a %ist o8 ac5groun$ co%ors starting 8rom 1 to 6 to choose accor$ing

to his or her pre8erence e8ore the program procee$s to the ne>t screen. I8 the user 5eys in an in9a%i$

input the program 7i%% $isp%ay an error message an$ prompts the user to try again.

Page 4: CSA Reportnn

7/23/2019 CSA Reportnn

http://slidepdf.com/reader/full/csa-reportnn 4/11

Testing Case 3: In the main menu the user is gi9en t7o choices to enter either 1 or . I8 the user

enters other than the t7o choices the program 7i%% $isp%ay an error message an$ the user is re?uire$

to enter a 9a%i$ input again in or$er to continue to the ne>t screen.

Testing Case : In the ca5e menu i8 the user enters the in9a%i$ input 8or the ?uantity or$ere$ the

user 7i%% e as5e$ to re@enter again e8ore it $isp%ays the tota% price to e pai$. Simi%ar%y i8 the user

enters other than %etter yB or nB the user has to enter the 9a%i$ input in or$er to procee$ to the ne>t

 part.

Page 5: CSA Reportnn

7/23/2019 CSA Reportnn

http://slidepdf.com/reader/full/csa-reportnn 5/11

Testing Case 5: In the rea$ menu i8 the user enters the in9a%i$ input 8or the choice o8 rea$ an

error message 7i%% e $isp%aye$ an$ the user is re?uire$ to re@enter again e8ore the program procee$s

to the ne>t part.

Testing Case 9: When the user is as5e$ to procee$ to the ne>t customer the user has to enter either

%etter yB or nB other7ise the program 7i%% not a%%o7 the user to continue to enter the or$er $etai%s o8

Page 6: CSA Reportnn

7/23/2019 CSA Reportnn

http://slidepdf.com/reader/full/csa-reportnn 6/11

the ne>t customer.

Page 7: CSA Reportnn

7/23/2019 CSA Reportnn

http://slidepdf.com/reader/full/csa-reportnn 7/11

rief .ser %uide

Step 1: First) enter te pass6ord ;i and press enter to login# <pass6ord is case4sensiti/e

Step 2: Select te &ac(ground color to suit your li(ing#

Step 3: Select eiter ca(e or &read to &e purcased#

Page 8: CSA Reportnn

7/23/2019 CSA Reportnn

http://slidepdf.com/reader/full/csa-reportnn 8/11

Step : Coose te type of ca(e+&read and enter te amount of =uantity you 6ould li(e topurcase#

Step 5: After te total amount as &een displayed) please coose 6eter if you 6ould li(e topurcase again#

Page 9: CSA Reportnn

7/23/2019 CSA Reportnn

http://slidepdf.com/reader/full/csa-reportnn 9/11

Step 9: If te ans6er is no) te grand total of te current customer 6ill &e displayed) pleasedecide 6eter if you 6ould li(e to continue to te ne>t customer#

Step ?: If tere is no ne>t customer) a summary of total num&er of customers as 6ell as tegrand total for te o/erall transactions 6ill &e displayed#

Page 10: CSA Reportnn

7/23/2019 CSA Reportnn

http://slidepdf.com/reader/full/csa-reportnn 10/11

$ersonal 7eflection

Chin Wei Song

pon comp%etion o8 this assignment I ha9e gaine$ a great $ea% o8 5no7%e$ge in Assem%y 'anguage.

e it tenacity or $i%igent are pi9ota% in the process o8 ac?uiring aca$emic 5no7%e$ge. ur goo$ time

management s5i%% is essentia% in comp%eting this assignment. We $e%egate$ the tas5s among ourse%9esas soon as 7e recei9e$ the assignment. &here 7as not much comp%ication encountere$ $uring the

 process o8 comp%eting this assignment. &he on%y $ra7ac5 that cause$ us 9a%ua%e time an$ energy is

that 7e 7ere a %itt%e it s%oppy in architecting our proce$ure 8%o7 7hich stirre$ up some con8usion

7hen merging our co$es. Ne9erthe%ess 7e ma$e up 8or %ost time y spen$ing time together at the

%irary to tac5%e the comp%ication. Despite the ostac%es 7e 7or5e$ our 7ay up a8ter going through

tria% an$ error our har$ 7or5 an$ perse9erance pai$ o88 7e%%.

“It does not matter how slowly you go as long as you do not stop.” ― Confucius

Chen "i #uan

In this assignment I ha9e gaine$ much e>tra 5no7%e$ge in this suect course E Assem%y 'anguage.Apart 8rom that I thin5 team7or5 is the 5ey to he%p us in comp%eting this assignment success8u%%y.

Without the $iscussion et7een each other it 7ou%$nBt a%%o7 us to 8in$ out pro%ems easi%y an$ so%9e

it imme$iate%y. I thin5 the har$est part in get this assignment $one is thin5ing aout the %ogic o8 the

7ho%e proce$ure 8%o7. In or$er to ma5e the program more comp%ete 7e ha9e $iscusse$ an$ $o

correction up to times. esi$es I a%so appreciate that 7e ha9e recei9e$ some i$ea an$ 5no7%e$ge

8rom %ecturer an$ tutor. &his cou%$ a%%o7 us to ha9e a 5ic5@start in our Assem%y 'anguage

assignment. We a%so ha9e search 8or e>tra 5no7%e$ge materia%s an$ re8erences 8rom 7e an$ a%so

8rom %irary. &his ha9e he%pe$ us to ma5e ourse%9es c%ear to $o this assignment. 'ast ut not %east I

thin5 the e88ort 7e ha9e put through ha9e a%%o7e$ us to 8inish this assignment on time.

A$e%ina &ang Chooi 'i

(rom the eginning I 8in$ it $i88icu%t to un$erstan$ the concepts o8 assem%y programming %anguage

e9en though it %oo5s simp%e ut a8ter atten$ing the practica% c%asses an$ getting myse%8 8ami%iari;e$

7ith this suect I rea%i;e$ that it is not $i88icu%t to co$e a program using the assem%y %anguage it

 ust nee$s a %ot o8 practices an$ persona% research 8rom the 7e. &hrough persona% research I ha9e

gaine$ ne7 5no7%e$ge 7hich is 9ery use8u% in assisting me to comp%ete this proect. (or e>amp%e I

ha9e %earnt ho7 to use push an$ pop metho$ as 7e%% as proce$ure to $isp%ay mu%tip%e yte numer.

Apart 8rom that through this proect I ha9e %earnt that team7or5 is 9ery important ecause

e9erything can 7or5 out in a right 7ay through team7or5.

+roupIn conc%usion 7e enoy %earning Assem%y 'anguage together. We thin5 it is imperati9e 8or computer 

science stu$ents to %earn Assem%y 'anguage as it teaches us the asic un$erstan$ing o8 computer 

architecture an$ primiti9e $ata types. We 7ou%$ %i5e to e>press our sincere gratitu$e to our tutor as 7e

7ou%$ not ha9e ma$e it this 8ar 7ithout his $e9otion in teaching an$ gui$ing us throughout the

assignment.

Page 11: CSA Reportnn

7/23/2019 CSA Reportnn

http://slidepdf.com/reader/full/csa-reportnn 11/11

7eferences

en.7i5ipe$ia.org 01. IS co%or attriutes @ Wi5ipe$ia the 8ree encyc%ope$ia. /N'INF

A9ai%a%e at: https:GGen.7i5ipe$ia.orgG7i5iGIS_co%or_attriutes  /Accesse$ H 2u%y 01.

tutoria%spoint.com 01. Assem%y *roce$ures. /N'INF A9ai%a%e at:

http:GG777.tutoria%spoint.comGassem%y_programmingGassem%y_proce$ures.htm  /Accesse$ H 2u%y

01.

cs.9irginia.e$u 01. +ui$e to >H6 Assem%y . /N'INF A9ai%a%e at:

http:GG777.cs.9irginia.e$uGe9ansGcs16Ggui$esG>H6.htm%  /Accesse$ H 2u%y 01.