0% found this document useful (0 votes)
14 views3 pages

2023 - 2024 Unit Test

This document is a Unit Test paper for Informatics Practices for Class 11 at St. Karen's High School, Patna. It consists of multiple sections with various types of questions including MCQs, short answer questions, and programming tasks related to Python and SQL. The test is designed to assess students' understanding of informatics concepts and their practical application in programming.

Uploaded by

pk7531019
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)
14 views3 pages

2023 - 2024 Unit Test

This document is a Unit Test paper for Informatics Practices for Class 11 at St. Karen's High School, Patna. It consists of multiple sections with various types of questions including MCQs, short answer questions, and programming tasks related to Python and SQL. The test is designed to assess students' understanding of informatics concepts and their practical application in programming.

Uploaded by

pk7531019
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/ 3

SCHOOL,PATNA

ST KAREN'SHIGH
Unit Test-(2023-2024) Max. Marks-35
INFORMATICS PRACTICES
CLASS -11 DURATION - 90min
SET A
.Class/Sec........oll No.......Date.
Name..
General Instructlons:
five sections, Section A to E.
1. This question paper contains
2. Allquestions are compulsory.
carrying 01 mark each.
3. Section A has 07 questions Answer type questions carrying 02 marks each.
Short
4.Section B has O4 Very Answer type questions carrying 03 marks each.
5. Section C has 02 Short carrying 04 marks.
question
6. Section Dhas 01questions
E has 02 carrying 05 marks each. Language only.
7. Section are to be answered using Python
8. Allprogramming questions
() MCQ (1 Mark)
elements ?
return the last element of a list L with 5
1. Which of the following will b. L[-4]
a. L5] d. L[6]
c. Li-1]
(1Mark)
L1+ L2 will yield:
2. IfL1 =1, 3,5] and L2 = [2, 4, 6] then lb1,3,5, 2, 4,6]
a. [1, 2, 3, 4, 5,6] d. [1, 3,5, [2, 4, 6]]
c. [3, 7, 11]
SQL? (1Mark)
3. Which of the following is not a component of
a. DDL b. DML
c. TCL
d.ADL
(1Mark)
4. Multiple mismatch copies of data called: b. Redundancy
a. Dependence d. Isolation
C. Inconsistency
(1 Mark)
5. Consider the following SQL statement.
CREATE TABLE enmployee (name VARCHAR, id lNTEGER);
What type of statement is this?
a. DML. bDDL
c. DCL d. Integrity constraint

6. Consider the following SQL statement. (1 Mark)


SELECT * FROM employee;
What type of statement is this?
a. DML b. DDL
c. DCL d. Integrity constraint

(W) ASSERTION & REASON


7. Assertion (A): Aconstraint can be added or removed any time from the tables. (1 Mark)
Reason (R): Alter table command is used to change the structure of the tables.
Considering the above statements, cho0se the correct answer from the options given
below:
a. Both (A) and (R) are true, and (R) is the correct explanation of (A).
b.Both (A) and (R) are true, but (R) 0s not the correct explanation of (A).
c. (A) is true but (R) is false..
d. (A) is false but (R) is true.

Page1 of3

REDMINOTE 13 50 10/01/2025 15:14


QUESTIONS (2 Marks)
SHORT ANSWER TYPE
(I) VERY
8. Consider the given list:
L1=[10,20,30,40,50,[60,70],80]
What willbe the output?
i. print(L1[2:-2)
ii. print(L1[-1:) (2 Marks)
What is SQL? How it related to MySQL?
9. the list of(2 Marks)
table, namely student. He wants to view
marks should
working on MySQL scoringminimum
10 Mr. Suhas is their marks. He wants that the students get desired output.
students with
list. Suggest him the clause which he should use to
be on top of the
Marks)
working in a welfare organization and has been assigned a (2
11 Ms. Anee is organization. Help her to create the tat
of workshops conducted by the
following structure in MysQL:
Table: Workshop
Size Constraint
Field Type
Workshopld |int |PrimaryKey
Varchar 50 Not null
Ttle
DateWorkshop Date
Varchar 30 Default "Delhi
Venue

(IV) SHORT ANSWER TYPE QUESTIONS


and print the reverse of(3 Marks)
42 Writea Python programto-inputathree-digit no. from the user
the inputted number. If the entered digit is not a three-digit no. it should display an
to reverse
appropriate message "Invalid Input. [Do not use list, string or any function
the number]
Ex: Enter any three-digit number: 493
The reverse of 493 is 394

13 Define the terms: (3Marks)


i. Relation ii. Alternate Key ii. Cardinality
(V) CASE STUDY BASED QUESTIONS
14. Consider the given code and answer the given statements: (4 Marks)
d1=(Name:"Ankit "Class":11,"Sec"A Name""Rahul","Rol':12}
What will be the output?
i. print(len(d1))
i. print(d1[Name")
iüi. print(Name" in d1)
iv. print(d1.values())
(VI) LONGANSWER TYPE QUESTIONS
16. Write apython program to calculate the amount for the telephone bill as per the given(5 Marks)
instructions.
For the first 100 calls Rs100/
For the next 150 calls Rs 1.25/-per call
For the next 200 cals Rs 1.75/-per call
There after Rs 2.25/-per calls.

Page 2 of 3
(5 Marks)
following table ORDERS: OrderAmount
16. Consider the SalesPerson
Orderid OrderDate 34000
O101 2015-09-12 Ravi Kumar
50000
Rashmi Arora
O102 2015-08-15 55000
2015-11-01 Ravi Kumar
O103 60000.
O104 2015-12-09 Manjeet Singh 50000
O105 2015-11-10 Rashmi Arora
(i) and output for (iv)inand (v).
Write MySQL query for (i) to descending order
respective Order amount nan DusD
To list Orderid and dates and order amounts that were booked 2015
To list Order ids, order with R.
all details of Salespersons names starting OrderAmohiS \ e H
To display where
i11.
Orderld, OrderAnount from ORDERS
IV. SELECT
60000;
SELECT distinct salesperson from ORDERS;

****

Osder kmont
Select Dsdes id foOm ordess ordes by de ce)

You might also like