Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 3

(iv) For which attribute fixed length string is suitable?

1
DAV Public School, Parasi (A) Salary (B) City (C) Gender (D) Age
Annual Examination, Session: 2023-24 (v) _____ is a system that allows a group of connected computers to maintain
Subject: Informatics Practices (065)
Class: XI Max. Marks: 70 a single updated and secure ledger which is updated only after all the nodes
Time: 3 Hours Date: 22-02-2023 in the network authenticate the transaction. 1
There are eight questions in this question paper. (A) P2P (B) Client Server (C) DBMS (D) Blockchain
General Instruction: 2. (a) Find the primary memory from the following:
1. All questions are compulsory.
2. Answer the questions after carefully reading the text. RAM, DVD, Magnetic Tape, PROM, Memory Card. 1
3. Student has to answer only one question where choice is given. (b) Suppose there is a computer with RAM but no secondary memory. Can
4. All programming questions have to be answered with respect to we install software on that computer? 2
Python only.
(c) What security threats are involved when we throw away electronic
5. In Python indentation is mandatory; however, number of spaces used
for indenting may vary. gadgets that are non-functional? 2
6. In SQL related questions - semicolon should be ignored for (d) Briefly write about the functionality of each component. 4
terminating the SQL statements.
OR
7. Use of calculators is not permitted.
What is specific purpose application software? Also, differentiate
Multiple Choice Questions
between system software and application software. 4
1. (i) The components of a computer are called hardware. 1
3. (a) What are string literals, how can they be created? 1
(A) Physical (B) Logical (C) Application (D) None
(b) In which, membership operators are used? 1
(ii) Which of the following character is used to give single-line comments in
(c) Write the output of the given Python code:
Python? 1
list1= ['physics', 'chemistry', 1997, 2000]
(A) // (B) # (C) ! (D) /
list2 [1, 2, 3, 4, 5, 6, 7]
(iii) The tuple in the table is related to: 1
print ("List1[1:5]", list2[1:5]) 1
(A) Single row of the table (B) Single column of the table
(d) Are lists mutable or immutable? 1
(C) Name of table (D) None of these
(e) When are dictionaries more useful than lists? 2 (c) Given Employee table as follows: 2
OR Employee_Id NAME Commission
Write a module to calculate and display the sum of all odd numbers in a 101 Prabhat NULL
list. 2 102 Divya 8900
(f) Write short note on Python Dictionaries? 4
103 Arif NULL
4. (a) Help Kiyaan in predicting the output of the following queries: 3 What values will the following statements returns?
(i) SELECT (15/3+6*2-1) AS 'FINAL'; (i) SELECT Name FROM Employee WHERE Employee_Id = 101;
(ii) SELECT (16% 3+5*2) AS 'RESULT'; (ii) SELECT Employee_Id FROM Employee WHERE Commission > 8500;
(iii) SELECT (5*8/4+3) AS 'PRINT'; (d) Write the command to create table Student using following data: 2
(b) Write command to create database School in which create table Student Column Name Data Type
whose fields are: 3 Student_ID Varchar(5) Primary key
Stu_Name Char(20)
Column Name Data Type
Subject Char (20)
RollNo int
Marks Integer
Name char
Address Varchar(30)
Class varchar
Address varchar
Section int (e) Consider the table Student given below where ID is primary key, write
RegistrationID Varchar commands in SQL: 4
(c) What do you mean by VARCHAR? 3
ID Name City Stream Percentage
(d) Explain SELECT command with an example. 4 1201 Amar Lucknow Science 85
5. (a) What are the possible values for BOOLEAN data field? 1 1202 Dimpy Agra Art 80
1203 Esha Kanpur Art 75
OR
1204 Himanshu Agra Art 87
Which of the following is not a valid SQL data type? 1205 Shyam Lucknow Science 90
DECIMAL, FLOAT, CHARACTER, NUMERIC 1
(b) What is the difference between CHAR and VARCHAR2 data type in (i) Display the student’s name and stream who lives in Lucknow.
SQL? 2 (ii) Display the student ID and name whose percentage is greater than 80.
(iii) Display the student names who is from Art Stream and whose (i) print(Book.get("Price")) displays:
percentage is less than 80. (A) 560 (B) Invalid statement (C) 'Price':560 (D) None
(iv) Display all the details of students. (ii) print(Book.get(480)) displays:
(f) Explain hierarchical model in DBMS. 4 (A) 'Pages' (B) Error (C) 'Pages':480 (D) None
6. (a) What are mutable object and immutable object? 2 (iii) len(Book['Name']) will return the value:
(b) What is the error in following Python program with one statement? (A) 23 (B) 22 (C) 2 (D) Error
print ("My favourite subject is ", subject) 2 (iv) The statement Book["New Age"] = "Publisher" will:
(c) Find the output of the following questions based on given dictionary 3 (A) Generate error
Employee = {'Name': 'Rakesh', 'Dept': 'Accountant', 'Salary': 25000} (B) Add new element into dictionary as ('New Age': 'Publisher')
(i) Employee. keys () (C) Add new element into dictionary as ('Publisher': 'New Age')
(ii) Employee. values () (D) None of these
(iii) Employee ['Age'] = 25 (v) The statement Book.clear() will:
(iv) Employee.pop ('Dept') (A) clear is not function of dictionary
(v) Employee.get ('Name') (B) delete first key and value from the dictionary
(vi) len(Employee) (C) Clear all the data from the dictionary Book
(d) Write a program to print sum of first n natural numbers. 3 (D) None of these
7. (a) Explain Internet of Things (IoT). 2
(b) Differentiate between public cloud and private cloud. 2
Case Based Questions (Attempt any 4)
8. Consider the following dictionary in Python: 4
Book = {"Name": "Information Technology", "Price": 560, "Author": "Dr.
D.S. Yadav", "Pages": 480, "Year": 1998}

You might also like