CBSE AI syllabus: सारी classes Class 9 AI (417) · Unit 5
Class 9 AI Unit 5: Python का परिचय
1 theory घंटे · 9 practical घंटे · 8 theory marks
ये unit किस बारे में है
Programming का पहला course। शुरुआत coding game (जैसे Code Combat) से, फिर Python basics: variables, data types (integer, float, string), type conversion, arithmetic, comparison, logical और assignment operators, print() और input(), conditions और loops (if, for, while), और lists के simple operations।
AI tutor से सीखो, एक-एक मिनट में
Unit में क्या आता है
- Gamified platform से programming।
- Variables, data types, type conversion, operators, print() और input()।
- Flow of control: if, for और while।
- Python lists और उनके simple operations।
ज़रूरी terms
- Variable
- नाम वाला डिब्बा जो value रखता है, जैसे marks = 85।
- Type conversion
- Value का type बदलना, जैसे int("5") text को number बनाता है।
- Loop
- Steps दोहराना: for तय बार दोहराता है, while तब तक जब तक condition true है।
- List
- Square brackets में ordered collection, जैसे [10, 20, 30]।
Exam-style सवाल
1. input() + 5 error क्यों देता है, और इसे कैसे ठीक करोगे?
जवाब देखो →
input() string देता है, जिसे number में जोड़ा नहीं जा सकता। पहले convert करो: int(input()) + 5।
2. 1 से 5 तक numbers print करने वाला loop लिखो।
जवाब देखो →
for i in range(1, 6): print(i)
Sources
Unit names, घंटे और marks 1 नवंबर 2026 को CBSE के official 2026-27 curriculum से जाँचे गए। Explanations और सवाल CogniGuru ने लिखे हैं।