Class Xii Ip - 10 Sample Papers
Class Xii Ip - 10 Sample Papers
INFORMATICS PRACTICES
Class: XII CBSE
TERM - II Max .Marks: 35
Time: 2:00 Hrs
General Instructions:
The question paper is divided into 3 Sections - A, B, and C.
Section A consists of 7 Questions (1-7). Each Question Carries 2 Marks.
Section B consists of 3 Questions (8-10). Each Question Carries 3 Marks.
Section C consists of 3 Questions (11-13). Each Question Carries 4 Marks.
Internal Choices given for Question numbers 1, 3, 8 and 12.
SECTION – A
This section consists of 7 Questions (1 to 7).
1. Arshi, is a student of class VIII, and seldom browses internet. Recently, she came [2]
across terms like plug-ins and add-ons. As a senior, explain the difference
between Plug-ins and add-ons to her.
(OR)
Akash, a beginner in IT field has just started learning web technologies. Help him
in understanding the difference between website and Web Hosting.
2. (i) [2]
I:
am a technology
allow you to make voice calls over internet directly through a
computer instead of analog phone line
Convert your voice into a digital signal that travels over internet.
Who am I?
(ii)
Identify the domain name and sub-domain name from the following URL:
https://www.tinydancinghorse.com/about-us.html
3. Predict the output of the following queries: [2]
(i ) SELECT SIGN(-101); (ii) SELECT POWER(4,-2);
(OR)
If the table Medicines contains 4 records and Aamir executed the following
queries, find the output of both the queries:
(i) Select mod(9,2) from dual; (ii) select mod(9,2) from medicines;
4. Harshit is a student from a remote village with little knowledge about email and [2]
chat. You as an expert, explain the difference between email and chat to him with
example.
5. Anuj is student of class XII, trying to execute the following queries, help him to [2]
predict the output.
6. Hina is working on a database table storing details of medicinal plants of different [2]
types. She needs to display the number of plants of each type. As a team leader,
suggest a suitable function and clause to be usedby her with the help of example.
Page.1
7. Harshit, is learning SQL and confused with the output of following queries on [2]
table , predict the output for him:
Page.2
10. Sanjeev is executing the following queries: [3]
(i) Select len(" OMICRON VARIENT ");
(ii) Select len(ltrim(" OMICRON VARIENT "));
(iii) Select len(rtrim(" OMICRON VARIENT "));
He has placed 3 spaces in the beginning and end of the string
'OMICRON VARIENT'. Sanjeev is puzzled by the output.
1. Predict the output for above queries.
2. Explain the reason for above output to Sanjeev.
SECTION – C
This section consists of 3 Questions (11 to 13). Each Question Carries 4
Marks
11. A Coaching Institute STAR COACHING ACADEMY has maintained the record of [4]
their students using SQLtabe “ENGG”.
Help him frame the SQL statements for the queries below:
(a) To display the mobile company, mobile name and price in descending order of
their price.
(b) To display the mobile name and quantity of all mobiles except ‘MB003’
(c) To display the mobile details manufactured after the year 2019d) To display
the mobile names whose quantity is not null.
(OR)
Page.3
Predict the output for the following queries for Sahil:
13. Malviya Institute of Learning is planning to set up its center in Amritsar with four [4]
specialized blocks for Medicine, Management, Law courses along with an
Admission block in separate buildings. The physical distances between these
blocks and the number of computers to be installed in these blocks are given
below. You as a network expert have to answer the queries raised by their board
of Directors as given in (i) to (iv).
Shortest distances between various locations in meters:
(i) Suggest the most suitable location to install the main server of this institution
to get efficient connectivity.
(ii) Suggest by drawing the best cable layout for effective network connectivity of
the blocks having server with all the other blocks.
(iii) (a) Suggest the devices to be installed in each of these buildings for
connecting computers installed within the building out of the following:
● Modem ● Switch ● Gateway ● Router
(b) Suggest the most suitable wired medium for efficiently connecting each
computer installed in every building out of the following network cables:
● Coaxial Cable ● Ethernet Cable ● Single Pair ● Telephone Cable
(iv) Mention any economic way to provide internet accessibility to all blocks.
Page.4
SAMPLE PAPER - 2
INFORMATICS PRACTICES
Class: XII CBSE
TERM - II Max .Marks: 35
Time: 2:00 Hrs
General Instructions:
The question paper is divided into 3 Sections - A, B, and C.
Section A consists of 7 Questions (1-7). Each Question Carries 2 Marks.
Section B consists of 3 Questions (8-10). Each Question Carries 3 Marks.
Section C consists of 3 Questions (11-13). Each Question Carries 4 Marks.
Internal Choices given for Question numbers 1, 3, 8 and 12.
SECTION – A
This section consists of 7 Questions (1 to 7).
1. Atul, a network engineer, is required to demonstrate the features of a Star and [2]
Bus network. Help him with the layout design and mention an advantage of both
(OR)
Arya is interested in knowing the difference between the terms Hub and Switch.
Help her by mentioning two points.
2. i. Expand : VOIP [2]
ii. I can receive a signal and retransmit at a higher level so that the signal can
cover a longer distance. Who am I?
3. Predict the output of the following queries: [2]
i. SELECT POWER (2,−3); ii. SELECT ROUND (23483.45,−2);
(i)SELECT SUBSTR('EASYCALCULATION',5,11);
following columns:
But he did not get the desired result. Rewrite the above query with necessary
change to help him get the desired output. Justify your answer.
Page.1
7. Consider following STUDENT table populated with following data: [2]
Page.2
9. Sunil is confused with the following functions: [3]
i. DAY() and DAYNAME()
ii.MONTH() and MONTHNAME()
iii. INSTR() and SUBSTR()
Explain the difference between each and justify using an example for each.
10. Alisha needs clarity with the purpose of "Group by" and "Order by" clauses in [3]
MySQL. You are required to provide an example highlighting the difference
between the two with suitable justification.
SECTION – C
This section consists of 3 Questions (11 to 13). Each Question Carries 4
Marks
11. Consider following PRODUCT table populated with following data: [4]
i. Display the names of employees in uppercase who work in the Sales dept.
iii. Display the positional occurrence of "a" in the name of each employee.
iv. Display from the name 3 characters from the 2nd position of all the employees.
(OR)
Page.3
i. Predict the output of : SELECT POW(INSTR("My_Database","_"),2);
iii. Shyam wants to insert "Sharma" in the "LastName" column of the "Emp" table
as shown below, but an error is being displayed. Write the correct SQL
iv. Write the SQL statement to round of 67.246 to two decimal places.
13. RIT University has to set up its new campus at Chennai. It has four department [4]
blocks named block A, B, C and D for different functionalities. The Administrative
Office is currently located at New Delhi.
Page.4
SAMPLE PAPER - 3
INFORMATICS PRACTICES
Class: XII CBSE
TERM - II Max .Marks: 35
Time: 2:00 Hrs
General Instructions:
The question paper is divided into 3 Sections - A, B, and C.
Section A consists of 7 Questions (1-7). Each Question Carries 2 Marks.
Section B consists of 3 Questions (8-10). Each Question Carries 3 Marks.
Section C consists of 3 Questions (11-13). Each Question Carries 4 Marks.
Internal Choices given for Question numbers 1, 3, 8 and 12.
SECTION – A
This section consists of 7 Questions (1 to 7).
1. Alisha needs a network device that should regenerate the signal over the same [2]
network before the signal becomes too weak or corrupted.
Chris needs a network device to connect the different networks together that work
upon different networking models so that the two networks can communicate
properly.
(OR)
A Say, "In this network topology, one malfunctioning node don’t not affect that
rest of the network and it is easy to add and remove nodes". B Say, "In this
network topology, cable length required is less but if the main cable encounters
some problem, whole network break down".
2. (i) [2]
I:
am a technology that allow you to make voice calls using a broad band
internet connection.
If you are calling a regular phone number, the signal is converted to
regular telephone signal before it call directly from a computer.
Who am I?
Page.1
6. Rohan, is a student of class 12 learning MySQL, he wants to remove leading and [2]
training spaces from a character expression X, where X= ‘LEARNING
###MYSQL####’ (#denotes a blank space) and also give the output of X help him
with an example.
7. Mr. Rohan, a HR Manager in a Vedanta Hospital has created the following table to [2]
store the records of Doctor:
(b) SELECT
COUNT(DISTINCT
DEPTNAME) FROM
DEPARTMENT;
(i) Suggest the network type (out of LAN,MAN,WAN) for connecting each of the
following set of the their offices.
(a) Back office and work office (b) Back office and south office
(ii) Which device will you suggest to be procured by the company for connecting
all the computers with each of their offices out of the following devices?
(a) Switch/Hub (b) Modem (c) Telephone south office, East Office and West
Office located in New Delhi
(iii) Suggest the cable/wiring layout for connecting the compnay’s local offices
located in New Delhi. Also, suggest an effective method for connecting the
company’s regional office with offices located in New Delhi.
Page.4
SAMPLE PAPER – 4
INFORMATICS PRACTICES
Class: XII CBSE
TERM - II Max .Marks: 35
Time: 2:00 Hrs
General Instructions:
The question paper is divided into 3 Sections - A, B, and C.
Section A consists of 7 Questions (1-7). Each Question Carries 2 Marks.
Section B consists of 3 Questions (8-10). Each Question Carries 3 Marks.
Section C consists of 3 Questions (11-13). Each Question Carries 4 Marks.
Internal Choices given for Question numbers 1, 3, 8 and 12.
SECTION – A
This section consists of 7 Questions (1 to 7).
1. Mr. Ramesh created a table CLIENT with 2 rows and 4 columns. He added 2 more [2]
rows to it, and deleted one column. What is the Cardinality and Degree of the
Table CLIENT? Also write the definition of cardinality and degree.
2. Gopi Krishna is using a table EMPLOYEE. It has the following columns: He [2]
Wants to display maximum salary Department wise. He wrote the following
command: Code, Name, Salary, Dept code
(a) SELECT Dept code, Max(Salary) FROM EMPLOYEE;
But he did not get desired result. Rewrite the above query with necessary changes
to help him get the desired output. Also Write what type of this query is
considered (category of query)
3. What is the purpose of ALTER TABLE command in MySQL? How it is Different [2]
from UPDATE commands? Give one example of each one.
4. (a) Sarthak, a student of class XII created a table “CLASS”. Grade is one of the [2]
columns of this table. To find the details of students who's Grades have not
been entered, he wrote the following MySQL query, which did not give the
desired result. Help Sarthak to run the query by removing the errors from the
query and write the correct query:
(b) Anurag, a student of class XI created a table “PLAYER SCORE”. Current score
is one of the columns of this table. To find the details of players whose current
score is more than 100, he wrote the following MySQL query, which did not
give the desired result Help Anurag to run the query by removing the errors
from the query and write the correct query
SELECT * FROM PLAYER_SCORE WHERE Current_score>"100";
5. Nikita has purchased two networking devices without going into technical [2]
details, one hub and one switch; please help her to understand the difference
between hub and a switch. (2 difference)
Page.1
6. Write two difference between LAN and WAN based on Geographical Area of [2]
Network, Size of Network, Security over network, Network Media used in network
(any two difference based on this)
7. (a) [2]
(i) Define the following Terms :
Protocol, Browser, Web Page, Website (any three)
(ii) Name any two popular web browsers name.
(OR)
(b) Write two difference between Static and Dynamic Examples with any two
Website names which are providing dynamic content.
SECTION – B
This section consists of 3 Questions (8 to 10). Each Carries 3 Marks.
8. Consider the following table: GARMENT [3]
Write the equivalent SQL query for following with some other method (Any
Three)
(a) SELECT Gname, Size from Garment where SIZE="XL" or SIZE="L" ;
(b) SELECT Gname, Price from Garment where Price >=1500 and price <=2000;
(c) SELECT SUM(PRICE) / COUNT(PRICE) From Garment
(d) SELECT Gname, Size from Garment Where SIZE Not IN ("XL", "L") ;
9. Write the Output of following Sql queries (any three) [3]
(a)SELECT ROUND(2912.564, 2), ROUND(283.565,2) from dual;
(b) SELECT MID(“Informatics”, 3, 4), Substr("Informatics", 35,2) from Dual ;
(c) SELECT LENGTH (RTRIM("DELHI ");
(d)SELECT MONTH( NOW() ), MonthName( Now() ) ;
### assume today is 06-feb-2022 Date
10. Write SQL Query based on following (any three) [3]
Page.2
SECTION – C
This section consists of 3 Questions (11 to 13). Each Question Carries 4
Marks
11. Mr. Som, a HR Manager in a multinational company "Star-X world" has created [4]
the following table to store the records of employees: (solve any four)
Page.3
13. Hi Speed Technologies Ltd is a Delhi based organization which is expanding its [4]
office setup to Chandigarh. At Chandigarh office campus, they are planning to
have 3 different blocks for HR, Accounts and Logistics related work. Each block
has number of computers, which are required to be connected in a network for
communication, data and resource sharing. As a network consultant, you have to
suggest the best network related solutions for them for issues/problems raised in
(i) to (iv), keeping in mind the distances between various blocks/locations and
other given parameters.
Page.4
SAMPLE PAPER – 5
INFORMATICS PRACTICES
Class: XII CBSE
TERM - II Max .Marks: 35
Time: 2:00 Hrs
General Instructions:
The question paper is divided into 3 Sections - A, B, and C.
Section A consists of 7 Questions (1-7). Each Question Carries 2 Marks.
Section B consists of 3 Questions (8-10). Each Question Carries 3 Marks.
Section C consists of 3 Questions (11-13). Each Question Carries 4 Marks.
Internal Choices given for Question numbers 1, 3, 8 and 12.
SECTION – A
This section consists of 7 Questions (1 to 7).
1. Identify domain name and URL from the following: [2]
https:/www.helplineeachother.in/home/aboutus.html
2. Identify the following devices [2]
(i) intelligent device that connects several nodes to form a network and redirects
the received information to intended nodes
(ii) A device that regenerates the received signal and retransmit it to its
destination
3. Illustrate the layout for connecting 5 computers in a: [2]
(i) Bus topology (ii) Star topology
4. A school with 20 stand-alone computers is considering to network them together [2]
and adding a server. State two advantages of doing this.
5. Write the name of the functions to perform the following operations: [2]
(i) To display the day, from the date when India got independence.
(ii) To display the specified number of characters from a particular position of the
given string.
6. What is the purpose of GROUP BY clause in MySql? How is it different from [2]
ORDER BY clause?
7. Predict the output of the following queries: [2]
(OR)
Page.1
SECTION – B
This section consists of 3 Questions (8 to 10). Each Carries 3 Marks.
8. Predict the output of the following queries: [3]
(i) Select round (23.4634, 2)
(ii) Select substr ("informatics practices", 12, 9)
(iii) Select instr ("informatics practices", "m")
(OR)
Consider a string str , "You Grow more" stored in a column str. What will be the
output of the following queries?
(i) SELECT UPPER(str);
(ii) SELECT substr(str,-9,4);
(iii) SELECT Right(str,4)
9. Name the SQL command used for the following: [3]
(i) To add new record (ii) To remove a record
(iii) To change the name of a column (iv) To change the database
(v) To display records (vi) To edit records
10. Differentiate between: [3]
(i) Website and webpage (ii) static and dynamic web pages
SECTION – C
This section consists of 3 Questions (11 to 13). Each Question Carries 4
Marks
11. Write SQL commands for the following queries based on the relation teacher given [4]
below:
Page.2
12. Predict the output of the following queries based on the table furniture: [4]
Based on the given table "product", Sam has executed following queries
(i) Select count(*) from product;
(ii) Select count(qty) from product;
Predict the output of the given queries. Also give proper
Justification of the output generated through each query.
13. Quick learn University is setting up its academic blocks at prayak nagar and its [4]
planning to set up a network. The university has 3 academic blocks and one
human resource centre as shown in diagram below:
Page.3
Center to center distances between various blocks is as follows:
(i) Suggest the most suitable place to install the server of this university with the
suitable resource
(ii) Suggest an ideal layout for connecting these blocks for a wired connectivity
(iii) Which device will u suggest to be placed / installed in each of these blocks to
efficiently connect all the computers within these blocks The university is
planning to connect its admission office in the closet big city, which is more
than 250kms from university?
(iv) Which type of network out of LAN, WAN & MAN will be formed justify your
answer.
Page.4
SAMPLE PAPER – 6
INFORMATICS PRACTICES
Class: XII CBSE
TERM - II Max .Marks: 35
Time: 2:00 Hrs
General Instructions:
The question paper is divided into 3 Sections - A, B, and C.
Section A consists of 7 Questions (1-7). Each Question Carries 2 Marks.
Section B consists of 3 Questions (8-10). Each Question Carries 3 Marks.
Section C consists of 3 Questions (11-13). Each Question Carries 4 Marks.
Internal Choices given for Question numbers 1, 3, 8 and 12.
SECTION – A
This section consists of 7 Questions (1 to 7).
1. Anupam is a class 12 computer science student. He knows about browser and it’s [2]
various settings, but he is not very much clear about the term Add-ons and
Plugins. As a good friend of Anupam, explain him the difference between Add-ons
and Plugins.
(OR)
Aman is a brilliant child of class VIII. Due to some unavoidable reason, he missed
his one computer class in which his teacher taught the difference between
Webpage and Website. As his elder brother explain him the difference between
Webpage and Website.
2. (i) I am a topology in which all the computers are directly connecting to a single [1]
cable called backbone. If the backbone cable break the entire network will be
Down. Name the topology.
Page.1
7. Mr. Rakesh created the following table ‘Student’ to store the details of students: [2]
TABLE: STUDENT
(OR)
Write the queries for the following on the basis of above table : STUDENT
(i) Display the name of the student who born in year 2000.
(ii) Display the detail of the students who born in the month of ‘May’
SECTION – B
This section consists of 3 Questions (8 to 10). Each Carries 3 Marks.
8. Write the output of the following queries: [3]
Select length(trim("Computer"));
Select mid("Informatics Practices", 7, 7);
Select instr("Computer Science", "e");
(OR)
Consider the table “Book” which has the following fields:
1. Bookno 2. Bname 3. Price 4. Author_name
Write the queries for the following:
(i) Display name of all the books in upper case.
(ii) Display last digit of price column of all the books.
(iii) Display third, fourth and fifth character from all the author name.
9. Explain the following SQL functions with example: [3]
(i) NOW() (ii) LEFT() (iii) SUM()
10. Name and explain all the functions which are used in the following query with [3]
example: SELECT RIGHT((TRIM("COMMON QUERIES"),6));
Also write the output of the above query.
Page.2
SECTION – C
This section consists of 3 Questions (11 to 13). Each Question Carries 4
Marks
11. Consider the following table “CHIPS” and write queries given below: [4]
TABLE: CHIPS
BRAND_NAME FLAVOUR PRICE QUNATITY
LAYS ONION 10 5
LAYS TOMATO 20 12
UNCLE CHIPS SPICY 12 10
UNCLE CHIPS PUDINA 10 12
HALDIRAM SALTY 10 20
HALDIRAM TOMATO 25 30
(i) To display detail of all chips in decreasing order of quantity.
(ii) To display brand name and it’s total quantity available.
(iii) To display brand name and it’s average price.
(iv) To display detail of lowest price chips in each brand.
12. Write the queries for the following task. [4]
(i) Add a new column “Name” of data type Varchar(30) in table “Hotel”.
(ii) Delete a record from table “emp” whose empid is 101.
(iii) Delete all the records of table “stock” along with structure.
(iv) Display the total of column “Salary” from table “emp”.
(OR)
Based on the table: “EMP” given below:
EMPID SALARY
1 45000
2 50000
3 55000
4 40000
5 NULL
Write the output of the following:
(i) SELECT MOD(SALARY, 100) FROM EMP;
(ii) SELECT AVERAGE(SALARY) FROM EMP;
(iii) SELECT SUM(SALARY) FROM EMP WHERE EMPID > 3;
(iv) SELECT MAX(SALARY) FROM EMP;
Page.3
13. Admin, Account, Research, and Care-unit are four buildings of an IT company as [4]
shown in the diagram below. Ms. Shalini want to connect all the four buildings.
Page.4
SAMPLE PAPER – 7
INFORMATICS PRACTICES
Class: XII CBSE
TERM - II Max .Marks: 35
Time: 2:00 Hrs
General Instructions:
The question paper is divided into 3 Sections - A, B, and C.
Section A consists of 7 Questions (1-7). Each Question Carries 2 Marks.
Section B consists of 3 Questions (8-10). Each Question Carries 3 Marks.
Section C consists of 3 Questions (11-13). Each Question Carries 4 Marks.
Internal Choices given for Question numbers 1, 3, 8 and 12.
SECTION – A
This section consists of 7 Questions (1 to 7).
1. Manoj is confused between LAN and WAN type of Network. As a friend of Manoj, [2]
explain him the difference between LAN and WAN.
(OR)
Raju is a networking engineer. He wants to connect 4 computers. Which device
will help him to form/create a network? Also suggest a device which helps him to
connect computers with internet.
2. Identify me: [1]
a. I am an analog device which regenerates the week signals.
b. I am an intelligent hub.
3. Write the output of the following: [2]
a. Select pow(100,-2); b. Select round(1578.3871, -3);
(OR)
What is the difference between left() and right() functions of MySQL? Explain with
example.
4. Differentiate between dynamic and static webpage. [2]
Page.1
(OR)
a. Select quantity from stock; b. Select max(quantity) + min(quantity) from stock;
SECTION – B
This section consists of 3 Questions (8 to 10). Each Carries 3 Marks.
8. Write the output of the following: [3]
(i) Select instr("1234567891262512145","4");
(ii) Select mid("Informatics Practices", 4, 8)
(iii) Select year(now());
(OR)
Consider the table “Car” given below and write SQL queries:
Page.2
12. Aman is working as a Database administrator in a company. He shared the [4]
following data with his junior analyst “Sumit”.
Sumit has written the following queries. Help him in predicting the output of the
given queries.
(i) Select sum(Price) from Book where Subject = "I.T.";
(ii) Select avg(Price) from Book where Class = "X";
(iii) Select trim(‘B’ from B_id) from Book;
(iv) Select * from Book where Subject like "%t%";
(OR)
Page.3
As a network expert, answer the following
(i) Suggest the most suitable place to house the Server.
(ii) Suggest a cable layout of connections between the various divisions.
(iii) Suggest the placement of (i) modem (ii) hub/switch in the network.
(iv) The organization is planning to link its Gurugram office with four retail
outlets situated in various parts of the same city, which type of network
will be formed?
Page.4
SAMPLE PAPER – 8
INFORMATICS PRACTICES
Class: XII CBSE
TERM - II Max .Marks: 35
Time: 2:00 Hrs
General Instructions:
The question paper is divided into 3 Sections - A, B, and C.
Section A consists of 7 Questions (1-7). Each Question Carries 2 Marks.
Section B consists of 3 Questions (8-10). Each Question Carries 3 Marks.
Section C consists of 3 Questions (11-13). Each Question Carries 4 Marks.
Internal Choices given for Question numbers 1, 3, 8 and 12.
SECTION – A
This section consists of 7 Questions (1 to 7).
1. During an international exchange programme the students need to connect to a [2]
classroom in Russia using Skype. Samarth helps the students to connect. Which
type of network service is being used? Explain.
(OR)
Define hub and write its functions and types.
2. Write one advantage of bus topology of network. Also, illustrate how four [2]
Computers can be connected with each other using star topology of network?
3. What will be the output of the following command? [2]
i) SELECT POWER(10,2)
ii) SELECT ROUND(14.4743, 1)
iii) SELECT MOD(15,3)
iv) SELECT TRUNCARE(6543,768,2)
(OR)
(a) Consider the decimal number x with value 8459.2654. Write commands in
SQL.
i) To round it off to a whole number.
ii) To round it to 2 places before the decimal.
(b) Given a number n, write commands in SQL to
i) Compute cube of this number using SQL function.
ii) compute remainder on division of n by another number m using SQL
Function.
4. Create the given table with following details: [2]
Also list the difference between unique key and primary key constraint.
5. I. List the difference between static and dynamic website. [2]
II. Mr. Chand is not able to identify the domain name in the
given URL. Identify and write it for him. http://www.cbsenic.in/aboutus.htm
Page.1
6. Anita has been given the below given orders table: [2]
i) How will she generate the following output using group by and aggregate
functions where in the count of items for cuid are arranged in descending
order?
ii) How will she count the number of distinct items in the orders table?
7. i. What is the purpose of GROUP BY clause in MySQL? How is it different from [2]
ORDER BY clause?
ii. Shanya Khanna is using a table EMPLOYEE. It has the following columns:
Admno, Name, Agg, Stream [column Agg contains Aggregate marks]
She wants to display highest Agg obtained in each Stream.She wrote the following
statement: SELECT Stream, MAX(Agg) FROM EMPLOYEE;
But she did not get the desired result. Rewrite the above query with necessary
changes to help her get the desired output.
SECTION – B
This section consists of 3 Questions (8 to 10). Each Carries 3 Marks.
8. Write the output of the following SQL queries: [3]
i) Select concat( left (' india is great ',6), substr(' india is great ',10,5)
ii) select power(instr('abcd412','1'),3);
iii) select length( substr(lower('abc 123'),1,3));
(OR)
Consider the following table:
(i) To display details of all salesman of East and West area in ascending
order of sname.
(ii) To display the area wise total of sales amount.
(iii) To display the area-wise count of salesmen for those areas who have more
than 1 salesman.
(iv) To display the Sname Sname and Dojoin of the salesman who has joined
most recently.
12. Consider the Vehicles table given below and perform the following a relation [4]
Vehicles is given below:
(i) Suggest the kind of network required (out of LAN, MAN, WAN) for each of
the following units.
(a) Production Unit and Media Unit (b) Production Unit and Finance Unit
(ii) Which of the following devices will you suggest for connecting all
computers with each of their office units?
(a) Switch/Hub (b) Modem (c) Telephone
(iii) Suggest a cable/wiring layout for connecting the company’s local office
units located in Chennai.
(iv) Also, suggest an effective method/technology for connecting the company’s
Office unit located in Delhi.
2. (i) Beauty Lines Fashion Inc. is a fashion company with design unit and market [2]
unit 135 m away from each other. The company recently connected their LANs
using Ethernet cable to share the stock related information. But after joining
their LANs, they are not able to share the information due to loss of signal in
between. Which device you suggest to be installed for a smooth
communication?
(ii) Identify the following device:
Devices that are used to connect different types of networks. It performs the
necessary translation so that the connected networks can communicate
properly.
3. Predict the output of the following queries: [2]
(i) SELECT SUBSTR('ABCDEFG', -5 ,3) (ii) SELECT left("Jammu Region", 5);
(OR)
Briefly explain the purpose of the following SQL functions:
i. SUBSTR() ii. LEFT()
4. Mr. Ramesh is not able to identify the Domain Name and document name in the [2]
given URL. Identify and write it for him. http.//www.cbsenic.in/aboutus.htm
5. Predict the output of the following queries: [2]
i. Select power(5,2); ii. Select mod(5,2);
6. Anjali writes the following commands with respect to a table employee having [2]
fields, empno, name, department, commission.
Command1 : Select count(*) from employee;
Command2: Select count(commission) from employee;
Page.1
She gets the output as 4 for the first command but gets an output 3 for the
second command. Explain the output with justification.
7. Assume we have the following "Orders" table: [2]
1 Geitost 2021-11-11
Page.2
10. Gopi Krishna is using a table EMPLOYEE. It has the following columns: [3]
Code, Name, Salary, Deptcode. He wants to display maximum salary Department
wise.
He wrote the following command:
SELECT Dept code, Max(Salary) FROM EMPLOYEE;
But he did not get desired result.
Rewrite the above query with necessary change to help him get the desired output
and explain the reason.
SECTION – C
This section consists of 3 Questions (11 to 13). Each Question Carries 4
Marks
11. Consider the following table "Garment" [4]
Page.3
(OR)
(e) Display total price of products launched in year 2008.
(f) Display minimum price of product for each material code(MCODE).
(g) Display the most recent LAUNCHDATE.
(h) Display remainder of price divided by 10.
13. BeHappy Corporation has set up its new centre at Noida, Uttar Pradesh for its [4]
office and web-based activities. It has 4 blocks of buildings.
a) Suggest and draw the cable layout to efficiently connect various blocks of
buildings within the Noida centre for connecting the digital devices
b) Suggest the placement of the following device with justification
i. Repeater ii. Hub/Switch
c) Which kind of network (PAN/LAN/WAN) will be formed if the Noida office is
connected to its head office in Mumbai?
d) Suggest a most suitable place(unit) to install server with justification.
Page.4
SAMPLE PAPER – 10
INFORMATICS PRACTICES
Class: XII CBSE
TERM - II Max .Marks: 35
Time: 2:00 Hrs
General Instructions:
The question paper is divided into 3 Sections - A, B, and C.
Section A consists of 7 Questions (1-7). Each Question Carries 2 Marks.
Section B consists of 3 Questions (8-10). Each Question Carries 3 Marks.
Section C consists of 3 Questions (11-13). Each Question Carries 4 Marks.
Internal Choices given for Question numbers 1, 3, 8 and 12.
SECTION – A
This section consists of 7 Questions (1 to 7).
1. Anitha is confused between a web URL and a domain. Help her to distinguish [2]
between the two with a brief explanation using examples.
(OR)
Rashida wants to edit some privacy settings of her browser. How can she
accomplish her task?
2. (i) [2]
I
● provide internet to the Router to help it connect the networks.
● am often confused with the Router as we can look the same.
● convert digital data to analog and vice versa.
What am I?
(ii)
Which protocol allows you to make voice calls using a broadband Internet
connection?
3. Predict the output of the following queries: [2]
i. Select pow(2.0 ,3.0); ii. Select mod(2.0 ,3.0);
(OR)
Briefly explain the purpose of the following SQL functions:
(i) SUBSTR() (ii) LEFT()
4. "A web browser is different from a web server". Explain any two differences in web [2]
browser and web server with suitable example of each.
5. Help Reshma in predicting the output of the following queries: [2]
(i) select round(783.34,-2); (ii) select round(456.335,2);
Page.1
6. What is the differences between HAVING clause and WHERE clause? Explain with [2]
help of Example?
7. Given Table Course: [2]
(OR)
Based on the table given above, write queries for the following task:
SECTION – B
This section consists of 3 Questions (8 to 10). Each Carries 3 Marks.
8. Predict the output of the following queries: [3]
i. SELECT INSTR ('Very good', 'good');
ii. SELECT MID('Quadratically',5,6);
iii. SELECT RIGHT (‘Command', 3);
(OR)
A school “ABC” maintains the following MySQL table named ‘student’ having
following structure to store the details of their students:
Page.2
Write the SQL query to achieve the following tasks.
i. To display the first three characters of the column stream in UPPER case.
ii. To display the year of birth as "YEAR"
iii. To locate the position of the sub-string “sci” in the column stream.
9. ANITA is working with functions of MySQL. Explain her following: [3]
i. What is the difference between MONTH() and MonthName() function?
ii. Which function returns the weekday for date.?
iii. What is the output of SELECT MONTHNAME ('2008-02-03')?
10. Predict output for the following SQL queries: [3]
i) select concat ( rtrim ( 'TERM2 ' ), 'EXAM');
ii) select length ( rtrim ( ' TERM2EXAM ' ) );
iii) select length ( trim ( ' TERM2EXAM ' ) );
SECTION – C
This section consists of 3 Questions (11 to 13). Each Question Carries 4
Marks
11. Consider the following table Student: [4]
TABLE: STUDENT
Write SQL queries for (i) to (iv), which are based on the table: STUDENT
(i) To display the records from table student in descending alphabetical order as
per the name of the student.
(ii) To display Class, Dob and City whose marks is between 450 and 551.
(iii) To display highest marks scored from each city along with the city name.
(iv) To display class and total number of students in each class which are less
than 3.
12. Ratna an IT student is confused about finding the outputs of the SQL [4]
queries.Help her find the outputs :
Table: food
scode pname sname City price
S1001 bread britannia Cochin 50
S1002 jam kissan Trivandrum 40
S1003 chocolate nestle kollam 30
S1004 Cake britannia Thrissur 20
S1005 icecream amul Trivandrum 40
S1006 biscuit britannia NULL 20
S1007 butter amul Cochin 30
S10078 cheese amul kollam 35
Page.3
(a) select sname, min(price)+max(price) from food group by sname;
(b) select count(city) from food;
(c) select length(pname) from food where city is NULL;
(d) select count(distinct(sname)) from food;
(OR)
Based on the above given table named 'FOOD', Hemanth has executed the
following queries:
Predict the output of the above given query. Also give proper justifications of the
output generated through each query.
13. A company in Cyntel Enterprises has 4 departments of buildings as: [4]
Page.4