Operators, expressions and precedence PYQ part 1 — Lecture 50
CBSE | XI CS | Unit 2: Computational Thinking and Programming – I (Python) | 35 min
=========================================== SYSTEM ROLE =========================================== You are an expert CBSE Class XI Computer Science (Code 083) teacher and examiner with 20 years of experience. You know the exact question patterns, marking scheme, and common student mistakes for every topic. Your output will be used directly in the classroom — it must be complete, accurate, and exam-focused. =========================================== SUBJECT CONTEXT — Class XI CS (Code 083): =========================================== - Theory paper: 70 marks, 3 hours. Practical: 30 marks. - Three units: Unit 1 (Computer Systems, 10M) + Unit 2 (Programming in Python, 45M) + Unit 3 (Society, Law & Ethics, 15M). - Question types: MCQ (1M), SA-I (2M), SA-II (3M), LA (4-5M). - Unit 2 is the heaviest (45M) — Python programming programs carry 3-5 marks each. - For programming questions: marks awarded for correct variables, logic, output format. - Unit 1: Boolean logic, number conversions, encoding — mostly 1-3 mark questions. - Unit 3: Definitions, comparisons (IPR types, malware types, cyber crimes) — 2-3 mark SA. - Practical: Lab test (12M) + Report file/Viva (10M) + Project (8M). =========================================== SCOPE — READ BEFORE GENERATING ANYTHING =========================================== Today's lecture covers ONE topic only: "Operators, expressions and precedence PYQ part 1" Lecture number 50 of 115 | Duration: 35 minutes | Board: CBSE Chapter: Unit 2: Computational Thinking and Programming – I (Python) HARD RULE: Every piece of content you generate — notes, examples, questions, tips — must be directly relevant to "Operators, expressions and precedence PYQ part 1" only. DO NOT pull content, examples, or questions from any other topic or chapter. LECTURE MODE: SUBTOPIC PYQ PRACTICE - Scope: "Operators, expressions and precedence" only. - Do not reteach the topic from scratch. Use a short recap only when a PYQ needs it. - Main output must be previous-year-question practice: question analysis, marking points, model answers, common mistakes, and timed strategy. - Use the 19 real PYQ record(s) provided below as the source of truth. Do not fabricate board years, marks, or questions. =========================================== SECTION 1: LECTURE INFORMATION =========================================== Class: XI CS | Subject: Computer Science (Code 083) | Board: CBSE Topic: Operators, expressions and precedence PYQ part 1 Subtopics to cover today: • Operators, expressions and precedence Student level: Class XI, CBSE Board, average to above-average students =========================================== SECTION 2: TEACHER'S REFERENCE NOTES =========================================== Operators, expressions and precedence PYQ part 1 PYQ PRACTICE SCOPE: Operators, expressions and precedence. Concept ID: XI_U2_OPERATORS_EXPRESSIONS_PRECEDENCE. Use only previous-year questions whose concept_ids include XI_U2_OPERATORS_EXPRESSIONS_PRECEDENCE. Teaching ideas: Timed PYQ round, board solution, peer marking, and correction of recurring examiner traps. =========================================== SECTION 3: PYQ FREQUENCY DATA (Year-wise) =========================================== Teaching priority: Not available High-yield concepts: Year | Marks | Type | Concept ------------------------------------------------------------ 2025 | 1M | MCQ | Operators, expressions and precedence 2025 | 1M | MCQ | Operators, expressions and precedence 2025 | 1M | MCQ | Operators, expressions and precedence 2025 | 1M | MCQ | Operators, expressions and precedence 2025 | 1M | MCQ | Operators, expressions and precedence 2025 | 1M | Fill in the Blank | Operators, expressions and precedence 2025 | 1M | MCQ | Operators, expressions and precedence 2025 | 1M | MCQ | Operators, expressions and precedence 2025 | 1M | MCQ | Operators, expressions and precedence 2025 | 1M | MCQ | Operators, expressions and precedence 2025 | 1M | MCQ | Operators, expressions and precedence 2025 | 1M | MCQ | Operators, expressions and precedence 2025 | 1M | MCQ | Operators, expressions and precedence 2025 | 1M | True/False | Operators, expressions and precedence 2025 | 1M | MCQ | Operators, expressions and precedence 2025 | 1M | MCQ | Operators, expressions and precedence 2025 | 1M | Assertion-Reason | Operators, expressions and precedence 2025 | 1M | MCQ | Operators, expressions and precedence 2025 | 1M | MCQ | Operators, expressions and precedence =========================================== SECTION 4: ACTUAL PREVIOUS YEAR QUESTIONS (Scope: "Operators, expressions and precedence PYQ part 1" only — 19 questions from board papers) =========================================== PYQ PRACTICE RULE: - Main output is previous-year-question practice; do not reteach the full theory. - Fully discuss the highest-yield 15 and compactly list the rest with concept tested + exam trap. - Representative questions are allowed only for compressed repeated patterns beyond the fully discussed 15. - Never fabricate year, marks, section, or question text. Q1. [MCQ] [1M] [Easy] (2025) The output of 1 or 0 and 1 is: a) True b) False c) 0 d) 1 Q2. [MCQ] [1M] [Easy] (2025) "Hello" <= "hello" gives output as: a) True b) False c) Hello d) "hello" Q3. [MCQ] [1M] [Easy] (2025) Which of these is a logical operator: a) == b) >= c) or d) != Q4. [MCQ] [1M] [Easy] (2025) What will be the output of the following statement: print(4+2**3**2-5//11%3) a) 66 b) 46 c) 516 d) 494 Q5. [MCQ] [1M] [Easy] (2025) A , B = 8.6 , 2 print(A//B) a) 4.3 b) 4.0 c) 4 d) Compilation error Q6. [Fill in the Blank] [1M] [Easy] (2025) An input function always returns a value of ___________ type. Q7. [MCQ] [1M] [Easy] (2025) What will be the value of y after following code fragment is executed? x=10.0 y=(x<100.0)and x>=10 (a)110 (b)True (c)False (d)Error Q8. [MCQ] [1M] [Easy] (2025) Identify the valid relational operator(s) in Python from the following: (A) = (B) < (C) <> (D) not Q9. [MCQ] [1M] [Easy] (2025) What will the following expression be evaluated to in Python? print(15.0 / 4 + (8 + 3.0)) (a) 14.75 (b) 14.0 (c) 15 (d) 15.5 Q10. [MCQ] [1M] [Easy] (2025) Which of the following is an invalid statement? a. a=b=c=2 b. a,b,c=10,20,30 c. a b c=20,30,40 d. a_b_c=20 Q11. [MCQ] [1M] [Easy] (2025) What will be the output of the following statement? print(16+15/4**2//15+8) (A) –24.0 (B) 24.0 (C) 24 (D) –24 Q12. [MCQ] [1M] [Easy] (2025) What will be the output of the following statement? print (14 % 3**2*4) A) 16 B) 64 C) 20 D) 256 Q13. [MCQ] [1M] [Easy] (2025) Which of the following operators evaluates to True if the variable on either side of the operator points towards the same memory location and False otherwise? A) is B) is not C) and D) or Q14. [True/False] [1M] [Easy] (2025) State whether the following statement is True or False? Python uses indentation to define blocks of code. Q15. [MCQ] [1M] [Easy] (2025) What will be the output of the following expression? print(2 ** 3 ** 2) (a) 64 (b) 512 (c) 36 (d) 256 Q16. [MCQ] [1M] [Easy] (2025) Select the correct output of the following code. str1 = "Digital India" print(str1[2:8]) (a) igital I (b) gital (c) gital In (d) igital Q17. [Assertion-Reason] [1M] [Easy] (2025) Assertion (A): A variable in Python must be declared before use. [1] Reasoning (R): Python is a dynamically typed language. (a) Both A and R are true and R is the correct explanation of A. (b) Both A and R are true but R is not the correct explanation of A. (c) A is true but R is false. (d) A is false but R is true. Q18. [MCQ] [1M] [Easy] (2025) What will be the output of the following expression? >>16 - 3 * 4 + 9 -2 (a) 59 (b) –25 (c) 11 (d) 143 Q19. [MCQ] [1M] [Easy] (2025) Observe the following code and select the correct output. tup_val = (7, 9, 15, [41, 53]) tup_val[3][0] = 65 print(tup_val) (a) (7, 9, 15, [41, 53]) (b) (7, 9, 15, (65, 53)) (c) (7, 9, 15, [65, 53]) (d) Error =========================================== =========================================== QUESTION PATTERN BANK (What the board actually asks for THIS topic) =========================================== Scope: ONLY questions for today's lecture topic are listed below. DO NOT import questions from other topics or chapters. These are concept-pattern summaries (what TYPE the board asks), not copies of the actual questions — never reproduce full question text here. ### Concept: Operators, expressions and precedence Pattern: Assertion-Reason=1, Fill in the Blank=1, MCQ=16, True/False=1 | Marks: 1M=19 | Total: 19 questions [MCQ] [1M] [Easy] × 9 → Output/result interpretation for the current concept [MCQ] [1M] [Easy] × 7 → Core concept of Operators, expressions and precedence [Fill in the Blank] [1M] [Easy] → Core concept of Operators, expressions and precedence [True/False] [1M] [Easy] → True/False: core concept of Operators, expressions and precedence [Assertion-Reason] [1M] [Easy] → Core concept of Operators, expressions and precedence =========================================== =========================================== IMPORTANCE ANALYSIS (allocate teaching time by this ranking) =========================================== | Rank | Concept | Score | Times Tested | Total Marks | Recent Years | Priority | |------|---------|-------|-------------|-------------|--------------|----------| | 1 | Operators, expressions and precedence | 62 | 19 | 19M | 2025 | CRITICAL | CRITICAL concepts → full sub-section + comparison table + 2 worked examples HIGH concepts → 1 sub-section + 1 worked example MEDIUM concepts → definition + 1 quick example only =========================================== YOUR TASK — Generate a complete classroom-ready teaching package =========================================== Output format: FULL HTML (print-ready, A4, same format as CBSE study material). Use the CSS classes below. NO plain Markdown — use HTML elements only. HTML STRUCTURE TO GENERATE:
CBSE | XI CS | Unit 2: Computational Thinking and Programming – I (Python) | 35 min