Total Pageviews

Saturday, September 5, 2026

ANKITA

Comprehensive AI Assessment

Compiled questions from Chapter 1 and Chapter 2. Attempt all sections.

A. Select the correct option.

1. What was the first artificial intelligence program called?

2. Which of these is the name of the first chatbot?

3. Which of these was the first intelligent humanoid robot?

4. What are the applications of artificial intelligence in healthcare?

5. Which of these is not an application of AI in education?

6. Which of the following functions is not carried out by robots in the agriculture sector?

7. An AI-powered car that can drive autonomously without a driver present is called:

8. How do social media apps use AI?

B. Fill in the blanks.

1. Technological developments are only limited by human __________.

2. Warren McCulloch and Walter Pitts modelled a simple __________ with electrical circuits.

3. Devices like Fitbit or iWatch collect data like the sleep patterns of the individual, heart rate, etc., which can help with early disease __________.

4. __________ act as friendly customer service representatives that work 24/7 to help people shop.

5. Search engines show you __________ based on your search.

6. Chatbots use __________ driven by AI to answer queries and carry out tasks.

7. AI-powered __________ and __________ are used for spraying insecticides and detecting weed formation on large farms.

8. To better understand conversations, Facebook employs AI in conjunction with a tool known as __________.

C. Write T for True and F for False.

1. Mythology and science fiction can evolve into reality as time progresses.

[ ]

2. A chatbot can convince people that they are talking to a human and not an AI.

[ ]

3. IBM Deep Blue is an AI-based program.

[ ]

4. Personal digital assistants use speech recognition to answer questions.

[ ]

5. AI cannot be trained to generate music and graphics.

[ ]

6. Robots are too clumsy to assist doctors during surgery.

[ ]

7. Frauds during ecommerce transactions cannot be prevented.

[ ]

8. AI helps in making personal recommendations to users in ecommerce, entertainment, apps, etc.

[ ]

9. AI can detect and remove spam from your inbox.

[ ]

10. ISRO's Vyommitra can support astronauts on crewed missions.

[ ]

D. Answer in one word or sentence.

1. What is first AI writer?

2. What does the Turing test check?

3. What did the Logic Theorist program prove?

4. How does AI help in physical therapy?

5. How can AI help in keeping a check on the mental health of children?

6. How can robots help us with housekeeping?

7. How is home security empowered by AI?

8. Mention any three tasks that can be carried out by digital assistants like Amazon Echo.

E. Answer the following questions.

1. What was the reason for the second AI winter?

2. What was the aim of the first AI conference at Dartmouth? What did the conference achieve?

3. What were the important developments during the golden years of AI?

4. What was Project Debater? Write down its aim.

5. What are GANs?

6. What was the name of Google's first self-driving car?

7. What is an android?

8. Give any one example of the following AI-powered applications: a. Social media, b. Navigation, c. Chatbot, d. E-Commerce

9. AI can help in making online shopping a pleasant experience for customers - Justify.

10. Mention any three fields where robots are being used and in what way.

11. What is the change brought about by the 'Internet of Things' in home automation? Mention the AI-enabled smart devices that can be used at home.

12. What are the tasks carried out by AI-powered robots to help in enhancing crop production?

13. Give an example of how ISRO is using AI in space expeditions.

F. AI Imagine (Project Work & Scenario Questions)

1. Imagine that you are an AI-powered humanoid. What would be your name? Write an autobiography of 10 to 12 lines on how you were created and how you helped in making the world a better place. You can make a sketch of the humanoid indicating the special features you would have.

2. The world is still facing wars between countries and disasters like earthquakes or tornadoes where thousands of people get affected – they face the danger of hunger and starvation, lack of proper medical supplies, getting separated from their family or getting trapped under debris. Make a PowerPoint presentation on how AI could help in such situations:
a. How can AI help in rescuing humans trapped under debris by the heat they emit and rescue teams?
b. If you could go back in time and change history, what is the one issue you would address any one of the following issues facing the world today: poverty, hunger, climate change. State your reasons.

