0% found this document useful (0 votes)
56 views25 pages

Question Paper 2015: Central Board of Secondary Education (Official)

This document is the question paper for the Central Board of Secondary Education exam from 2015. It contains 7 questions testing knowledge of informatics practices. The questions cover topics like networking, programming, databases, and web development. Students are instructed to write their roll number and code on the answer sheet and are given 3 hours to complete the paper consisting of short and long answer questions.

Uploaded by

Sanket gupta
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)
56 views25 pages

Question Paper 2015: Central Board of Secondary Education (Official)

This document is the question paper for the Central Board of Secondary Education exam from 2015. It contains 7 questions testing knowledge of informatics practices. The questions cover topics like networking, programming, databases, and web development. Students are instructed to write their roll number and code on the answer sheet and are given 3 hours to complete the paper consisting of short and long answer questions.

Uploaded by

Sanket gupta
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/ 25

Central Board of Secondary Education

Question Paper 2015


[Official]

By

AglaSem
www.schools.aglasem.com
AglaSem Schools
SET-4
Series SSO Code No. 90
Candidates must write the Code on the
Roll No.
title page of the answer-book.

 Please check that this question paper contains 8 printed pages.

/
m
 Code number given on the right hand side of the question paper should be
written on the title page of the answer-book by the candidate.

o
.c
 Please check that this question paper contains 7 questions.
 Please write down the Serial Number of the question before

m
attempting it.

se
 15 minute time has been allotted to read this question paper. The question
paper will be distributed at 10.15 a.m. From 10.15 a.m. to 10.30 a.m., the
la
students will read the question paper only and will not write any answer on the
answer-book during this period.
ag

INFORMATICS PRACTICES
s.
ol

Time allowed : 3 hours Maximum Marks : 70


ho
sc

Instructions :
://

(i) All questions are compulsory.


(ii) Answer the questions after carefully reading the text.
tp
ht

1. (a) A school with 20 stand-alone computers is considering networking


them together and adding a server. State 2 advantages of doing this. 1

(b) Distinguish between LAN and WAN. 1

(c) What is the purpose of Modem in network ? 1

(d) Write one example of IP Address. 1


90 1 P.T.O.
AglaSem Schools
(e) Define ‘Domain Name Resolution’. 2

(f) Name two threats to security in a network. What is the role of


Firewall in Network security ? 2

(g) Write one advantage and one disadvantage of Open Source


software over Proprietary software. 2

2. (a) Write the value of variable ‘c’ after execution of the following code : 1

/
int d;

m
int c;

o
d=7;

.c
c = (5*++d)%3;

m
(b) What is the difference between jTextField and jPasswordfield

se
components ? 1

(c) In a SWITCH statement, what is the purpose of ‘default’ section ?


la 1

(d) After typing the HTML code using a text editor, how do you see
ag
how it would look as a web page ? 1
s.

(e) Write Java code to assign the value 500 to variable x. Increase
ol

the value of x by 50 and store it in variable y. 2


ho

(f) Write the output that will be generated by the code given below : 2
int i;
sc

i = 7;
int r;
://

r=8;
tp

while (i<=10)
{
ht

System.out.println(r*i);
i = i+2;
}

(g) ‘‘With XML there are no predefined tags’’ – Explain in brief with
the help of an example. 2

90 2
AglaSem Schools

3. (a) What is MySQL ? 1

(b) Is NULL value the same as 0 (zero) ? Write the reason for your
answer. 1

(c) Write the UPDATE command to increase the commission


(Column name : COMM) by 500 of all the Salesmen who have
achieved Sales (Column name : SALES) more than 200000. The
table’s name is COMPANY. 1

/
m
(d) While using SQL pattern matching, what is the difference

o
between ‘_’ (underscore) and ‘%’ wildcard symbols ? 1

.c
(e) How is Primary key constraint different from Unique key

m
constraint ? 2

se
(f) Write one similarity and one difference between CHAR and
VARCHAR data types. la 2
ag
(g) What is a Transaction ? Which command is used to make
changes done by a Transaction permanent on a database ? 2
s.

