CBSE Class 11 Computer Science – Python Basics, Tokens, Variables & Data Types

Subject Code 083 | Session 2026–27 | Free TeachGyan Study Resource

Detailed Explanation

Python is a high-level language with interactive and script execution modes. Its tokens include keywords, identifiers, literals, operators and punctuators. Variables refer to values and Python determines their type dynamically. Class XI covers int, float, complex, bool, str, list, tuple, None and dictionary. Lists and dictionaries are mutable; strings and tuples are immutable. Comments document code without becoming executable statements.

Key Points Explained

  • Learn the terminology rather than memorising isolated lines.
  • Connect each rule or component with its purpose.
  • Use examples to test whether you can apply the concept.
  • For Python, trace the program before predicting its output.
  • For theory, support answers with a relevant example or comparison.

Worked Application

Predict the types of 25, 3.5, 2+3j, True, ‘CBSE’, [1,2], (1,2), {‘a’:1} and None, and justify each.

Chapter-Specific MCQs

  1. Which of these is immutable? (A) Tuple (B) List (C) Dictionary (D) None of these.
  2. Which approach best demonstrates understanding of this chapter? (A) Applying its specific rule to a new situation (B) copying an unrelated answer (C) memorising headings only (D) ignoring conditions. Answer: A.
  3. When a question changes the numbers or context but tests the same principle, the student should: (A) apply the underlying concept (B) reject the question (C) memorise a new answer blindly (D) omit reasoning. Answer: A.
  4. Which is most useful for checking an answer in Computer Science? (A) Testing with suitable cases (B) Guessing output (C) ignoring edge cases (D) skipping execution. Answer: A.
  5. A technically strong answer should use: (A) correct terminology and reasoning (B) unrelated facts (C) only a heading (D) decorative text. Answer: A.

HOTS & Competency-Based Questions

  1. Explain identifier, keyword, literal, operator and punctuator using Python examples.
  2. Construct a new real-world or programming situation in which this chapter’s main concept is necessary. Explain your reasoning.
  3. Identify one common beginner mistake related to this topic and show the corrected approach.

Short-Answer Practice

  1. Define three important terms from this chapter and explain each in one or two sentences.
  2. Differentiate two closely related concepts from this chapter using at least three points.
  3. Explain the worked application above in your own words and identify the rule or principle used.
  4. Give one original example that demonstrates the chapter concept.

Long-Answer Practice

Write a structured answer covering the concept, its components or steps, one worked example, common mistakes and one application. Use a table, flowchart or code block where it improves clarity.

Practical / Programming Practice

For programming topics, write and execute at least two original programs related to this chapter. Test normal input, boundary input and an unexpected input. Record the expected output before execution and explain any difference.

Quick Revision

  • Definitions and terminology
  • Rules / syntax / sequence
  • Worked example
  • Common errors
  • One competency application
  • One fresh practice problem

Exam Tip

Answer the command word precisely. “Define” needs a concise meaning; “explain” needs mechanism or reasoning; “differentiate” needs paired differences; “justify” needs evidence; and programming questions require readable, logically correct code.

Shopping cart

0
image/svg+xml

No products in the cart.

Continue Shopping