PUC Computer Science Demo Topics (1st & 2nd PUC)
1st PUC Computer Science Topics
1. Introduction to Computers:
- A computer is an electronic device that processes input to produce output.
- Components:
- Hardware: Physical devices (Monitor, CPU)
- Software: Programs (MS Office, Python)
- Example: Using MS Word to type a letter.
2. Number Systems:
- Binary (Base 2), Decimal (Base 10), Octal, Hexadecimal
- Example: Convert 25 (Decimal) to Binary => 11001
3. Memory:
- RAM: Temporary storage
- ROM: Permanent storage
- Secondary: HDD, SSD
- Cache: Fast, located near CPU
4. Python Basics:
- Variables, Data Types (int, float, str), print(), input()
- Example:
name = input("Enter name: ")
print("Hello", name)
5. Control Statements:
- if, else, elif
- Example:
if age >= 18:
print("Eligible")
PUC Computer Science Demo Topics (1st & 2nd PUC)
6. Loops:
- for loop, while loop
- Example:
for i in range(5):
print(i)
2nd PUC Computer Science Topics
1. Functions in Python:
- Block of reusable code
- Example:
def greet(name):
print("Hello", name)
2. Object-Oriented Programming:
- Class, Object, Constructor
- Example:
class Student:
def __init__(self, name):
self.name = name
3. Data Structures:
- List, Tuple, Dictionary
- Example:
fruits = ["apple", "banana"]
4. File Handling:
- Reading/Writing files
- Example:
with open("file.txt", "w") as f:
f.write("Hello")
PUC Computer Science Demo Topics (1st & 2nd PUC)
5. SQL Database:
- SQL commands: CREATE, INSERT, SELECT
- Example:
CREATE TABLE students (id INT, name VARCHAR(20));
6. Inheritance:
- Using features of one class in another
- Example:
class Dog(Animal): pass
7. Stacks and Queues:
- Stack: LIFO (Last In First Out)
- Queue: FIFO (First In First Out)
- Real-life: Stack = Plate Rack, Queue = Line at ATM
Tips for a Great Demo Class
- Use analogies to simplify concepts
- Engage students with interactive Q&A
- Combine whiteboard + projector
- Use live coding for programming topics
- End with a fun quiz to test understanding