3. If you were given the following themes to develop an AI project, which one of the themes would you choose? Mention the function that your project would perform. For example, 'I would like to make an app/project on cooking, where it would tell the users how to cook nutritional food.'
Themes: Painting, Story telling, Music, Nature related, Cooking, Dancing

srijit hitartho

🚗
🤖
🗼 💻 🖥️ 🧠
🖥️
🗼
✨ ICSE Computer Applications Assessment ✨

Computism Lab

Class 8 - Java Programming & Basic Concepts

🧠
🤖
Subject: Computer Applications (Java)
Max Marks: 70
Time Allowed: 2 Hours
Section A: Multiple Choice Questions on Datatypes10 Marks
  1. What is the size of an `int` data type in Java?
    • a. 2 bytes
    • b. 4 bytes
    • c. 8 bytes
    • d. 1 byte
  2. Which of the following is a non-primitive (reference) data type in Java?
    • a. int
    • b. char
    • c. String
    • d. double
  3. What is the default value of a `boolean` data type variable in Java?
    • a. true
    • b. false
    • c. 0
    • d. null
  4. Which data type occupies the maximum memory space in Java?
    • a. float
    • b. int
    • c. double
    • d. short
  5. What is the size of a `char` data type in Java?
    • a. 1 byte
    • b. 2 bytes
    • c. 4 bytes
    • d. 8 bytes
  6. Which of these integer data types has the smallest range?
    • a. int
    • b. long
    • c. byte
    • d. short
  7. Which data type is appropriate for storing fractional numbers like `99.99` by default?
    • a. float
    • b. double
    • c. int
    • d. char
  8. What kind of literal is `true` in Java?
    • a. Integer literal
    • b. Boolean literal
    • c. Character literal
    • d. String literal
  9. Which category do primitive data types belong to?
    • a. User-defined
    • b. Reference
    • c. Built-in / Fundamental
    • d. Derived
  10. What is the default data type for whole integer numbers in Java expressions?
    • a. byte
    • b. short
    • c. int
    • d. long
Section B: Assertion-Based MCQs on Java Basics10 Marks
  1. Assertion (A): Java is a platform-independent language.
    Reason (R): Java code is compiled into bytecode which can execute on any system with a JVM.
    a) Both A and R are true, and R is the correct explanation of A.
    b) Both A and R are true, but unrelated.
    c) A is true, R is false.
    d) A is false, R is true.
  2. Assertion (A): Variable names in Java are case-sensitive.
    Reason (R): `Rate` and `rate` are interpreted as two distinct identifiers by the Java compiler.
    a) Both A and R are true, and R is the correct explanation of A.
    b) Both are true, unrelated.
    c) A is true, R is false.
    d) A is false, R is true.
  3. Assertion (A): Every executable Java application requires a `main()` method.
    Reason (R): The JVM looks for the `main()` method as the starting point for program execution.
    a) Both A and R are true, and R is the correct explanation of A.
    b) Both are true, unrelated.
    c) A is true, R is false.
    d) A is false, R is true.
  4. Assertion (A): Semicolons are optional at the end of statements in Java.
    Reason (R): Every complete Java statement must be terminated with a semicolon.
    a) Both are true.
    b) A is true, R is false.
    c) A is false, but R is true.
    d) Both are false.
  5. Assertion (A): Comments are executed during runtime to calculate values.
    Reason (R): Comments are ignored by the compiler and are meant only for documentation.
    a) Both are true.
    b) A is true, R is false.
    c) A is false, but R is true.
    d) Both are false.
  6. Assertion (A): The assignment operator (`=`) is used to test equality between two variables.
    Reason (R): Equality is tested using the relational operator `==`.
    a) Both A and R are true.
    b) A is true, R is false.
    c) A is false, but R is true.
    d) Both are false.
  7. Assertion (A): The `print()` method prints text and keeps the cursor on the same line.
    Reason (R): `println()` automatically inserts a newline character after printing output.
    a) Both A and R are true, and R is the correct explanation of A.
    b) Both are true, unrelated.
    c) A is true, R is false.
    d) A is false, R is true.
  8. Assertion (A): Keywords can be used as variable names in Java.
    Reason (R): Keywords are reserved words with pre-defined meanings in the Java language.
    a) Both A and R are true.
    b) A is true, R is false.
    c) A is false, but R is true.
    d) Both are false.
  9. Assertion (A): The `if-else` statement is used for decision-making in Java.
    Reason (R): It allows alternate blocks of code to execute depending on a boolean condition.
    a) Both A and R are true, and R is the correct explanation of A.
    b) Both are true, unrelated.
    c) A is true, R is false.
    d) A is false, R is true.
  10. Assertion (A): Division of two integers using `/` yields an integer result, discarding fractional parts.
    Reason (R): Integer division truncates any decimal remainder in Java.
    a) Both A and R are true, and R is the correct explanation of A.
    b) Both are true, unrelated.
    c) A is true, R is false.
    d) A is false, R is true.
