Thông tin tài liệu:
Kinh nghiệm, mẹo nhỏ giúp bạn giải đàp những thắc mắc về tin học, máy tính.
Nội dung trích xuất từ tài liệu:
Một số câu hỏi dành cho máy tính 1 Computersystem ComputerSystemBookI:computersystemfundamentals.Chapter1:INTRODUCTIONTOCOMPUTER.Question1.Whatisacomputer?Acomputermaybedefinedasamachinewhichacceptsdatafroman input device, processes it by performing arithmetical andlogic operations in accordance with a program of instructionsandreturnstheresultsthroughanoutputunit.A computer is basically an electronic machine operating oncurrent. 2Question2.ComponentsofaComputersystem?Acomputersystemcomprisesofthefollowingcomponents: 1. CentralProcessingUnit(CPU). - CPUistheheartofthewholesys - CPUconsistsofthe: • controlunit (CU) • arithmeticlogicunit (ALU) • accumulator (ACC) • programcounter(PC) • instructionregister (IR) • memoryaddressregister (MAR) • memorydataregister (MDR) • statusregister (SR) • generalpurposeregister - ThefunctionofeachcomponentsofCPU: • Controlunit: control and co_ordinate all hardware functionsoftheCS. examine and decode all program instructions tothecomputerandinitiatetheirexecution bysendingtheappropriatesignals. • ALU: performs all arithmetic and logic comparision two valuesfunctionsrequiredbycomputer. • ACC: holds the first operand of the temporary resultoftheALU. • PC: containstheaddofthenextinstructionto beexcuted. • IR: contains the current instruction to be executed.Mainmemory • MAR: holdstheaddresslocationtoorfromwhich dataistobetransferred • MDR: contains the data to be written to or read outoftheaddressedlocation. • SR: keeps track of the status of the accumalator. 3 • G eneralPurposeRegi ste r: forgenera lpurposeprocedures. Please refe r to di ram for an illu stra tin of the basi ag c com ponentsofthe CPU . CPUI NT Contro lunitE Arithm eti Log i Uni c c tRN Accum ul atorA Program Couter L to m ai n Instru cti Regi on ste r BU m em oryS M em oryAddressRegiste r M em oryD ataRegiste r Status Registe r G eneralPurposeRegiste r Basi com ponentsofaCPU . c Contro lUnit Inpu tUnit ALU O utputUnit M ai nM em ory Backi Storage ng Contro lsi gna ls D ataflow Com ponentsofaCS. 2. Inputuni ts - U sed to enter data( raw unprocessed facts) and i stru cti s to the com put n on er. 3. O utputunits 4 - U sed f del ...