number system Flashcards
_________ is a way to represent numbers using symbols or digits. In computing, several different. number systems are used, depending on the context.
Number system
What are the most common number systems?
binary, decimal, octal, and hexadecimal
Each digit in a decimal number is multiplied by powers of 10, depending on its position
Decimal (Base-10)
__________ is used by computers, as they operate with two states: ON and OFF represented by 0 and 1.
binary number system
It is base-8, using digits from 0 to 7
Octal (Base-8)
It is often used to represent binary numbers more compactly
Hexadecimal (Base-16)
____________ is a branch of algebra that deals with true and false values, typically represented as 1 and 0 in binary logic
Boolean Algebra
In Boolean algebra, it operates using three basic operators, what are they?
- AND (Conjunction)
- OR (Disjunction)
- NOT (Negation)
Symbol: * \cdot * or & \&&
The result is true (1) if both operands are true, otherwise, it is false.
AND (Conjunction)
Symbol: +++
The result is true (1) if at least one of the operands is true, otherwise, it is false.
OR (Disjunction)
Symbol: A‾\overline{A}A or -A\neg A-A
The result is true (1) if the operand is false (0), and vice versa.
NOT (Negation)
_________ is the negation of AND. The result is true unless both operands are true.
NAND (NOT AND)
The result is true only when both operands are false.
NOR (NOT OR)
The result is true when exactly one of the operands is true, but false when both are the same.
XOR (Exclusive OR)
The result is true when both operands are the same (either both true or both false).
XNOR (Exclusive NOR)
Boolean logic is the foundation of all ________
Digital Circuits
In _______, Boolean values are used in conditional statements, loops, and decision-making processes (true/false, yes/no).
Programming
Boolean operators like AND, OR, and NOT are used in query languages like SQL to filter ________.
Databases
Boolean logic helps refine __________ by including or excluding specific results.
Search engines
__________________ refers to the way different components of a computer system are arranged and interact with each other. It encompasses the hardware and software elements that make up a computer and how they work together.
Computer System Organization
What are the different Hardware Components?
- Central Processing Unit (CPU)
- Arithmetic Logic Unit (ALU)
- Control Unit (CU)
- Memory
- Input Devices
- Output Devices
- Motherboard
- Bus
- Power Supply Unit (PSU)
The brain of the computer, responsible for executing instructions and processing data.
Central Processing Unit (CPU)
CPU consists 3 types of?
- Arithmetic Logic Unit (ALU)
- Control Unit (CU)
- Registers
Performs arithmetic and logical operations
Arithmetic Logic Unit (ALU)