Skip to content

Class XI – Informatics Practices – 1 – Sample

Practice Paper

 TERM II (2021 – 2022)

Class – XI

Informatics Practices (065)

Time: 2 hours                                                                                    Maximum Marks: 35

General Instructions:

(i) The question paper is divided into 3 sections – A, B and C

(ii) Section A, consists of 7 questions (1 – 7). Each question carries 2 marks

(iii) Section B, consists of 3 questions (8 – 10). Each question carries 3 marks

(iv) Section C, consists of 3 questions (11 – 13). Each question carries 4 marks

(v) Internal choices have been given for question numbers – 1, 8 and 13.

SECTION – A

1. Write short notes on big data and its characteristics.

OR

Write short notes on Natural Language Processing.

2. Differentiate between char (n) and varchar (n) data types with respect to databases

3. Write SQL command to perform the following –

a) Delete last record from the table.

b) Add/insert new record in the table {104, ‘Chandresh’, ‘11th’, 3150}

4. Mr. Ramesh created a table “Hotel” and inserted two records as given below.

Upon verification of records he found that he entered the wrong phone number of Ramesh. Now help him to correct the phone number by writing the sql command.

The correct Phone Number is 9406688990

5. Ms Sunita created a database, inside database she created two table (Tb1, Tb2). Later on she finds that table Tb2 is not required for her database. Now she wants to delete the table. Help her by writing the sql command to delete the table from the database.

6. Write the name of SQL command for the following:

a) To list all databases;

b) To show description of a table “TB2”

7. Mr Ben appeared for an interview to get job. Interviewer asked the following two questions based on MySQL

a) The key which has unique and not null value is known as _______

b) A table can contain how many primary keys?

Mr Ben answered correctly for both the questions.

SECTION – B

8. Write SQL commands for the following –

Consider the above table student {ID, Name, Class, Fee}

a) Write SQL command to delete column fee.

b) Write SQL command to apply primary key constraint on column ID.

c) Suggest name of column on which unique constraint can be applied.

OR

a) What is the degree and cardinality of table student.

b) Write SQL command to add a column city with data type Varchar(25)

c) Write SQL command to delete primary key.

9. Write the SQL command to perform the following task.

a) Create a database named “MYKV” and use it.

b) Write SQL command to list all tables of MYKV database.

c) Write SQL command to delete database MYKV

10. Explain cloud computing and its services.

SECTION – C

11. Consider the following table and write the SQL queries for the following: –

a) To display name and date of joining of those student who belongs to Pune

b) To display name of those students who have not paid the fee.

c) To display details of those student who paid fee more than 30000

d) To display the records in descending order of Date of joining

12. Consider the following table Employee and write the output of SQL queries for (a to d) or (e to h)

a) Select * from employee where city = ‘pune’ and bonus > 350;

b) Select ename, salary+bonus as “total_pay” from employee order by Ename asc;

c) Select * from employee where name like ‘-%a’;

d) Select Ename, salary from employee where bonus > 600;

OR

e) Select Ename, city from Employee where city not in (‘pune’, ‘mumbai’);

f) Select Ename, Salary*12 “annual sal”, bonus*12 “annual bonus” from employee;

g) Select distinct(city) from employee;

h) Select * from employee where city like ‘%e%’;

13. Consider the following MOVIE table and answer the SQL queries based on it.

a) To display MovieID, MovieName and BusinessCost of Movies.

b) To list the different categories of movies.

c) To display movieid, name and Net Profit of all the movies

(Hint: Net Profit = BusinessCost – ProductionCost)

Make sure that the new column name is labelled as NetProfit

d) To display movieID, Name and ProductionCost of all the movies having ProductionCost greater than 80,000 and less than 1,25,000