Orange IP065 11 QP

Download as pdf or txt
Download as pdf or txt
You are on page 1of 7

SAMPLE QUESTION PAPER

Informatics Practices (065)


Class XI (Session 2024-25)

Time allowed: 3 Hours Maximum Marks: 70

General Instructions:
● This question paper contains 37 questions.
● The paper is divided into 5 Sections- A, B, C, D, and E.
● Section A consists of 21 questions (1 to 21). Each question carries 1 Mark.
● Section B consists of 7 questions (22 to 28). Each question carries 2 Marks.
● Section C consists of 4 questions (29 to 32). Each question carries 3 Marks.
● Section D consists of 2 questions (33 to 34). Each question carries 4 Marks.
● Section E consists of 3 questions (35 to 37). Each question carries 5 Marks.
● All programming questions are to be answered using Python Language only.
● In case of MCQ, text of the correct answer should also be written.

Q No. SECTION A (21 × 1 = 21 Marks) Marks

1. Which of the following is an example of application software? 1


(A) Windows
(B) Microsoft Word
(C) Antivirus
(D) Linux

2. Name the input/output device used to do the following: 1


a. To get the hard copy of a document
b. To listen to an audio output

3. Which of the following is equal to 1 nibble? 1


(A) 2 bits
(B) 4 bits
(C) 6 bits
(D) 8 bits

4. Which of the following is not a valid identifier in Python? 1


(A) 1no
(B) no1
(C) no_1
(D) _no1

[1]
5. What value will be produced when the following expression is evaluated? 1
not False and True or False
(A) None
(B) 0
(C) True
(D) False

6. Rudra wants to access the second-to-last list element of the list object, myList. Help him select 1
an appropriate expression to accomplish his task.
(A) myList[2]
(B) myList[-2]
(C) myList [len(myList)-4]
(D) myList-2

7. Which of the following operators has the highest precedence? 1


(A) *
(B) **
(C) *=
(D) **=

8. Which of the following data types is not supported by MySQL? 1


(A) INT
(B) DATE
(C) VARCHAR
(D) POWER

9. Consider the table, Student, in MySQL with the following fields: 1


studentID, name, deptName, totalCredits
Which command will be used to change the total credits for a student?
(A) EDIT
(B) ALTER
(C) UPDATE
(D) MODIFY

10. Which of the following is a DDL command? 1


(A) DELETE
(B) UPDATE
(C) CREATE TABLE
(D) SELECT

11. Identify which of the following SQL queries is incorrect and will result in an error: 1
(A) SELECT * FROM EMP WHERE EMPID = 10003;
(B) SELECT EMPID FROM EMP WHERE EMPID = 10006;
(C) SELECT EMPID FROM EMP;
(D) SELECT EMPID WHERE EMPID =10009 AND LASTNAME='GUPTA';

[2]
12. Which of the following is NOT true about an RDBMS? 1
(A) It follows a relational data model to define and represent data
(B) It stands for Relational Data Management System
(C) It allows users to enforce various constraints on data.
(D) Each attribute in a relation has a unique name

13. What is the result of Data Redundancy? 1


(A) Decrease Processing Effort
(B) Saving of Storage space
(C) Inconsistent Data
(D) None of these

14. Which of the following signifies the absence of value in a MySQL table? 1
(A) None
(B) NULL
(C) Space
(D) 0 (Zero)

15. Which MySQL command is used to delete a column from a table? 1


(A) DELETE
(B) DROP
(C) ALTER
(D) UPDATE

16. The default format of date values in MySQL is __________. 1


(A) MM-YYYY-DD
(B) DD-MM-YYYY
(C) YYYY-MM-DD
(D) DD-YYYY-MM

17. _______________technology makes the users feel as if they truly exist in a virtual 1
environment.
(A) NLP
(B) AR
(C) VR
(D) ML

18. Which of the following is the correct expansion of SaaS? 1


(A) System as a Service
(B) Software as a Service
(C) Service as a System
(D) Service as a Software

19. While in the office, Ravish can use his smartphone to switch on the air conditioner installed at 1
his home. This is an example of ___________.
(A) Machine Learning
(B) Artificial Intelligence
(C) Natural Language Processing
(D) Internet of Things

[3]
Q20 and 21 are ASSERTION AND REASONING-based questions. Mark the correct choice as
(A) Both A and R are true, and R is the correct explanation for A
(B) Both A and R are true, and R is not the correct explanation for A
(C) A is True, but R is False
(D) A is false, but R is True

20. Assertion (A): else is a keyword in Python. 1


Reason (R): Keywords cannot be used as variable names.

21. Assertion (A): break statement causes unconditional exit from the loop 1
Reason (R): Once a break statement is encountered, the control moves to the statement
immediately following the loop.

Q No. SECTION A (7 × 2 = 14 Marks) Marks

22. Give any four characteristics of fourth-generation computers. 2


OR
Differentiate between system software and application software.