Section C: True or False5 Marks
  1. Java is an object-oriented programming language. (True / False)
  2. A variable name in Java can start with a numeric digit. (True / False)
  3. The postfix increment operator (`++`) increases the value of the variable after its evaluation. (True / False)
  4. The `else` block is compulsory whenever an `if` statement is used. (True / False)
  5. Single-line comments in Java begin with `//`. (True / False)
Section D: Find the Output (Prefix/Postfix & If-Else Snippets)20 Marks
  1. Snippet 1:
    int a = 5;
    int b = ++a + a++;
    System.out.println("a = " + a + ", b = " + b);
  2. Snippet 2:
    int x = 10;
    int y = x++ + 3;
    System.out.println("x = " + x + ", y = " + y);
  3. Snippet 3:
    int m = 8;
    int n = --m - m--;
    System.out.println("m = " + m + ", n = " + n);
  4. Snippet 4:
    int a = 12;
    if (a % 2 == 0) {
      System.out.println("Even");
    } else {
      System.out.println("Odd");
    }
  5. Snippet 5:
    int p = 5, q = 10;
    if (p > q) {
      System.out.println(p);
    } else {
      System.out.println(q);
    }
  6. Snippet 6:
    int val = 4;
    int res = --val * 2;
    System.out.println("val = " + val + ", res = " + res);
  7. Snippet 7:
    int num = 7;
    if (num > 5) {
      num += 3;
    } else {
      num -= 2;
    }
    System.out.println(num);
  8. Snippet 8:
    int x = 2;
    int y = x++ + ++x + x;
    System.out.println(y);
  9. Snippet 9:
    int score = 75;
    if (score >= 90) {
      System.out.println("Grade A");
    } else if (score >= 60) {
      System.out.println("Grade B");
    } else {
      System.out.println("Grade C");
    }
  10. Snippet 10:
    int c = 3;
    int d = c++ * ++c;
    System.out.println("c = " + c + ", d = " + d);
Section E: Java Basic Programs (5 Programs)25 Marks
  1. Program 1: Even or Odd Number Checker
    Write a Java program to check whether a given integer (`int n = 14`) is even or odd using an `if-else` statement.

  2. Program 2: Greatest of Three Numbers
    Write a Java program to find and print the greatest among three given numbers (`a = 15`, `b = 25`, `c = 20`) using nested `if-else`.

  3. Program 3: Simple Interest Calculator
    Write a Java program to calculate Simple Interest given Principal (`P = 5000`), Rate (`R = 7.5`), and Time (`T = 3` years) using the formula $SI = (P \times R \times T) / 100$.

  4. Program 4: Print Numbers from 1 to 10
    Write a Java program using a `for` loop to print numbers from 1 to 10, each separated by a space or on a new line.

  5. Program 5: Vowel or Consonant Checker
    Write a Java program using a `switch` statement to check whether a given character (`char ch = 'e'`) is a vowel or a consonant.

