Author name: Digital Study Lab Team

Computer Science

Class 12 CS Python File Handling MCQs with Answers – Part 5

Class 12 CS File Handling MCQs Part 5 | Python Practice Quiz Class 12 Computer Science Python File Handling MCQs — Part 5 (Questions 81 to 100) Deep-Dive Concept Review Master edge cases in stream flushing, binary seek offsets, exception hierarchy, custom CSV delimiters, unpickling multiple records, and path handling. Total Questions: 20 Score: 0

Computer Science

Class 12 CS Python File Handling MCQs with Answers – Part 4

Class 12 CS File Handling MCQs Part 4 | Python Practice Quiz Class 12 Computer Science Python File Handling MCQs — Part 4 (Questions 61 to 80) Advanced Concept Review Master edge cases in CSV parsing, file stream pointers, boolean state checks, binary updating, and file object attributes. Total Questions: 20 Score: 0 / 20

Computer Science

Class 12 CS Python File Handling MCQs with Answers – Part 3

Class 12 CS File Handling MCQs Part 3 | Python Practice Quiz Class 12 Computer Science Python File Handling MCQs — Part 3 (Questions 41 to 60) Original Practice Questions for Class 12 CS Test your knowledge on file object attributes, custom delimiters, file truncation, relative seeking in binary files, and pickle serialization logic. Total

Computer Science

Class 12 CS Python File Handling MCQs with Answers – Part 2

Class 12 CS File Handling MCQs Part 2 | Python Practice Quiz Class 12 Computer Science Python File Handling MCQs — Part 2 (Questions 21 to 40) Advance Level Practice for Board Exams This module tests conceptual knowledge on binary searches, offset seeking in binary files, pickle exception handling, string line counts, CSV dict reader

Computer Science

Python MCQs Strings

Q1. Which data type is used to store text in Python? A) char B) string C) str D) text Show Answer ✅ Correct Answer: (C) str 📘 Explanation: Python uses the str data type to store text. Q2. Which of the following is the correct way to create a string? A) ‘Hello’ B) Hello C)

Computer Science

Python MCQs Function

Q1. What is a function in Python? A) A variable B) A block of reusable code C) A data type D) A loop Show Answer ✅ Correct Answer: (B) A block of reusable code 📘 Explanation: A function is a reusable block of code that performs a specific task. Q2. Which keyword is used to

Computer Science

Python MCQs Control Statements (if, loops)

Q1. Which keyword is used for conditional execution in Python? A) switch B) if C) when D) select Show Answer ✅ Correct Answer: (B) if 📘 Explanation: if is used to test a condition and execute code accordingly. Q2. Which statement is used when an if condition is false? A) else B) elseif C) when

Computer Science

Python MCQs Operators

Q1. Which operator is used for addition in Python? A) * B) + C) – D) / Show Answer ✅ Correct Answer: (B) + 📘 Explanation: The + operator is used to add two values. Q2. Which operator is used to find the remainder of a division? A) / B) // C) % D) **

Computer Science

Python MCQs Data Types

Q1. Which of the following is a built-in data type in Python? A) real B) float C) double D) character Show Answer ✅ Correct Answer: (B) float 📘 Explanation: float is a built-in Python data type used to store decimal values. Q2. Which data type is used to store whole numbers in Python? A) float

Computer Science

Python MCQs Algorithm, Flowchart, Pseudocode

Q1. What is an algorithm? A) A programming language B) A flowchart C) A step-by-step procedure to solve a problem D) A software Show Answer ✅ Correct Answer: (C) A step-by-step procedure to solve a problem 📘 Explanation: An algorithm is a finite, ordered set of steps used to solve a specific problem. Q2. Which

Computer Science

Python MCQs Variables

Q1. What is a variable in Python? A) A keyword B) A data type C) A memory location used to store a value D) A function Show Answer ✅ Correct Answer: (C) A memory location used to store a value 📘 Explanation: A variable stores data values in memory and can change during program execution.

Scroll to Top