0% found this document useful (0 votes)
25 views11 pages

Cbse-11 Ip Annual Examination SQP

This document is a sample examination paper for Grade XI in Informatics Practices, comprising five sections with varying types of questions including multiple choice, short answer, and programming tasks. The paper emphasizes the use of Python for programming questions and covers topics such as SQL queries, data structures, and software types. The total marks for the examination are 70, with a time allowance of 3 hours.

Uploaded by

architvats8
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
25 views11 pages

Cbse-11 Ip Annual Examination SQP

This document is a sample examination paper for Grade XI in Informatics Practices, comprising five sections with varying types of questions including multiple choice, short answer, and programming tasks. The paper emphasizes the use of Python for programming questions and covers topics such as SQL queries, data structures, and software types. The total marks for the examination are 70, with a time allowance of 3 hours.

Uploaded by

architvats8
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 11

VIBGYOR HIGH

Annual Examination
SAMPLE PAPER
INFORMATICS PRACTICES
Grade: XI Max. Marks : 70
Date : Time Allowed: 3 hour

INSTRUCTIONS:

 This question paper contains five sections, Section A to E.


 Section A has 18 questions carrying 01 mark each.
 Section B has 07 Very Short Answer type questions carrying 02 marks each.
 Section C has 05 Short Answer type questions carrying 03 marks each.
 Section D has 02 questions carrying 04 marks each.
 Section E has 03 questions carrying 05 marks each.
 All programming questions are to be answered using Python Language only.

SECTION A

Q. 1 A computer is an electronic device that can be programmed to accept [1]


______________, _______________it and generate ____________.
a data, process, information
b process, save, information
c result, process, data
d data, save, result

Q.2 In computer CU stands for [1]

a Control unit
b Cache unit
c Calculating unit

1
d Communication unit

Q.3 Which is the software that is neither open nor freely available [1]

a OSS
b FLOSS
c Proprietary Software
d Freeware

Q.4 A disk fragmentor is an example of [1]

a A disk fragmentor is an example of


b System software
c Utility software
d None of these

Q.5 To create an empty dictionary –d1, we use the statement as: [1]

a d1= { }
b d1= [ ]
c d1= ( )
d d1= { )

Q.6 Consider the following: [1]


List1=[‘S’,’P’,’S’,’GHY’]
The length of the above list is:
a 6
b 5
c 4
d None of these

Q.7 Consider the following list: [1]


list1 =['Red','Green','Blue','Cyan','Magenta','Yellow','Black']
print(list1[1:6:2])

2
The output is-

a ['Red', 'Blue', 'Magenta']


b ['Green', 'Cyan', 'Yellow']
c ['Green', 'Cyan', 'Yellow',’Black’]
d ['Red', 'Blue', 'Magenta',’Black’]

Q.8 Number of attributes in a relation is called__________ [1]

a size
b degree
c cardinality
d relation

Q.9 Consider the following query [1]


SELECT * FROM employee ORDER BY salary _______, name ______;
To display the salary from greater to smaller and name in alphabetical
order which of the following options should be used?
a Ascending, Descending
b Asc, Desc
c Desc, Asc
d Descending, Ascending

Q.10 How do you select all the rows from a table named ‘Student’ where the [1]
value of the column ‘FName’ starts with ‘K’?
a select * from Student where FName like ‘K___’;
b select * from Student where FName = ‘K’;
c select * from Student where FName like ‘K%’;
d select * from Student where FName like ‘%K’;

Q.11 Following which command is used to delete a database in MySQL? [1]

a DELETE

3
b DROP
c DESC
d DROP

Q.12 What does the term "Virtual Reality (VR)" refer to [1]

a Real-world simulation
b Physical presence
c Augmented intelligence
d Holographic displays

Q.13 Consider a database with a table named "Students" that stores [1]
information about students, including their StudentID, FirstName,
LastName, Course, and Marks.

Write the SQL query for the following:


Delete the record of the student named "David Wilson".
DELETE FROM Students WHERE FirstName = 'David' AND LastName =
a
'Wilson';
REMOVE FROM Students WHERE FirstName = 'David' AND LastName =
b
'Wilson';
DROP FROM Students WHERE FirstName = 'David' AND LastName =
c
'Wilson';
ERASE FROM Students WHERE FirstName = 'David' AND LastName =
d
'Wilson';

Q.14 A user interacts with a virtual assistant to perform tasks and answer [1]
questions. What technology underlies the functionality of virtual assistants
like Siri and Google Assistant?
a Blockchain

4
b Artificial Intelligence
c Augmented Reality
d 3D Printing

Consider the following SQL table representing information about


employees and their departments:
Employees Table:

Q.15 Which SQL statement updates the salary of the employee with EmpID [1]
104 to 70000?
a UPDATE Employees SET Salary = 70000 WHERE EmpID = 104;
b MODIFY Employees SET Salary = 70000 WHERE EmpID = 104;
c ALTER Employees SET Salary = 70000 WHERE EmpID = 104;
d CHANGE Employees SET Salary = 70000 WHERE EmpID = 104;

Q.16 Which SQL query retrieves the first and last names of employees in the [1]
"Finance" department with a salary greater than 70000?

SELECT FirstName, LastName FROM Employees WHERE Department =