⭐ Best of Luck for Your Examination! Code with Precision and Confidence! 🚀
CREATED BY BIJAN KRISHNA PAUL

COMPUTISM LAB CLASS 5 HALF YEARLY EXAMINATION

💻
🤖
🖥️
🗼
✨ Class 5 Computer Science Examination ✨

KCOMPUTISM LAB CLASS 5 HALF YEARLY EXAMINATION

Half-Yearly Assessment

🧠
🤖
Class: 5
Max Marks: 70
Time Allowed: 2 Hours
Section A: Fill in the Blanks10 Marks
  1. The term 'software' was first used by John W. in 1957.
  2. An operating system acts like a school managing a computer's tasks.
  3. The default tab stop in Word is set at every inch.
  4. First generation computers were based on tubes.
  5. Charles is considered as the father of computers.
  6. The option places the selected text slightly above the baseline.
  7. Application software cannot run without software.
  8. ENIAC consisted of 18,000 vacuum tubes and weighed tons.
  9. The shortcut key to use the Find feature in MS Word is Ctrl + .
  10. Fourth generation computers are based on microprocessors called circuits.
Section B: Multiple Choice Questions (MCQs)20 Marks
  1. Which of the following was the first mechanical calculating device?
    • a. Pascaline
    • b. Abacus
    • c. Mark I
    • d. ENIAC
  2. Who invented the first mechanical calculator called Pascaline?
    • a. John Napier
    • b. Blaise Pascal
    • c. Howard Aiken
    • d. Herman Hollerith
  3. Which of these was the first general-purpose electronic digital computer?
    • a. UNIVAC I
    • b. ENIAC
    • c. EDVAC
    • d. Mark I
  4. Transistors were used in which generation of computers?
    • a. First Generation
    • b. Second Generation
    • c. Third Generation
    • d. Fourth Generation
  5. Integrated Circuits (ICs) were the main technology of which generation?
    • a. First
    • b. Second
    • c. Third
    • d. Fourth
  6. Which high-level language came into existence during the second generation?
    • a. FORTRAN
    • b. PASCAL
    • c. Scratch
    • d. C++
  7. Software is broadly classified into how many types?
    • a. One
    • b. Two
    • c. Three
    • d. Four
  8. Which of the following is an example of an operating system?
    • a. MS Word
    • b. Windows
    • c. Paint
    • d. WinZip
  9. What is the first spreadsheet program ever created?
    • a. MS Excel
    • b. VisiCalc
    • c. Lotus 1-2-3
    • d. Google Sheets
  10. Which utility software reduces the size of files to save disk space?
    • a. Backup
    • b. Compression
    • c. Defragmentation
    • d. Disk Cleanup
  11. The process of rearranging fragmented data into contiguous blocks is called:
    • a. Compression
    • b. Defragmentation
    • c. Formatting
    • d. Backing up
  12. Which tool helps copy formatting from one text and apply it to another?
    • a. Format Painter
    • b. Find and Replace
    • c. Subscript
    • d. Superscript
  13. Where is the header placed in a Word document?
    • a. Bottom
    • b. Top
    • c. Middle
    • d. Center
  14. Which tab contains the Columns and Page Setup options in Word?
    • a. Home tab
    • b. Insert tab
    • c. Layout tab
    • d. View tab
  15. What is the default page orientation in MS Word?
    • a. Landscape
    • b. Portrait
    • c. Vertical
    • d. Square
  16. Which feature is used to insert a picture from your computer PC?
    • a. Online Pictures
    • b. This Device
    • c. Clip Art
    • d. Shape
  17. Language processors include assembler, compiler, and:
    • a. Interpreter
    • b. Defragmenter
    • c. Generator
    • d. Formatter
  18. Which technology connects everyday objects like light bulbs and thermostats to the internet?
    • a. Artificial Intelligence
    • b. Internet of Things (IoT)
    • c. Virtual Reality
    • d. Robotics
  19. What is the shortcut key for the Replace feature in Word?
    • a. Ctrl + F
    • b. Ctrl + H
    • c. Ctrl + R
    • d. Ctrl + P
  20. Which device was invented by Herman Hollerith for tabulating data?
    • a. Mark I
    • b. Tabulating Machine
    • c. Analytical Engine
    • d. UNIVAC I
