



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
This Computer Science Formula Sheet is made for students to revise important calculations, definitions, and concepts needed for exams. It includes number systems such as binary, decimal, octal, and hexadecimal conversions, data storage units, logic gates, Boolean logic, flowchart symbols, pseudocode basics, database terms, and network speed calculations. It also includes important binary addition rules and key computer components like CPU, RAM, ROM, ALU, and CU. This sheet is useful for quick revision, understanding technical concepts clearly, and preparing for theory and practical computer science exam questions.
Typology: Cheat Sheet
1 / 6
This page cannot be seen from the preview
Don't miss anything!




Binary to Decimal Multiply each binary digit by powers of 2 Example: 1011 = 8 + 0 + 2 + 1 = 11 Decimal to Binary Repeated division by 2 Octal to Decimal Multiply each digit by powers of 8 Hexadecimal to Decimal Multiply each digit by powers of 16 โโโโโโโโโโโโโโโโโโโโ DATA STORAGE โโโโโโโโโโโโโโโโโโโโ 1 Nibble = 4 Bits 1 Byte = 8 Bits 1 Kilobyte (KB) = 1024 Bytes
1 Megabyte (MB) = 1024 KB 1 Gigabyte (GB) = 1024 MB 1 Terabyte (TB) = 1024 GB โโโโโโโโโโโโโโโโโโโโ LOGIC GATES โโโโโโโโโโโโโโโโโโโโ AND Gate Output = 1 only if both inputs are 1 OR Gate Output = 1 if at least one input is 1 NOT Gate Reverses the input NAND Gate NOT + AND NOR Gate NOT + OR XOR Gate Output = 1 if inputs are different โโโโโโโโโโโโโโโโโโโโ
Input INPUT name Output OUTPUT result Condition IF condition THEN Loop FOR / WHILE / REPEAT โโโโโโโโโโโโโโโโโโโโ BOOLEAN LOGIC โโโโโโโโโโโโโโโโโโโโ TRUE = 1 FALSE = 0 NOT A Reverses A A AND B True only if both are true
True if one or both are true โโโโโโโโโโโโโโโโโโโโ IMPORTANT FORMULAS โโโโโโโโโโโโโโโโโโโโ Binary Addition Rules 0 + 0 = 0 0 + 1 = 1 1 + 0 = 1 1 + 1 = 10 1 + 1 + 1 = 11 โโโโโโโโโโโโโโโโโโโโ IMPORTANT FACTS โโโโโโโโโโโโโโโโโโโโ CPU = Central Processing Unit RAM = Random Access Memory ROM = Read-Only Memory ALU = Arithmetic Logic Unit CU = Control Unit ICT = Information and Communication Technology