0% found this document useful (0 votes)
15 views

XI Final IP

The document is an annual examination paper for Class XI Informatics Practices at Army Public School, Patiala, covering various topics in computer science and programming. It consists of five sections with a total of 70 marks, including multiple-choice questions, short answer questions, and programming tasks primarily using Python. The paper includes instructions for each section and specific questions related to computer storage, SQL commands, and programming concepts.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views

XI Final IP

The document is an annual examination paper for Class XI Informatics Practices at Army Public School, Patiala, covering various topics in computer science and programming. It consists of five sections with a total of 70 marks, including multiple-choice questions, short answer questions, and programming tasks primarily using Python. The paper includes instructions for each section and specific questions related to computer storage, SQL commands, and programming concepts.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 6

ARMY PUBLIC SCHOOL, PATIALA.

ANNUAL EXAMINATION – 2024


INFORMATICS PRACTICES(065)
CLASS XI

Time : 3 Hrs M.M.:70


General Instructions:
1. This question paper contains five sections, Section A to E.
2. All questions are compulsory.
3. Section A has 18 questions carrying 01 mark each.
4. Section B has 07 Very Short Answer type questions carrying 02 marks each.
5. Section C has 05 Short Answer type questions carrying 03 marks each.
6. Section D has 03 Long Answer type questions carrying 05 marks each.
7. Section E has 02 questions carrying 04 marks each.
8. All programming questions are to be answered using Python Language only.
SECTION A
1 Identify the interface that allows user to run program or give instructions to the computer 1
in the form of icons, menus and other visual options.
i) Graphical User Interface
ii) Character User Interface
iii) Touch Based Interface
iv) Voice Based Interface

2 What are the different types of computer storage devices __________. 1

i) Primary Memory ii) Secondary Memory


iii) Both a) and b) iv) None of the above

3 If the value of i is 5, the expression i != 6 1

i) has the value False ii) has the value True


iii) sets the value of i to 6 iv) sets the value of i to -5

4 Identify the incorrect identifier from the following: 1

i) none ii) for iii) true iv) roll_no

5 Which of the following is not a valid relational operator? 1

i) != ii) += iii) <= iv) ==

6 Which one of the following is the default extension of python file ? 1

i) .exe ii) .py iii) .doc iv) .p


7 Identify the correct command which will produce the output given below: 1
[0,-2,-4,-6,-8]
i) list(range(-2,-8,-2))
ii) list(range(0,-8,-2))
iii) list(range(-2,-10,-2))
iv) list(range(0,-10,-2))
8 Consider the attributes ( RollNumber, SName, SDateofBirth, GUID ) of the table 1
Student. According to you, which of the following option is the correct representation of
the table after executing the following query:
Insert into student (RollNumber, SName, SDateofBirth) values (2, ‘Sudha’,’2002-02-
28’);

9 Mr. Malhotra is working on MySql table named Student with the following table schema: 1

Which of the following command is used to get the above output:

i) Create ii) Describe iii) Show iv) Alter

10 In SQL, determine the command that is used to SELECT only one copy of each set of 1
duplicable rows:

i) Select Distinct ii) Select Unique iii) Select Different iv) Select All
11 Choose the incorrect statement related to Where clause: 1

i) It is used to filter records


ii) It is used to retrieve data that meet some specified conditions
iii) It is used with SELECT statements as well as with specified conditions
iv) It is used with arithmetical as well as logical operators.
12 Consider a table Student having two fields as mentioned below: 1

FName varchar(20)
LName char(20)
If in a record , value stored in Fname is ‘Anuj’ and LName is ‘Batra’,then FName and
LName will consume _______ and ________ characters space respectively.

i) 4,5 ii) 4,20 iii) 20,4 iv) 20,20


13 Candidate Key - Primary Key= ________________ 1

i) Primary Key ii) Alternate Key iii) Foreign Key iv) Composite Key
14 A student wants to delete a tuple from a table in MYSQL, which of the following 1
command of MYSQL helps him in doing the same:

i) Update ii) drop iii) delete iv) alter

15 Ms. Ruchi has developed a web application using MySQL and Python. To run this 1
application online, she availed a pre-configured Apache server from cloud having
MySQL and Python pre-installed. Which type of cloud computing model she has used:

i) IaaS ii) PaaS iii) SaaS iv) DaaS


16 “Imagine what if our bulbs, fans and refrigerator also become a part of LAN or Internet. 1
Think about of the advantages and tasks that can be accomplished if all these devices
with smart connectivity features are able to communicate amongst themselves and we
are also able to communicate with them using computers or smart phones.”
In your opinion, which feature are we talking about in the above context?

i) AR ii) VR iii) WoT iv) IoT

Q17 and 18 are ASSERTION AND REASONING based questions. Mark the correct choice as :
i) Both A and R are true and R is the correct explanation for A
ii) Both A and R are true and R is not the correct explanation for A
iii) A is true but R is False
iv) A is false but R is true
17 Assertion: Comments are executed by interpreter. 1

Reasoning: Comments are used to add a remark or a note in the source code.

18 Assertion: A database can have only one table in MySql. 1