Section C: Assertion-Based MCQs10 Marks
  1. Assertion (A): An operating system acts as a bridge between the user and computer hardware.
    Reason (R): Without an operating system, a computer cannot manage its internal activities or run applications.
    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.
  2. Assertion (A): First generation computers produced massive heat and burnt out frequently.
    Reason (R): They were built using thousands of vacuum tubes.
    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.
  3. Assertion (A): Application software can run independently without any system software.
    Reason (R): System software controls the overall operations and manages system resources for application programs.
    a) Both A and R are true.
    b) A is true, but R is false.
    c) A is false, but R is true.
    d) Both A and R are false.
  4. Assertion (A): Defragmentation speeds up data retrieval on a hard disk.
    Reason (R): It consolidates scattered file pieces into a single contiguous area.
    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.
  5. Assertion (A): Computers possess real human thinking and emotions.
    Reason (R): Artificial intelligence enables computers to solve complex problems and learn from patterns.
    a) Both A and R are true.
    b) A is true, R is false.
    c) A is false, but R is true.
    d) Both A and R are false.
  6. Assertion (A): The Format Painter tool copies text formatting from one place and applies it to another.
    Reason (R): It copies font styles, sizes, colors, and border settings effortlessly.
    a) Both A and R are true, and R is the correct explanation of A.
    b) Both A and R are true, but unrelated.
    c) A is true, R is false.
    d) A is false, R is true.
  7. Assertion (A): The default page orientation in MS Word is Landscape.
    Reason (R): Portrait orientation prints text vertically along the longer side of the page.
    a) Both A and R are true.
    b) A is true, R is false.
    c) A is false, but R is true.
    d) Both A and R are false.
  8. Assertion (A): Virtual Reality (VR) immerses a user in a completely different digital environment using a special headset.
    Reason (R): Augmented Reality (AR) adds digital elements directly into the real physical world.
    a) Both A and R are true, and R explains AR while A explains VR.
    b) Both are false.
    c) A is true, R is false.
    d) A is false, R is true.
  9. Assertion (A): A backup utility helps protect against data loss if a hard disk fails.
    Reason (R): Backups create duplicate copies of important data on secondary storage devices.
    a) Both A and R are true, and R is the correct explanation of A.
    b) Both A and R are true, but unrelated.
    c) A is true, R is false.
    d) A is false, R is true.
  10. Assertion (A): Third generation computers replaced transistors with Integrated Circuits (ICs).
    Reason (R): ICs made computers larger, slower, and more expensive than second-generation machines.
    a) Both A and R are true.
    b) A is true, R is false.
    c) A is false, R is true.
    d) Both are false.
Section D: True or False10 Marks
  1. Abacus was the first mechanical device invented to perform calculations. (True / False)
  2. Computers do not need electrical power or internet connection to operate. (True / False)
  3. System software runs in the background and users cannot interact directly with it. (True / False)
  4. Disk Cleanup helps free up hard drive space by removing unwanted temporary files. (True / False)
  5. You cannot insert a line break in the middle of a sentence in Word. (True / False)
  6. The Superscript option places selected text slightly below the baseline. (True / False)
  7. Charles Babbage is known as the father of modern computers. (True / False)
  8. Fourth generation computers use microprocessors based on VLSI circuits. (True / False)
  9. The columns option allows you to format document text in newspaper style. (True / False)
  10. Computers possess real instincts and can experience feelings like happiness or sadness. (True / False)
Section E: Short Answer Questions (2 Marks Each)20 Marks
  1. What is software? Name its two main types.
  2. State any two main functions of an operating system.
  3. Define backup. Why is regular data backup essential?
  4. What is the purpose of the Disk Cleanup utility in a computer system?
  5. Differentiate between Superscript and Subscript options in MS Word.
  6. What is the use of headers and footers in a document?
  7. Differentiate between system software and application software.
  8. What are language processors? Name the three types of language processors.
  9. Write any two limitations of a computer.
  10. What is Artificial Intelligence (AI)? Give two examples of AI applications.