4. (a) The following code has some error(s). Rewrite the correct code
ol

underlining all the corrections made. 2


ho

int marks, temperature;


sc

marks = jTextField1.getText());
temperature = Integer.parseInt(jTextField2.getText());
://

if (marks < 80) and (temperature >= 40)


tp

{
System.out.println("Not Good");
ht

}
else;
{
System.out.println("OK");
}

90 3 P.T.O.
AglaSem Schools
(b) How many times will the following WHILE loop execute ? 2
int y = 7, sum = 0;
while (y<= 15)
{
sum = sum + y;
y = y+2;
}

/
(c) Rewrite the following program code using IF ELSE IF instead of

m
SWITCH statement : 2

o
String tour;

.c
int cl = Integer.parseInt(jTextField1.getText());

m
switch (cl)
{

se
case 8: tour = "\n You are going to Camp Ramgarh";
break; la
case 9: tour = "\n You are going to Manali, Rohtang
ag
Pass"; break;
case 10: tour = "\n You are going to Chail";
s.

break;
ol

default: tour = " No School tour for you this time";


ho

(d) Write the values of sum and x after execution of the following
sc

code : 2
int sum,x;
://

sum = 7;
tp

x = 5;
ht

sum = sum + (x++);

(e) What will be the contents of jTextField1 and jTextField2 after


executing the following code : 2
String s = "Best";
jTextField1.setText(s.length()+" ");
jTextField2.setText(s.toUpperCase());

90 4
AglaSem Schools
(f) The students of ‘‘Shiksha Vidyalaya’’ work for different extra
curricular activities like ‘Community Outreach Programme’,
‘Swachh Bharat Abhiyan’ and ‘Traffic Safety Club’. The
Programmer at the school has developed a GUI application as
shown below :

/
o m
.c
m
Outreach

se
la
ag
s.
ol
ho

 A student can participate in more than one activities.


sc

 Each student gets 10 points for each activity – namely


Community Outreach Programme, Swachh Bharat
://

Abhiyan and Traffic Safety Club.


tp

Help the programmer to write code for the following :


(i) When ‘Calculate Total Score’ button is clicked, the points
ht

for each activity (that is selected) should be displayed in


the text field in front of that activity’s checkbox and the
Total Score should be displayed in the appropriate Text
field. 3
(ii) When Clear button is clicked, all the Textfields and
Checkboxes should be cleared. 1
(iii) When Stop button is clicked, the application should close. 1
90 5 P.T.O.
AglaSem Schools

5. (a) Distinguish between Single Row and Aggregate functions of MySQL.


Write one example of each. 2
(b) Consider the following table named ‘‘SOFTDRINK’’. Write
commands of SQL for (i) to (iv) and output for (v) to (vii).
Table : SOFTDRINK
DRINKCODE DNAME PRICE CALORIES
101 Lime and Lemon 20.00 120
102 Apple Drink 18.00 120

/
m
103 Nature Nectar 15.00 115

o
104 Green Mango 15.00 140

.c
105 Aam Panna 20.00 135
106 Mango Juice Bahaar 12.00 150

m
(i) To display names and drink codes of those drinks that have

se
more than 120 calories. 1
(ii) To display drink codes, names and calories of all drinks, in
la
descending order of calories. 1
(iii) To display names and price of drinks that have price in the
ag
range 12 to 18 (both 12 and 18 included). 1
(iv) Increase the price of all drinks in the given table by 10%. 1
s.

(v) SELECT COUNT(DISTINCT(PRICE)) FROM SOFTDRINK; 1


ol

(vi) SELECT MAX (CALORIES) FROM SOFTDRINK; 1


ho

(vii) SELECT DNAME FROM SOFTDRINK WHERE DNAME


LIKE “%Mango%”; 1
(c) What is the degree and cardinality of ‘SOFTDRINK’ TABLE ? 1
sc

6. (a) Write MySQL command to create the Table ‘LIBRARY’ with given
://

constraints. 2
tp

Table : LIBRARY
COLUMN_NAME DATATYPE(SIZE) CONSTRAINT
ht

BookId Int(10) Primary Key


BookName Varchar(40) Not Null
Type Char(4)
Author Varchar(40)
No_Copies Int(6)
Price Decimal(8,2)

90 6
AglaSem Schools
(b) In a Database Company, there are two tables given below :

Table : SALES

SALESMANID NAME SALES LOCATIONID

S1 ANITA SINGH ARORA 250000 102

S2 Y.P. SINGH 1300000 101

/
m
S3 TINA JAISWAL 1400000 103

o
S4 GURDEEP SINGH 1250000 102

.c
S5 SIMI FAIZAL 1450000 103

m
se
Table : LOCATION

la
LOCATIONID LOCATIONNAME
101 Delhi
ag
102 Mumbai
s.

103 Kolkata
ol

104 Chennai
ho

Write SQL queries for the following :


sc

(i) To display SalesmanID, names of salesmen, LocationID with


corresponding location names. 2
://

(ii) To display names of salesmen, sales and corresponding


tp

location names who have achieved Sales more than 1300000. 2

(iii) To display names of those salesmen who have ‘SINGH’ in


ht

their names. 2

(iv) Identify Primary key in the table SALES. Give reason for
your choice. 1

(v) Write SQL command to change the LocationID to 104 of the


Salesman with ID as S3 in the table ‘SALES’. 1

90 7 P.T.O.
AglaSem Schools

7. (a) How does e-learning allow students to study at their own pace ? 2

(b) How does e-governance empower citizens ? Write one point. 1

(c) Sabeena is creating a form for the hotel where she works. Help
her to choose most appropriate controls from ListBox, ComboBox,
TextField, TextArea, RadioButton, Checkbox, Label, and
Command Button for the following entries : 2

/
m
S.No. Function

o
.c
1 To input name

m
2 To allow enter gender out of M or F

se
To allow selecting type of room out of Deluxe,
3 la
SemiDeluxe, General
To allow entering preferences of guest in the form of
ag
4
a paragraph
s.
ol
ho
sc
://
tp
ht

90 8 61,500
Central Board of School Education

Marking Scheme 2015


[Official]
ht
tp
://
sc
ho
ol
s.
ag
la
se
m
.c
om
/
AglaSem Schools
ht
tp
://
sc
ho
ol
s.
ag
la
se
m
.c
om
/
AglaSem Schools
ht
tp
://
sc
ho
ol
s.
ag
la
se
m
.c
om
/
AglaSem Schools
ht
tp
://
sc
ho
ol
s.
ag
la
se
m
.c
om
/
AglaSem Schools
ht
tp
://
sc
ho
ol
s.
ag
la
se
m
.c
om
/
AglaSem Schools
ht
tp
://
sc
ho
ol
s.
ag
la
se
m
.c
om
/
AglaSem Schools
ht
tp
://
sc
ho
ol
s.
ag
la
se
m
.c
om
/
AglaSem Schools
ht
tp
://
sc
ho
ol
s.
ag
la
se
m
.c
om
/
AglaSem Schools
ht
tp
://
sc
ho
ol
s.
ag
la
se
m
.c
om
/
AglaSem Schools
ht
tp
://
sc
ho
ol
s.
ag
la
se
m
.c
om
/
AglaSem Schools
ht
tp
://
sc
ho
ol
s.
ag
la
se
m
.c
om
/
AglaSem Schools
ht
tp
://
sc
ho
ol
s.
ag
la
se
m
.c
om
/
AglaSem Schools
ht
tp
://
sc
ho
ol
s.
ag
la
se
m
.c
om
/
AglaSem Schools
ht
tp
://
sc
ho
ol
s.
ag
la
se
m
.c
om
/
AglaSem Schools
ht
tp
://
sc
ho
ol
s.
ag
la
se
m
.c
om
/
AglaSem Schools

You might also like