Python Indexing & Slicing Operations | Class Activity | Class 11 Computer Science | New Book 2025
📘 Chapter 2 – Python Programming | Class Activity | Punjab Boards New Book 2025
In this video, we solve an important class activity from Computer Science Class 11 (1st Year) based on the new syllabus 2025 for Punjab Boards (ICS / FA-IT stream).
We are given:
# List: [10, 20, 30, 40, 50, 60, 70, 80]
# Tuple: ("Math", "Science", "English", "History", "Geography")
# String: "Python Programming"
🔍 Activity Tasks Covered:
Access and print the third element from list, tuple, and string
Slice and print elements from index 2 to 5 (list and tuple)
Slice and print characters from index 7 to the end of the string
Use negative indexing to print the last two elements from the list and tuple
Use negative slicing to print characters from the second last to last character of the string
📚 This class activity helps reinforce your understanding of:
Python indexing & slicing
Working with strings, lists, and tuples
Positive vs. negative indexing
Real-world data structure usage
📌 This video is part of a complete lecture series of Chapter 2: Python Programming from the 1st Year Computer Science new syllabus (2025).
Видео Python Indexing & Slicing Operations | Class Activity | Class 11 Computer Science | New Book 2025 канала CS with Sir Iqbal
In this video, we solve an important class activity from Computer Science Class 11 (1st Year) based on the new syllabus 2025 for Punjab Boards (ICS / FA-IT stream).
We are given:
# List: [10, 20, 30, 40, 50, 60, 70, 80]
# Tuple: ("Math", "Science", "English", "History", "Geography")
# String: "Python Programming"
🔍 Activity Tasks Covered:
Access and print the third element from list, tuple, and string
Slice and print elements from index 2 to 5 (list and tuple)
Slice and print characters from index 7 to the end of the string
Use negative indexing to print the last two elements from the list and tuple
Use negative slicing to print characters from the second last to last character of the string
📚 This class activity helps reinforce your understanding of:
Python indexing & slicing
Working with strings, lists, and tuples
Positive vs. negative indexing
Real-world data structure usage
📌 This video is part of a complete lecture series of Chapter 2: Python Programming from the 1st Year Computer Science new syllabus (2025).
Видео Python Indexing & Slicing Operations | Class Activity | Class 11 Computer Science | New Book 2025 канала CS with Sir Iqbal
Computer science class 11 1st year computer science 1st year computer science new syllabus 2025 chapter 2 python programming python indexing slicing list indexing python tuple slicing python string slicing python python class activity new book 2025 punjab boards python basics class 11 fa-it computer science ics class 11 practice python programs punjab textbook class 11 cs
Комментарии отсутствуют
Информация о видео
15 июня 2025 г. 20:01:13
00:08:19
Другие видео канала