⭐ Best of Luck for Your Examination! Keep Learning! 🚀
CREATED BY BIJAN KRISHNA PAUL

saptarshi srija

🚗
🤖
🗼 💻 🖥️ 🧠
🖥️
🗼
✨ Computer Science Examination Assessment ✨

COMPUTISM LAB 

 HALF YEARLY EXAMINATION

Loops in Python & Advanced Control Structures

🧠
🤖
Standard: Python Programming
Max Marks: 100
Time Allowed: 3 Hours
Section A: Fill in the Blanks10 Marks
  1. The statement is used to terminate the loop prematurely even if the condition is not met.
  2. In Python, you can have an else block with a loop that is executed when the loop completes .
  3. The statement acts as an empty placeholder that does not do anything.
  4. A loop in Python is used to repeatedly execute a block of code as long as a specified condition remains True.
  5. To iterate over each character in a string using a for loop, we use the syntax .
  6. The statement skips the current iteration and moves to the next iteration.
  7. In a while loop, the condition is evaluated at the of each iteration.
  8. Multi-dimensional data handling can be efficiently achieved using loops.
  9. Python's famous Zen philosophy emphasizes that counts.
  10. The control variable in a range-based for loop automatically updates with each .
Section B: Multiple Choice Questions (MCQs)10 Marks
  1. Why do we use loops in Python?
    • a. To make the code look longer
    • b. To execute code only once
    • c. To automate repetitive tasks
    • d. To slow down execution
  2. Which type of loop is used to repeat a set of instructions for a specific number of times?
    • a. When loop
    • b. For loop
    • c. Repeat loop
    • d. Infinite loop
  3. What does the break statement do in a loop?
    • a. Skips current iteration
    • b. Continues the loop
    • c. Exits loop prematurely
    • d. Restarts program
  4. What is the purpose of the else block in a loop?
    • a. Handles errors
    • b. Executes on normal completion
    • c. Runs on break
    • d. Loops infinitely
  5. Which statement is used when we want to do nothing in code blocks?
    • a. pass
    • b. continue
    • c. break
    • d. skip
  6. What will be the output of `range(1, 6)` in a for loop?
    • a. 1, 2, 3, 4, 5, 6
    • b. 1, 2, 3, 4, 5
    • c. 0, 1, 2, 3, 4, 5
    • d. 2, 3, 4, 5, 6
  7. Which loop checks the condition before entering the block?
    • a. while loop
    • b. do-while loop
    • c. repeat-until loop
    • d. infinite loop
  8. What happens if a while loop's condition never becomes False?
    • a. Syntax Error
    • b. Indentation Error
    • c. Infinite Loop
    • d. Normal Termination
  9. Which keyword is used to skip the rest of the code for current iteration?
    • a. break
    • b. continue
    • c. pass
    • d. exit
  10. Nested loops refer to:
    • a. Loops inside another loop
    • b. Parallel loops
    • c. Syntax error loops
    • d. Conditionless loops
