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

IP Preboard Question Paper

This document provides the instructions and questions for an exam on Informatics Practices. It is divided into 3 sections (A, B, C) with increasing point values for the questions. Section A contains 7 multiple choice or short answer questions worth 2 points each. Section B contains 3 questions worth 3 points each involving SQL queries. Section C contains 3 longer questions worth 4 points each, involving writing and analyzing SQL queries, network topologies, and device placement.

Uploaded by

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

IP Preboard Question Paper

This document provides the instructions and questions for an exam on Informatics Practices. It is divided into 3 sections (A, B, C) with increasing point values for the questions. Section A contains 7 multiple choice or short answer questions worth 2 points each. Section B contains 3 questions worth 3 points each involving SQL queries. Section C contains 3 longer questions worth 4 points each, involving writing and analyzing SQL queries, network topologies, and device placement.

Uploaded by

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

Informatics Practices (Code: 065)

Maximum Marks:35 Time: 2 hours

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 have been given for question numbers – 1, 3, 8 and 12.

SECTION-A
Each question carries 2 marks
1. Trisha, a newbie to web technology, is unable to understand the difference between WWW and
the Internet. Help Trisha in deciding out the difference between WWW and Internet on at least
two points. [2]

OR

Sneha a student of Information Technology is unable to understand the difference between


Domain name and URL. Help her to understand the difference between them.

2. i) Name the protocol that lets users make calls using a broadband Internet connection
instead of a standard phone line. [2]

ii) Name any two popular search engines.

3. Predict the output of the following queries: [2]


i. SELECT ROUND(45.926, 2);
ii. SELECT TRUNCATE(45.926, 2);

OR

Give the general purpose of the following SQL functions:


i. ROUND()
ii. TRUNCATE()

4. What is the difference between web page and home page? [2]

5. Help Ayesha in predicting the output of the following queries: [2]


i) SELECT INSTR(LEFT('INFORMATICS PRACTICES',9), 'R');
ii) SELECT LEFT(MID('INFORMATICS PRACTICES',-7,8),3);

6. What is a NULL Value? It is not possible to test for NULL values with comparison operators,
such as =, <, or <>; then how is NULL value tested? [2]
7. Consider the table Employee given below: [2]

He has written the following queries:


i) SELECT MIN(MONTH(DateofJoining)) FROM EMPLOYEE;
ii) SELECT EmpName FROM EMPLOYEE WHERE YEAR(DateofJoining)=2016;
Predict the output.

OR

Based on the table, write queries for the following task:


i) To display the name of eldest employee and his/her date of joining.
ii) To display the name of the employees whose joining month is August of the year 2019.

SECTION B
Each question carries 3 marks
8. Predict the output of the following queries: [3]
i. SELECT LEFT('INFORMATICS PRACTICES',TRUNCATE(7/2,1));
ii. SELECT MID('INFORMATICS PRACTICES',-13,3);
iii. SELECT INSTR('INFORMATICS PRACTICES','RMA');

OR
Ms. Saniya is working on a MySQL table named ‘Info’ having the following structure:
Field Type Null Key Default Extra
Id varchar(30) YES NULL
Name varchar(30) YES NULL
Town varchar(30) YES NULL
phone varchar(11) YES NULL

She need to perform the following task on the table:


i) To fetch first 3 characters from the Id column.
ii) To display the values of the Name column in upper case.
iii) To display the 4 characters from 3rd place from the column Town.
Suggest suitable SQL function for the same. Also write the query to to achieve the desired task.
9. Samuel is working with functions of MySQL. Explain the following: [3]
i. What is the purpose of CONCAT() function?
ii. How many parameters does it accept?
iii. What is the general format of its return type?

10. State the purpose of the following aggregate functions: [3]


i. AVG()
ii. SUM()
iii. COUNT()

SECTION-C
Each question carries 4 marks
11. Consider the following table “Salesmen” and write answers for the questions given below:

Write SQL queries for the following: [4]


a) Display area-wise average age.
b) Display the total commission (Comm) area-wise.
c) Display the records in decreasing order of age.
d) Display highest and lowest commission(Comm) gender wise.

12. Predict the output of the following SQL queries: [4]


Table : Employee
Eno Ename Job Salary Dept
101 Anupam Programmer 5000 10
102 Mahesh Kumar Editor 2500 20
103 Dinesh Programmer 2700 10

(i) SELECT LENGTH(ENAME) FROM EMPLOYEE;


(ii) SELECT MAX(SALARY)+MIN(SALARY) FROM EMPLOYEE;
(iii) SELECT COUNT(*) FROM EMPLOYEE WHERE JOB="Programmer";
(iv) SELECT LEFT(Ename,3) FROM EMPLOYEE;

OR
State the difference between WHERE and HAVING.

13. The Sony has set up its Branch at Srinagar for its office and web based activities. It has 4
Zone of buildings as shown in the diagram: [4]
Zone Z Zone Y

Zone X Zone U

Branch to branch distances are :


Zone X to Zone Z 40 Mtr
Zone Z to Zone Y 60 Mtr
Zone Y to Zone X 135 Mtr
Zone Y to Zone U 70 Mtr
Zone X to Zone U 165 Mtr
Zone Z to Zone U 80 Mtr

Number of Computers:
Zone X 50
Zone Z 130
Zone Y 40
Zone U 15

(a) Suggest a most suitable cable layout or Networking Toplogy of connections between the
Zones.
(b) Suggest the most suitable place (i.e.Zone) to house the Server of this organization with a
suitable reason, with justification.
(c) Suggest the placement of the following devices with justifications:
(1) Repeater (2) Hub / Switch
(d) Which is the most economic type of cable for the selected topology?

You might also like