compute fast of computer

15
Compute fast of your computer URL: h4p://www.sciencebuddies.org/science-fair- projects/project_ideas/CompSci_p011.shtml s1230155 Yuta Sato

Upload: yutasato0720

Post on 16-Apr-2017

28 views

Category:

Technology


0 download

TRANSCRIPT

Computefastofyourcomputer

URL:h4p://www.sciencebuddies.org/science-fair-projects/project_ideas/CompSci_p011.shtml

s1230155YutaSato

Whatisfastofcomputer?•  Ifyourcomputeristooold,youwouldwaitfor

browsingawebsite.•  Ifyourcomputerhasalotofmemories,you

don’thavetowaitforbrowsing.•  yourcomputerischeckedbytesOng

benchmarking.

Howtomeasure?•  TesOngbenchmarkingisusedformeasuringfastofthe

computer.•  BenchmarkinguseaprogramwhichrunsmanyOmes.

Materials(1)•  AcomputerwhichwithwebbrowserandInternetaccess•  Calculatororspreadsheetprogram(e.g.Excel),doe

analyzingdata•  Labnotebook•  Graphpaper

Materials(2)•  OpOonal:•  Python3withIDLEandPython3Omingtestcode•  CcompilerandClanguageOmingtestcode

Whatisthetestcode?(1)•  ItisaprogramwhichmeasuretherunOme.•  Itrepeatthesamecalculateandwhenitfinish,the

programreturntheOmeittook.•  CalculaOoncanbeselectedamongsum,subtract,

mulOplyanddivide.

Whatisthetestcode?(2)

•  TheOmeissubtractedstartOmefromendOme.•  YoucanmeasuretheOmebyotherlanguage.•  Testcodeiscalledbackgroundresearch.

Procedure(1)•  First,youdoyourbackgroundresearchandmakesure

thatyouunderstandthetermsandconceptsandthequesOonsfromthebackgroundselecOon.

Procedure(2)•  Next,youcreateadatatableinlabnotebookorspreadsheetprogram.•  Thedatatablehas

•  whose(orwhat)computer•  selecteddatatype(e.g.int8bit,16bit..)•  selectedmathemaOcaloperaOon•  numberoftrials(IteraOons)•  resultofOme(ms)•  numberofcalculaOonsperOme(operaOons/ms)

Procedure(3)

•  Third, you do running the test code and record the result of time.

•  Then, you have to record the all selection.

•  You do many cases and record them.

Procedure(4)•  Finally, you analyze your data.

•  You use a calculator or spreadsheet program to calculate the average processing time for each combination.

Procedure(5)•  You make four bar graphs to examine if the amount of

the time that the computer needed to do a single type of mathematical operation(like addition).

•  Mathematical operation changes with different data types.

Procedure(7)-a•  You make one bar graph for each type of

mathematical operation.

•  There will be a total of four graphs which has addition, subtraction, multiplication, and division.

Procedure(7)-b

•  You make one bar graph for each type of mathematical operation.

•  There will be a total of four graphs which has addition, subtraction, multiplication, and division.

•  Each graph should have one for each data type. •  The height of each bar should be equal the average time for

that combination.

Procedure(8)

•  Last, you look at all four bar graphs.

•  You can find that what computer is slower or faster than other.

•  You compete your predictions and graphs of result.