Computer Fundamentals & Digital Logic - Complete Guide for BPSC CS Teacher | NextVision Infotech

Computer Fundamentals & Digital Logic - Complete Guide

Last Updated: August 19, 2026 | Marks Weightage: ~10 Marks | BPSC CS Teacher

A comprehensive guide covering all important topics of Computer Fundamentals and Digital Logic for the BPSC Computer Science Teacher exam.

๐Ÿ† NextVision Infotech ๐Ÿ“ NH-82, Singathiya, Gaya, Bihar 805131 | ๐Ÿ“ž +91 7739299366

1. Generations of Computers

GenerationTechnologyFeaturesExample
1st (1940-56)Vacuum TubesLarge, slow, costly, magnetic drumsENIAC, UNIVAC
2nd (1956-63)TransistorsSmaller, faster, reliable, magnetic coresIBM 1401
3rd (1964-71)Integrated Circuits (ICs)Small, efficient, multiprogrammingIBM 360
4th (1971-80)MicroprocessorsPersonal computers, GUIsIntel 4004, Apple II
5th (1980-present)ULSI, AIParallel processing, AI, MLModern PCs, Smartphones
๐Ÿ’ก Exam Tip: Questions often ask about technology used in each generation and the year ranges.

2. Basic Computer Organization

๐Ÿง  CPU (Central Processing Unit)

  • ALU: Performs arithmetic (+, -, *, /) and logical (AND, OR, NOT) operations
  • Control Unit (CU): Fetches, decodes, and executes instructions
  • Registers: Small, fast memory inside CPU (Accumulator, Program Counter, Stack Pointer)

๐Ÿ’พ Memory & I/O

  • Primary Memory: RAM (Volatile), ROM (Non-volatile)
  • Secondary Memory: HDD, SSD, Pen Drive, CD/DVD
  • Cache Memory: High-speed memory between CPU and RAM
  • I/O Devices: Keyboard, Mouse, Monitor, Printer

3. Memory Units & Hierarchy

๐Ÿ“Š Memory Units

  • Bit: 0 or 1
  • Byte: 8 bits
  • KB (Kilobyte): 1024 Bytes
  • MB (Megabyte): 1024 KB
  • GB (Gigabyte): 1024 MB
  • TB (Terabyte): 1024 GB
  • PB (Petabyte): 1024 TB
๐Ÿ“Œ Memory Hierarchy: Registers โ†’ Cache โ†’ RAM โ†’ Secondary Storage (HDD/SSD)

4. Number Systems

๐Ÿ”ข Systems

  • Binary: Base 2 (0,1) - Used in computers
  • Octal: Base 8 (0-7)
  • Decimal: Base 10 (0-9) - Human-friendly
  • Hexadecimal: Base 16 (0-9, A-F)

๐Ÿ”„ Conversions

  • Binary to Decimal: Multiply each bit by 2^n
  • Decimal to Binary: Divide by 2 repeatedly
  • Binary to Hexadecimal: Group 4 bits
  • Hexadecimal to Binary: Expand each hex digit
Example: (1011)โ‚‚ = 1ร—2ยณ + 0ร—2ยฒ + 1ร—2ยน + 1ร—2โฐ = 8 + 0 + 2 + 1 = (11)โ‚โ‚€

5. Encoding Schemes

  • ASCII: 7-bit encoding, 128 characters (A-Z, a-z, 0-9, symbols)
  • Extended ASCII: 8-bit, 256 characters
  • Unicode: 16/32-bit, supports all world languages (UTF-8, UTF-16)
  • ISCII: Indian Script Code for Information Interchange

6. Boolean Algebra

๐Ÿ“ Basic Laws

  • Identity Law: A + 0 = A, A ยท 1 = A
  • Null Law: A + 1 = 1, A ยท 0 = 0
  • Idempotent Law: A + A = A, A ยท A = A
  • Complement Law: A + A' = 1, A ยท A' = 0

๐Ÿ“ Important Theorems

  • De Morgan's Law: (A+B)' = A'ยทB' and (AยทB)' = A' + B'
  • Associative Law: A+(B+C) = (A+B)+C
  • Distributive Law: Aยท(B+C) = AยทB + AยทC

7. Logic Gates

AND

Output 1 only when all inputs are 1

Symbol: ยท or โˆง

OR

Output 1 when any input is 1

Symbol: + or โˆจ

NOT

Inverts the input

Symbol: ' or ยฌ

NAND

AND followed by NOT

Universal Gate

NOR

OR followed by NOT

Universal Gate

XOR

Output 1 when inputs differ

Symbol: โŠ•

XNOR

Output 1 when inputs are same

Symbol: โŠ™

๐Ÿ’ก Exam Tip: NAND and NOR are called Universal Gates because any logic gate can be built using them.

8. Karnaugh Maps (K-Maps)

K-Map is a method to simplify Boolean expressions visually.

  • 2-Variable K-Map: 4 cells
  • 3-Variable K-Map: 8 cells
  • 4-Variable K-Map: 16 cells
  • Grouping: Group 1s in powers of 2 (1, 2, 4, 8)
๐Ÿ“Œ Steps: Fill K-Map โ†’ Group adjacent 1s โ†’ Write simplified expression

9. Logic Circuits

โž• Half Adder

  • Adds 2 bits (A + B)
  • Outputs: Sum (S), Carry (C)
  • S = A โŠ• B, C = A ยท B
Example: 1 + 1 = 0 (Sum), 1 (Carry)

โž• Full Adder

  • Adds 3 bits (A + B + Cin)
  • Outputs: Sum (S), Carry (Cout)
  • Built using 2 Half Adders + OR gate

๐Ÿ”„ Multiplexer

  • Selects one input from many
  • 2:1 MUX: 2 inputs, 1 select line
  • 4:1 MUX: 4 inputs, 2 select lines

๐Ÿ”€ Decoder

  • Converts encoded input to decoded output
  • 2:4 Decoder: 2 inputs, 4 outputs
  • 3:8 Decoder: 3 inputs, 8 outputs

10. Frequently Asked Questions

โ“ What are the 5 generations of computers?

1st: Vacuum Tubes, 2nd: Transistors, 3rd: ICs, 4th: Microprocessors, 5th: ULSI/AI

โ“ What is De Morgan's Law?

(A+B)' = A'ยทB' and (AยทB)' = A' + B'

โ“ What are Universal Gates?

NAND and NOR are Universal Gates.

โ“ What is the difference between ASCII and Unicode?

ASCII supports 128 characters (English), Unicode supports all world languages.

๐Ÿ“š NextVision Infotech

NH-82, Singathiya, Gaya, Bihar 805131 | ๐Ÿ“ž +91 7739299366

๐Ÿ† ISO 9001:2015 Certified

NextVision Infotech provides quality computer education and exam preparation for BPSC, B.ED, and other competitive exams.

ยฉ 2026 NextVision Infotech. All Rights Reserved.

Ready to Start Your IT Career?

Join NextVision Infotech and get quality computer education with placement assistance.