Reasoning: If a piece of data is stored in two places in the databases, then storage
space is wasted.
SECTION B
19 Deleting digitally stored data means changing the details of data at bit level, which can 2
be very time consuming. Therefore, when any data is simply deleted, its address entry
is marked as free, and that much space is shown as empty to the user, without actually
deleting the data. In case data gets deleted accidentally or corrupted, there arises a
need to recover the data. Recovery of the data is possible only if the contents/memory
space marked as deleted have not been overwritten by some other data.
i) Can you recover the data once deleted? Justify
ii) Give any one security threat involved when we throw away electronic gadgets
that are non-functional.
Or
Write down the type of memory needed to do the following:
i) To execute the program
ii) To store the instructions which cannot be overwritten

20 a) Suppose list1 is [1, 3, 2], What is list1 * 2 ? 2


b) What will be the output of following statement:
print((24 * 3) – 2 % 4 + 8 // 3 + 3**4)

21 Find errors in the following code fragment.(Rewrite the program underlining the 2
correction)

x= int(input(“Enter value of x:”)


for in range [0,10]:
if x=y:
print( x + y)
Else
print( x‐y)

22 Name the input/output device used to do the following: To output audio 2


a. To enter textual data
b. To make hard copy of a text file
c. To display the data/information
d. To display the data/information
23 Consider the following table ITEM : 2

What is the degree and cardinality of the above mentioned table? What will be degree
and cardinality if 2 more rows and 1 column is added?

24 DAV Sports Management Committee has decided to conduct cricket matches between 2
students of class XI and Class XII. Students of each class are asked to join any one of
the
four teams — Team Titan, Team Rockers, Team Magnet and Team Hurricane. During
summer vacations, various matches will be conducted between these teams. Help your
sports teacher to do the following:
Create a table “TEAM” in MySQL with following considerations:
i) It should have a column TeamID for storing an integer value between 1 to 9,
which refers to unique identification of a team.
ii) Each TeamID should have its associated name (TeamName), which should be a
string of length not more than 10 characters.
iii) It should have a column MatchDate.
iv) It should have a column of number of participants namely, TeamParticipants.
25 The Doc_name column of a table HOSPITAL is given below: 2

Write the output of the following queries:


a) SELECT Doc_name FROM HOSPITAL WHERE Doc_name LIKE ‘%v’;.
b) SELECT Doc_name FROM HOSPITAL WHERE Doc_name LIKE ‘_e%’
SECTION C
26 a) If step value is not specified for range() function, the default value of step is 3
b) What will be the output of following code:

27 Consider the following dictionary: 3


od={1:’One’,3:’Three’,5:’Five’,7:’Seven’,9:’Nine’}
Perform the below mentioned operations in the dictionary:
i) Write command to print the corresponding value to the key 7
ii) Write command to display number of elements
iii) Add a new element with 11 as key and “Eleven” as value
28 i) Give any two examples of RDBMS software. 3
ii) Write MySQL command, which is used to open an already existing database
“Alumni”.
iii) Ms. Mansi has created a database, a month ago, but he is not sure whether the
database still exists or not. Write the command to help her.
29 Consider the following table library and write the queries i to iii 3

i) Display names and price of book with price in range 200 to 300 (both values
included)
ii) Display Names and authors of books of bpb and Mcgraw pub.
iii) Insert the following record into the table
11, “Let us c”, “Yashwant”, “prog”, “Galgoria”, 3, 500
30 What is Grid Computing? Explain its two types. 3
Or
i) Name any two areas where the concept of block chain technology can be useful.
ii) Differentiate between Virtual Reality and Augmented Reality
SECTION D
31 The record of salesman (Name, Item Sold, sale of three quarters and Commission) is 5
stored in the following list:
Sale=[‘Amit’, ‘Laptop’, [35000,42000,85000],20000]
Write Python statements to retrieve the following information from the list Sale:
i) Print the sale of 2nd Quarter.
ii) Add sale of 3 quarters.
iii) Change value of product from Laptop to Tablet
iv) Delete Commission from the list
v) Print minimum sale
32 Consider the table ‘Teacher_Details’ given below and write suitable SQL queries of the 5
following:

i) Add a new column email with datatype varchar size 40


ii) Delete details of students who have not been assigned subject yet
iii) Increase number of periods of Hindi subjects by 3.
iv) Display names of different subjects offered
v) Display details of students with name ending with i.
33 i) Differentiate between 5
a) Alter and update
b) Drop and delete
ii) Consider a relation ‘Person’ given below:
Table: Person

Write the output of the following SQL commands based on above table Person:
a) Select PersonId from Person where Age between 30 and 40;
b) Select Age+2 from Person where FirstName=’Daniel’;
c) Select PersonId, Age from Person where LastName in (‘Helson’, ‘Gaba’);
d) Select FirstName, Age from Person where LastName=’John’ or LastName=’Sen’;

iii) Which attribute will be primary key in above table and why
SECTION E
34 i. Draw the block diagram of a computer system. Briefly write about the 4
functionality of each component.
ii. What is the need of RAM? How does it differ from ROM?
35 i. Find the output of following: 4
colors=["violet", "indigo", "blue", "green", "yellow", "orange", "red"]
del colors[4]
colors.remove("blue")
colors.pop(3)
print(colors)
ii. Write a program to create a dictionary with name and marks of 5 students as
keys and values, display names of students who have scored more than 90
marks in any subject.

You might also like