a
'Finance' AND Salary > 70000;
SELECT FirstName, LastName FROM Employees WHERE Department =
b
'Finance' OR Salary > 70000;
SELECT FirstName, LastName FROM Employees HAVING Department =
c
'Finance' AND Salary > 70000;
SELECT FirstName, LastName FROM Employees GROUP BY Salary
d
HAVING Department = 'Finance' AND Salary > 70000;

Assertion (A): The keyword DISTINCT is used with SELECT command. [1]
Q.17
Reasoning (R): DISTINCT keyword eliminates duplicate rows
a Both A and R are true and R is the correct explanation for A

5
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

Q.18 Assertion (A): The len() function can be used to find the number of items [1]
in a dictionary in Python.
Reasoning (R): The len() function returns the count of key-value pairs in
the dictionary.

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

SECTION B

Q.19 Write a short note on the evolution of computers. [2]


OR
Explain in detail any one output device and any one input device. [2]

Q.20 Write the output of the following:


Mlist = [‘I’,’N’,’D’,’I’,’A’,’N’]
print (Mlist.remove('l'))
print (Mlist.pop(3))
print (Mlist.pop(-3))
print (Mlist.index(‘N’))

Q.21 Write a python program to Display three strings “Name”, “Is”, “James” as [2]
“Name**Is**James”.

Q.22 Differentiate between append () and extend () methods? [2]

Q.23 Identify the DDL and DML commands from the following: [2]

6
a. Drop
b. Delete
c. Update
d. Insert

Q.24 Write command to create the following table: Book [2]


Field Name Datatype Constraint
BNo Integer (4) primary Key
Bname Varchar (20)
Author Varchar (30)
Price float (4,2)
OR
Differentiate between char () and varchar () [2]

Q.25 What do you mean by constraints? Enlist the constraints supported by [2]
MySQL.

SECTION C

Q.26 Explain the range () function with its parameters and example. [3]

Q.27 Write a python program to find the sum of odd numbers from 1 to 10. [3]

Q.28 Observe the following table and write answers for the below given [3]
questions:
Table Name: Movie

i) Write command to add movie_id as primary key. [1]


ii) Write command to change the size of category column to 50 [1]
characters.

7
iii) Write command to delete column releasedate [1]

Q.29 Define following: [3]


i) Database Schema [1]
ii) Database Instance [1]
iii) Database Engine [1]
OR
Write any three advantages of DBMS over flat file system. [3]

Q.30 Differentiate between Augmented Reality and Virtual Reality. [3]


SECTION D

Q.31 Consider the following dictionary: [4]


od={1:’One’,3:’Three’,5,’Five’,7:’Seven’,9:’Nine’}
Perform the below mentioned operations in the dictionary:
i) Write command traverse a dictionary and print key value in this manner [1]
1 – One
3 – Three
5 – Five
7 – Seven
9 - Nine

[1]
ii) Write command to print only keys of dictionary

[1]
iii) Write command to print only the values which doesn’t contain ‘n’

[1]
iv) Write command to print the corresponding value to the key 7

OR
Write a program to create a dictionary with rollno, name and marks of n [4]
no. Of students and display names of students who have scored more
than 90 marks in any subject.

Q.32 Compare and Contrast [4]

8
a Free software and Open source software [1]
b OSS and FLOSS [1]
c Proprietory software and Free software [1]
d Freeware and Free software [1]
SECTION E

Q.33 Consider the following list- [5]


List 1 = [100,200,300,600,500,600,700,800,900,600,800]
Write commands for the following:
(i) Add 1000 at last [0.5]
(ii) Insert 4 at third position [0.5]
(iii) Sort the elements of the list [0.5]
(iv) Count how many times 600 is available [0.5]
(v) Delete all elements from 3rdto 9thposition [0.5]
(vi) Delete 800 from the list [0.5]
(vii) Search the position of 700 in the list [0.5]
(viii) Find the maximum value of the list [0.5]
(ix) Find the length of the list [0.5]
(x) Delete all the elements of the list [0.5]

Q.34 Consider the following table- Employee [5]

Write SQL for the following


a To display all jobs available in the table whose salary is 30000.00. [1]

b To display details of all Salesman who are born in the year 1997 [1]

To display details of all names end with ‘a’ [1]


c

d To display Employee names,DOJ and salaries for all employees. [1]

9
To display details of all female employee who are manager. [1]
e

OR
Write the output of the following SQL Queries based on the above table [5]
select * from employee where job=’Manager’ and salary<80000; [1]
a

select ename from employee where ename like ’M%’; [1]


b

select ename, doj from employee where doj between ‘1991-01-01 and [1]
c
‘1992-12-31’;
d select ename, doj , job from employee where gender=’M’; [1]
select ename ,job from employee where job like ’%an%’; [1]
e

Q.35 Consider the following table ‘Score’ given below: [5]

Write the output of the following queries given below:


a SELECT M_ID FROM Score WHERE T2_Score BETWEEN 40 AND 60; [1]
SELECT T1_Score+1 FROM Score WHERE T1_ID=1; [1]
b

SELECT T1_ID, T2_ID FROM Score WHERE T1_Score < 70 AND [1]
c
T2_Score < 70;
SELECT M_ID FROM Score WHERE M_Date LIKE “%-19”; [1]
d

e SELECT M_ID, M_Date, T2_Score FROM Score WHERE T2_ID=3; [1]

10
*****

11

You might also like