Section C: Assertion-Based MCQs10 Marks
  1. Assertion (A): The `break` statement terminates the loop immediately when executed.
    Reason (R): It transfers control to the statement immediately following the loop.
    a) Both A and R are true, and R is the correct explanation of A.
    b) Both are true, but unrelated.
    c) A is true, R is false.
    d) A is false, R is true.
  2. Assertion (A): A `while` loop is best used when the exact number of iterations is known in advance.
    Reason (R): The `for` loop is specifically designed for iterating over sequences like strings or ranges.
    a) Both A and R are true.
    b) A is true, but R is false.
    c) A is false, but R is true.
    d) Both A and R are false.
  3. Assertion (A): The `pass` statement in Python causes a syntax error if left empty inside a loop.
    Reason (R): `pass` acts as a null statement or placeholder that does nothing when executed.
    a) Both are true.
    b) A is true, R is false.
    c) A is false, but R is true.
    d) Both are false.
  4. Assertion (A): An `else` block associated with a `for` loop executes even if a `break` statement terminates the loop.
    Reason (R): The loop-else block only executes when the loop finishes all iterations normally without breaking.
    a) Both A and R are true, and R is the correct explanation of A.
    b) A is true, R is false.
    c) A is false, but R is true.
    d) Both are false.
  5. Assertion (A): Infinite loops are always desirable in standard application programming.
    Reason (R): They consume CPU resources continuously without terminating unless interrupted.
    a) Both are true.
    b) A is true, R is false.
    c) A is false, but R is true.
    d) Both are false.
  6. Assertion (A): The `continue` statement skips remaining statements inside the loop for the current iteration.
    Reason (R): It jumps directly to the evaluation of the loop condition or next item.
    a) Both A and R are true, and R is the correct explanation of A.
    b) A is true, R is false.
    c) A is false, but R is true.
    d) Both are false.
  7. Assertion (A): Python allows loops to be nested inside one another.
    Reason (R): Nested loops are useful for working with multi-dimensional data structures like tables.
    a) Both A and R are true, and R is the correct explanation of A.
    b) Both are true, unrelated.
    c) A is true, R is false.
    d) A is false, R is true.
  8. Assertion (A): The initialization of the loop control variable is automatically handled in a standard `for` loop using `range()`.
    Reason (R): The `range()` function generates the sequence of numbers used by the loop automatically.
    a) Both A and R are true, and R is the correct explanation of A.
    b) A is true, R is false.
    c) A is false, R is true.
    d) Both are false.
  9. Assertion (A): A `while` loop will never execute its code block if the initial condition evaluates to False.
    Reason (R): The condition is tested prior to entering the loop body.
    a) Both A and R are true, and R is the correct explanation of A.
    b) Both are true, unrelated.
    c) A is true, R is false.
    d) A is false, R is true.
  10. Assertion (A): Using meaningful variable names in loops enhances code readability.
    Reason (R): Python's core design philosophy emphasizes code clarity and readability.
    a) Both A and R are true, and R is the correct explanation of A.
    b) Both are true, unrelated.
    c) A is true, R is false.
    d) A is false, R is true.
Section D: True or False10 Marks
  1. The `break` statement stops the loop execution immediately. (True / False)
  2. A `for` loop in Python cannot iterate through characters of a string. (True / False)
  3. The `else` block with a loop runs when the loop terminates via a `break` statement. (True / False)
  4. The `pass` statement is used as a temporary placeholder in code blocks. (True / False)
  5. A `while` loop requires the condition to eventually become False to avoid an infinite loop. (True / False)
  6. Nested loops mean having a loop inside another loop. (True / False)
  7. The `continue` statement exits the entire loop immediately. (True / False)
  8. Python's `range(1, 11)` generates numbers from 1 to 10. (True / False)
  9. Infinite loops are useful when creating servers that must run continuously. (True / False)
  10. Indentation is critical for defining the body of loops in Python. (True / False)
Section E: Short Answer Questions (2 Marks Each)10 Marks
  1. What is the difference between `break` and `continue` statements in Python loops?
  2. Explain the purpose of the `else` block used with loops in Python.
  3. What is an infinite loop? Give one scenario where it can occur accidentally.
  4. Define nested loops. Give a brief practical use case.
  5. What is the role of the `pass` statement in Python programming?

Section F: Python Programming Tasks (Final Question)25 Marks
  1. Program 1: Using `break` statement
  2. Program 2: Using `while` loop print all even no from 1 to 100
  3. Program 3: Using `continue` statement
  4. Program 4: Print all letter in new line of a String 
  5. Program 5: Loop with Else Block
    Write a Python program  that searches for a target number in a list and prints confirmation messages.
⭐ Best of Luck for Your Examination! Code with Confidence! 🚀
CREATED BY BIJAN KRISHNA PAUL