This is the free sample — view-only. Unlock the subject to print on A4.
Form 5 · Sains Komputer · iSchool.myChapter 1: ComputingComputer and impactEconomic and socialimpactDigital divideAutomation andemploymentEthics, privacy andintellectual propertyCyber law and securityUnauthorised accessand malwarePhishing and socialengineeringAuthentication andencryptionBackup and incidentresponseComputer architectureCPU: control unit, ALUand registersMemory: RAM, ROM,cache and secondary storageInput, output and busesVon Neumannstored-program conceptFetch-decode-executecycleStep 1: Programcounter holds next addressStep 2: Instructionfetched to instruction registerStep 3: Control unitdecodes instructionStep 4: ALU/CPUexecutes operationStep 5: Result storedand PC updatedBinary and hexadecimalexampleConvert 45₁₀ to binary45 = 32 + 8 + 4 + 1Bits for 32,16,8,4,2,1 = 1 01 1 0 1Answer: 101101₂Convert 10111100₂ tohexadecimalGroup: 1011 11001011 = B; 1100 = CAnswer: BC₁₆Logic gatesNOT: output oppositeinputAND: 1 only if both 1OR: 1 if at least one 1NAND, NOR, XOR andXNORBoolean workedexampleExpression: Y = (A ANDB) OR NOT CGiven A=1, B=0, C=0A AND B = 0NOT C = 1Y = 0 OR 1 = 1