Dictionary in Python MCQ for class 11-12

Dictionary in Python MCQ for class 11-12   1. In order to store values in terms of key and value we use what core data type a) list b) tuple c) class d) dictionary     2. What is the output of the following code? a={1:”A”,2:”B”,3:”C”} print(a.setdefault(3)) a) {1: ‘A’, 2: ‘B’, 3: ‘C’} c) … Read more

Term 1 Sample Paper Informatics Practices Class 12

Term 1 Sample Paper Informatics Practices Class 12 Subject Code: 065 Time Allowed: 90 minutes Maximum Marks: 35 General Instructions: 1. The paper is divided into 3 Sections- A, B and C. 2. Section A, consists of Question 1 to 25 and student need to attempt 20 questions. 3. Section B, consists of Question number … Read more

100+ Text File MCQ Question Bank For Class 12

Text File MCQ Question Bank For Class 12   1. Which of the following command is used to open a file “c:\temp.txt” in read-mode only? a) infile = open(“c:\temp.txt”, “r”) b) infile = open(“c:\\temp.txt”, “r”)  c) infile = open(file = “c:\temp.txt”, “r+”) d) infile = open(file = “c:\\temp.txt”, “r+”)   2. Which of the following … Read more

CSV File MCQ Question Bank For Class 12

CSV File MCQ Question Bank For Class 12   1. To open a file c:\scores.csv for reading, we use _______ command. a) infile = open(“c:\scores.csv”, “r”) b) infile = open(“c:\\scores.csv”, “r”) c) infile = open(file = “c:\scores.csv”, “r”) d) infile = open(file = “c:\\scores.csv”, “r”)     2. State True/False : (i) The csv files … Read more

(Solved)Information Technology (402) Term 1 Sample Paper for class 10 2021-22

Information Technology (402) Term 1 Sample Paper for class 10 2021-22 INFORMATION TECHNOLOGY (SUBJECT CODE 402) CLASS X (SESSION 2021-2022) SAMPLE QUESTION PAPER FOR TERM -1 Max. Time Allowed: 60 Minutes (1 Hrs.) Max. Marks: 25 General Instructions: 1. Please read the instructions carefully 2. This Question Paper is divided into 03 sections, viz., Section … Read more

Copywrite © 2020-2025, CBSE Python,
All Rights Reserved