23. (i) Expand the acronyms GUI and VLSI. 1 + 1= 2


(ii) What for is each of the following devices used:
a. A light pen
b. A mouse?

24. Bhavya created a Python program to find out that while reaching to value1, do we encounter 2
value2 somewhere? However, the code contains syntactical errors. Please identify and correct
the errors in the code. Underline the changes you made.
value1 = 2
value2 = 5
for x is range(value1):
if x = value2:
print("EQUAL")
else
print("NOT EQUAL")

25. (i) Write the following code using the while loop: 1+1=
2
for value in range(10,50,5):
value *= 10
print(value)

(ii) Give any two characteristics of Python.

[4]
26. Consider the table, Emp, given below: 2

a. Which field should be designated as a primary key? Justify your choice.


b. Suggest a suitable datatype for the field Job?

27. Write an SQL statement to create the table Salesman with the following fields: 2
salesmanNo - integer
sName – string of size 30
area - string of size 15
target - integer
DOB - date

28. Describe the term Big Data. Give any two characteristics of Big Data. 2

Q No. SECTION C (4 × 3 = 12 marks) Marks

29. Describe the major components of a computer with the help of a suitable block diagram. 3

30. Write a Python program to accept an even number and display the following series: 3
0, 4, 16, 36, 64, ..... nn
OR
Write a program to accept a number and check whether it is a palindrome.

31. For each of the following function calls, write the start value, stop value, step value, and the 3
sequence of values produced:
a. range(5)
b. range(-5,5,2)
c. range(3,-3)

[5]
32. Consider the table Student given below: 3
TABLE: Student
RollNo SName Stream Average
101 Sita Sharma Science 95
102 Gita Verma Commerce 94
103 Jay Shah Commerce 96
104 Smita Roy Science
105 Suresh Menon Science 89
106 Sneha Patel Commerce 67
107 Sudhir Guha Humanities 87
108 Hina Verma Humanities 77
For each of the following queries ((a) to (c)), write the output that will be produced on its
execution :
a. SELECT SNAME FROM STUDENT WHERE Stream = "Science" AND average >90;
b. SELECT Stream FROM STUDENT;
c. SELECT * FROM STUDENT WHERE Average BETWEEN 85 AND 95;

SECTION D (2 × 4 = 8 marks)

33. (i) Manvi has just learnt about the different types of operators. She has decided to 2+2=
practice the if-else statement with a mix of operators. With loads of effort, she came 4
up with a program that finally showed no syntax errors. Now she is trying the code,
she has made, with multiple inputs to see how it works and find out if the program is
working according to what she is expecting out of it.
Consider the code given below:

a = int(input("Enter the value of a : "))


b = int(input("Enter the value of b : "))
c = int(input("Enter the value of c : "))
if a > b and a >= c:
print('NEEM',end = '**')
elif b > a > c:
print('PEEPAL', end = '**')
elif a % b ==0 or c % 2 == 0:
print('ASHOKA', end = '**')
else:
print('PINE',end='**')
What will be the output produced on execution of the above code, if the user enters
the following values of a, b, and c, respectively,
a. 0, 3, and -5
b. 1, -1, and 10

(ii) Write a program to accept roll numbers and marks of n (user-defined value) students
and store them in a dictionary.

[6]
34. Diya is preparing SQL for her interview. She has few similar terms in hand that are confusing 2+2=
her a lot. Differentiate between the following terms with suitable examples to help her clarify 4
her doubts and perform her best in her interview. (Differentiate between any two)
a. s

Q. No. SECTION E (3 × 5 = 15 marks) Marks

35. Consider the table Student given below: 5


Student
Roll no. Class Name Phone no.
101 X Divya 12986
102 XI Avik 12345
103 X Simran 54321
104 XII Sujata 98765
105 XI Joe 45678
Perform the following operations:
a. Insert the following record:
b. Rollno: 110, Class: X, Name: Madhav
c. Display the class and name of all the students whose roll number is greater than 102.
d. Change the student's name, whose roll number is 102, to Varun.
e. Display the records of those students who are in class XII.
f. Add a new column marks of type integer to the table.

36. Consider a dictionary Points comprising name:points entries of the students, and the list sAge 5
given below:
Points = {"Varun" : 10, "Arnav" : 3, "Smita" : 7, "Shaily" :
10, "Aadil" : 5}
sAge = [11, 12, 15, 10, 13]
Write the statements (using built-in Functions) to perform the following tasks:
a. add an entry to the given dictionary for Simran, having 7 points.
b. display the number of key-value pairs in the given dictionary.
c. delete all elements of the dictionary.
d. display the highest age value from the list sAge.
e. display the value of a list, sAge in ascending order.

37. (i) Define the following with respect to databases: 3 +2 = 5


a. Attribute
b. DBMS
c. Domain
(ii) What is the difference between CHAR and VARCHAR data types in MySQL? Illustrate
with an example of each.

[7]

You might also like