SlideShare une entreprise Scribd logo
1  sur  8
Sample Paper
Class XII
Sub : I.P
Q 1. Answer the following questions.
a) A School would like to go in for network of all the computers.Which
topologywould you recommend and why?
[2]
b) What is communication channel? What choices do you have while
choosing a communicationchannel for a network?
[2]
c) What do you mean by network topology? Name most popular
topologies
[2]
d) Priyanka is using software, which has been downloaded from internet
and is available for one month. Afterone month he has to pay license fee
for further use. Which software Priyanka is using?
[1]
e) Ashutosh is transferring songs from his mobile to his friend’s mobile
via Bluetooth connection. Name the network used by Ashutosh.
f) Which protocol is used for transfer of hyper text documents on the
internet?
[1]
g) Which of the following is not a characteristic of open source software?
 Its source code is available for modification
 Its owned by a company or an individual
 It can be downloaded by Internet
[1]
[1]
Q 2. Answer the following questions.
a) Ms. Monika has developed a Java application for a Food Bazar billing,
in which check boxes and text fields are made on form. Items are shown
through check boxes. Selecting check box displaying corresponding text
fields. Name the property which Monika should use to perform the same.
[1]
b) What is the purpose of break and continue statement in a loop? [1]
c) Name the tag which is used to insert image in background of HTML
documentwith example.
[1]
d) What is XML? How is it differentfrom HTML? [1]
e) What will be the value of s after executing the following code?
double i,sum=2
for(i=3;i<8;++i)
{ if(i%4= =0)
{ break;
sum=Math.pow(sum,i);
}
else
sum+=i/2;
}
[2]
f) Write a method in Java that takes a number as parameter and return
sum of its divisors.
[2]
g) What are the use of the following tags-
<OL>, <BR>, <SUP>, <I>
[2]
Q 3. a) Which MySQL command helps you to see existing databases? [1]
b) Sagar created a table in Mysql. Later he found that table is wrongly
created and he wants to remove it. Name the command by which Sagar
can do it.
[1]
c) Lakshay created a table named student, he wants to see those
students whose name ending with s. He wrote a query-
SELECT name.* FROM student WHERE name=”%s”;
[1]
Help Lakshay to run the query by removing the errors from the query and
rewriting it.
d) Sanjeev is not able to reduce the salary of employee.Which
constraint has he used while creating table?
[1]
e) What is primary key? How is it differentfrom candidate key? Explain
with the help of suitable example.
[2]
f) Emp_no,Ename and Sal of table “EMP” are given below
Emp_No Ename Sal
101 Priya 6700
102 Khush 7500
103 Natasha
104 Krish 5500
Based on this information, find output of the following queries.
a) SELECT MAX(sal) FORM EMP;
b) SELECT Name FROM emp WHERE sal IS Null;
[2]
g) Define Degree and Cardinality. [2]
Q 4. a) What is Inheritance? Name the inheritance types which is not
supported by Java.
[1]
b) Marks of a student is stored in a string variable strMarks. Marks are to
be used in calculation. Write the Java statement to convert marks into
double variable dblMarks.
[1]
c) Write the purpose of the following statements.
i) jTextArea1.append(“Hello Dear”);ii) jTextArea1.setText(“Howr tU?”);
[1]
d) Rewrite the following code using for loop.
int i=0;
[2]
while(++i<20)
{ if( i==8)
break;
System.out.println(i++);
}
e) The following code has some error(s). Rewrite the correct code
underlining all the corrections made.
int y=3;
switch(y);
{ case 1: System.out.print(“One”);
case >2: System.out.println(“greater than Two”);
break;
case else: System.out.print(“Invalid Number):
[2]
f) What will be the content of jTextField1 and jTextField2 after executing
the following code:
String st=”New to Information Technology”;
jTextField1.setText(st.replace(“Technology”,”Practices”);
jTextField2.setText(st.substring(7));
[2]
g) Ms. Meera works in a shopping mall. To calculate net payable amount
she has developed the following GUI in NetBeans.
[6]
The shop accepts payments in three modes-Cash, DebitCard, Credit
Cards. The discountgiven as per mode of payment is as follows-
Mode of payment Discount
Cash 12%
Debit Card Nil
Credit Card 8%
If the Membercheck box is checked then the customergets an additional
discount of 5% on net payable amount.
I. Write the code to make the textfields for Discount( txtDiscount ) and
Net Payable (txtNetPayable) uneditable.
II. Write code to do the following-
a) When Calculate button is clicked the discount and net payable
amount is calculated as per the given criteria and displayed in
discount and net payable text boxes.
b) When Clear button is clicked all the text boxes should be clear.
c) Close the application when Exit button is pressed..
Q 5. a) Categorize the DDL and DML commands :
CREATE,TRUNCATE,DELETE,GRANT,ROLLBACK,SELECT
[2]
b) Write output of the following SQL queries :
i) SELECTTRUNCATE(22.78,1);
[2]
ii) SELECTDAYOFMONTH(‘2010-10-17);
iii) SELECT SUBSTRING(‘CommonWealth Games 2010’,8,6);
iv) SELECT CONCAT(LOWER(‘Class’),UPPER(‘xii’));
c) Considerthe table Flight given below, write command in SQL for (1)
to (4) and output for (5) to (8).
Table : FLIGHT
Flight_No Origin Destination Seats FlightDate Rate
1005 Varanasi Nepal 275 12-Dec-
07
3000
2785 Delhi Kerala 290 17-Jan-08 5500
6587 Mumbai Varanasi 435 19-Feb-
08
5000
1265 Varanasi Nepal 200 02-Jan-08 5400
4457 Delhi Lucknow 150 22-Feb-
08
4500
6856 Varanasi Mumbai 180 03-Mar-
08
6000
(1) To display Flight flying between Varanasi and Nepal.
(2) To display the differentOrigin of Flights.
(3) To display list of flights in descending orderof Rate.
(4) To display flight details of the flight whose flightdate is after Jan 2008.
(5) SELECT Flight_No,Destination FROM Flight WHERE Destination
LIKE ‘_u%’;
(6) SELECT Origin, COUNT(*) FROM Flight GROUP BY Origin;
(7) SELECT Origin, Destination FROM Flight WHERE seats>400;
(8) SELECT SUM(Rate),MAX( Seats) FROM Flight;
[6]
Q 6. Answer the following question.
a) Write an SQL query to create the table “Books“ with the following
structure-
Field Type Constraint
Book_Id Varchar(6) Primary Key
Book_Name Varchar(25)
Author_Name Varchar(30)
Publisher Varchar(20)
Price Integer
Type Varchar(15)
Quantity Integer Not Null
[2]
b) In a database there are two tables ‘Patient’ and ‘Doctors’are shown
below-
Table: Patient
Name Patient_No Date_Adm Doctor_No
Kishor P104 2009-05-15 502
Ragini P202 2010-01-11 165
Reshu P754 2007-12-31 325
Kanti P612 2010-04-22 165
Table: Doctor
Doctor_No Doctor_Name Speciality
122 M. K Singh Dentist
165 R. K. Tiwari Neurology
325 V. K. Chauhan Surgery
502 N. Singh Nephrology
530 K. P. Sinha Urology
i) Name the columns which can be made ‘Primary Key’ in both the
tables.
ii) What will be the cardinality of Cartesian product of both the
tables?
[2]
c) Considerthe tables given below.
Table : STOCK
Itcode Itname Dcode Qty unitpr Stkdate
444 Drawing
Copy
101 10 21 31-June-
2009
445 Sharpener 102 25 13 21-Apr-
[6]
Camlin 2010
450 Eraser Natraj 101 40 6 11-Dec-
2010
452 Gel Pen
Montex
103 80 10 03-Jan-
2010
457 Geometry
Box
101 65 65 15-Nov-
2009
467 Parker
Premium
102 40 109 27-Oct-
2009
469 Office File 103 27 34 13-Sep-
2010
Table : DEALERS
Dcode Dname Location
101 Vikash Stationers Lanka Varanasi
102 Bharat Drawing Emporium Luxa Varanasi
103 Banaras Books
Corporation
Bansphatak
Varanasi
With reference to these tables, write commands in SQL for (i) and (ii) and
output for (iii) below-
(i) To display the amount that has beenspent to purchase Office file
& Sharpener camlin.
(ii) To display all the items of Vikash Stationers.
(iii) SELECT DCODE,COUNT(QTY),AVG(UNITPR)FROM STOCK
GROUP BY DCODE;
Q 7. a) What benefit does an e-business offers to the customers? [1]
b) How has society benefited from e-governance? [2]
c) Mr. Kartik is working as a Manager in Flash Telecomm. He wants to
create the forms with the following functions. Choose appropriate controls
from Text Field, Label, Radio Button, Check Box, List Box, Combo Box,
Command Button and write in the third column.
SNo Control Used to Control
1 Enter Name of Customer
2 Enter Mobile No.
3 Select Connection Type
4 Display total Amount of Bill
[2]

Contenu connexe

Tendances

GSP 125 RANK Education for Service--gsp125rank.com
GSP 125 RANK  Education for Service--gsp125rank.comGSP 125 RANK  Education for Service--gsp125rank.com
GSP 125 RANK Education for Service--gsp125rank.comclaric25
 
GSP 125 Enhance teaching/tutorialrank.com
 GSP 125 Enhance teaching/tutorialrank.com GSP 125 Enhance teaching/tutorialrank.com
GSP 125 Enhance teaching/tutorialrank.comjonhson300
 
GSP 125 Effective Communication/tutorialrank.com
 GSP 125 Effective Communication/tutorialrank.com GSP 125 Effective Communication/tutorialrank.com
GSP 125 Effective Communication/tutorialrank.comjonhson282
 
GSP 125 Entire Course NEW
GSP 125 Entire Course NEWGSP 125 Entire Course NEW
GSP 125 Entire Course NEWshyamuopten
 
GSP 125 Exceptional Education - snaptutorial.com
GSP 125 Exceptional Education - snaptutorial.comGSP 125 Exceptional Education - snaptutorial.com
GSP 125 Exceptional Education - snaptutorial.comdonaldzs162
 
GSP 125 Education Specialist / snaptutorial.com
  GSP 125 Education Specialist / snaptutorial.com  GSP 125 Education Specialist / snaptutorial.com
GSP 125 Education Specialist / snaptutorial.comstevesonz146
 
FP305 data structure PAPER FINAL SEM 3
FP305 data structure PAPER FINAL SEM 3FP305 data structure PAPER FINAL SEM 3
FP305 data structure PAPER FINAL SEM 3Syahriha Ruslan
 
Fp304 DATABASE SYSTEM JUNE 2012
Fp304   DATABASE SYSTEM JUNE 2012Fp304   DATABASE SYSTEM JUNE 2012
Fp304 DATABASE SYSTEM JUNE 2012Syahriha Ruslan
 
Gsp 125 Enthusiastic Study / snaptutorial.com
Gsp 125 Enthusiastic Study / snaptutorial.comGsp 125 Enthusiastic Study / snaptutorial.com
Gsp 125 Enthusiastic Study / snaptutorial.comStephenson101
 
FINAL PAPER FP304 DATABASE SYSTEM
FINAL PAPER FP304 DATABASE SYSTEMFINAL PAPER FP304 DATABASE SYSTEM
FINAL PAPER FP304 DATABASE SYSTEMAmira Dolce Farhana
 
Object oriented programming
Object oriented programmingObject oriented programming
Object oriented programmingRenas Rekany
 
Gsp 125 Education Organization -- snaptutorial.com
Gsp 125   Education Organization -- snaptutorial.comGsp 125   Education Organization -- snaptutorial.com
Gsp 125 Education Organization -- snaptutorial.comDavisMurphyB85
 
GSP 125 Enhance teaching - snaptutorial.com
GSP 125   Enhance teaching - snaptutorial.comGSP 125   Enhance teaching - snaptutorial.com
GSP 125 Enhance teaching - snaptutorial.comDavisMurphyA81
 
Gsp 125 Future Our Mission/newtonhelp.com
Gsp 125 Future Our Mission/newtonhelp.comGsp 125 Future Our Mission/newtonhelp.com
Gsp 125 Future Our Mission/newtonhelp.comamaranthbeg8
 

Tendances (16)

Bscit spring driveassignments
Bscit spring driveassignmentsBscit spring driveassignments
Bscit spring driveassignments
 
GSP 125 RANK Education for Service--gsp125rank.com
GSP 125 RANK  Education for Service--gsp125rank.comGSP 125 RANK  Education for Service--gsp125rank.com
GSP 125 RANK Education for Service--gsp125rank.com
 
GSP 125 Enhance teaching/tutorialrank.com
 GSP 125 Enhance teaching/tutorialrank.com GSP 125 Enhance teaching/tutorialrank.com
GSP 125 Enhance teaching/tutorialrank.com
 
GSP 125 Effective Communication/tutorialrank.com
 GSP 125 Effective Communication/tutorialrank.com GSP 125 Effective Communication/tutorialrank.com
GSP 125 Effective Communication/tutorialrank.com
 
GSP 125 Entire Course NEW
GSP 125 Entire Course NEWGSP 125 Entire Course NEW
GSP 125 Entire Course NEW
 
GSP 125 Exceptional Education - snaptutorial.com
GSP 125 Exceptional Education - snaptutorial.comGSP 125 Exceptional Education - snaptutorial.com
GSP 125 Exceptional Education - snaptutorial.com
 
GSP 125 Education Specialist / snaptutorial.com
  GSP 125 Education Specialist / snaptutorial.com  GSP 125 Education Specialist / snaptutorial.com
GSP 125 Education Specialist / snaptutorial.com
 
FP305 data structure PAPER FINAL SEM 3
FP305 data structure PAPER FINAL SEM 3FP305 data structure PAPER FINAL SEM 3
FP305 data structure PAPER FINAL SEM 3
 
Fp304 DATABASE SYSTEM JUNE 2012
Fp304   DATABASE SYSTEM JUNE 2012Fp304   DATABASE SYSTEM JUNE 2012
Fp304 DATABASE SYSTEM JUNE 2012
 
Gsp 125 Enthusiastic Study / snaptutorial.com
Gsp 125 Enthusiastic Study / snaptutorial.comGsp 125 Enthusiastic Study / snaptutorial.com
Gsp 125 Enthusiastic Study / snaptutorial.com
 
FINAL PAPER FP304 DATABASE SYSTEM
FINAL PAPER FP304 DATABASE SYSTEMFINAL PAPER FP304 DATABASE SYSTEM
FINAL PAPER FP304 DATABASE SYSTEM
 
Object oriented programming
Object oriented programmingObject oriented programming
Object oriented programming
 
Gsp 125 Education Organization -- snaptutorial.com
Gsp 125   Education Organization -- snaptutorial.comGsp 125   Education Organization -- snaptutorial.com
Gsp 125 Education Organization -- snaptutorial.com
 
GSP 125 Enhance teaching - snaptutorial.com
GSP 125   Enhance teaching - snaptutorial.comGSP 125   Enhance teaching - snaptutorial.com
GSP 125 Enhance teaching - snaptutorial.com
 
C data_structures
C  data_structuresC  data_structures
C data_structures
 
Gsp 125 Future Our Mission/newtonhelp.com
Gsp 125 Future Our Mission/newtonhelp.comGsp 125 Future Our Mission/newtonhelp.com
Gsp 125 Future Our Mission/newtonhelp.com
 

Similaire à Sample paper

CBSE Grade12, Computer Science, Sample Question Paper
CBSE Grade12, Computer Science, Sample Question PaperCBSE Grade12, Computer Science, Sample Question Paper
CBSE Grade12, Computer Science, Sample Question PaperMalathi Senthil
 
90 Informatics Practices.pdf
90 Informatics Practices.pdf90 Informatics Practices.pdf
90 Informatics Practices.pdfvikas500500
 
CS Sample Paper 1
CS Sample Paper 1CS Sample Paper 1
CS Sample Paper 1kvs
 
Computer Science(083) Python Pre Board Exam 1 Sample Paper Class 12
Computer Science(083) Python Pre Board Exam 1 Sample Paper Class 12Computer Science(083) Python Pre Board Exam 1 Sample Paper Class 12
Computer Science(083) Python Pre Board Exam 1 Sample Paper Class 12chinthala Vijaya Kumar
 
Question Paper Code 065 informatic Practice New CBSE - 2021
Question Paper Code 065 informatic Practice New CBSE - 2021 Question Paper Code 065 informatic Practice New CBSE - 2021
Question Paper Code 065 informatic Practice New CBSE - 2021 FarhanAhmade
 
BPSC Previous Year Question for AP, ANE, AME, ADA, AE
BPSC Previous Year Question for AP, ANE, AME, ADA, AE BPSC Previous Year Question for AP, ANE, AME, ADA, AE
BPSC Previous Year Question for AP, ANE, AME, ADA, AE Engr. Md. Jamal Uddin Rayhan
 
Sp 1418794917
Sp 1418794917Sp 1418794917
Sp 1418794917lakshmi r
 
Smu bca winter 2013
Smu bca winter 2013Smu bca winter 2013
Smu bca winter 2013smumbahelp
 
Sample Paper 2 Class XI (Computer Science)
Sample Paper 2 Class XI (Computer Science)Sample Paper 2 Class XI (Computer Science)
Sample Paper 2 Class XI (Computer Science)Poonam Chopra
 
Cbse class 10 computer science sample paper sa2 2014
Cbse class 10 computer science sample paper sa2 2014Cbse class 10 computer science sample paper sa2 2014
Cbse class 10 computer science sample paper sa2 2014learn cbse
 
Computer science sqp
Computer science sqpComputer science sqp
Computer science sqpB Bhuvanesh
 
Computer Science Sample Paper 2
Computer Science Sample Paper 2Computer Science Sample Paper 2
Computer Science Sample Paper 2kvs
 
information practices cbse based paper.docx
information practices cbse based paper.docxinformation practices cbse based paper.docx
information practices cbse based paper.docxKapilSidhpuria3
 

Similaire à Sample paper (20)

Ip xi iii_ut_14-15
Ip xi iii_ut_14-15Ip xi iii_ut_14-15
Ip xi iii_ut_14-15
 
CBSE Grade12, Computer Science, Sample Question Paper
CBSE Grade12, Computer Science, Sample Question PaperCBSE Grade12, Computer Science, Sample Question Paper
CBSE Grade12, Computer Science, Sample Question Paper
 
90 Informatics Practices.pdf
90 Informatics Practices.pdf90 Informatics Practices.pdf
90 Informatics Practices.pdf
 
CS Sample Paper 1
CS Sample Paper 1CS Sample Paper 1
CS Sample Paper 1
 
Computer Science(083) Python Pre Board Exam 1 Sample Paper Class 12
Computer Science(083) Python Pre Board Exam 1 Sample Paper Class 12Computer Science(083) Python Pre Board Exam 1 Sample Paper Class 12
Computer Science(083) Python Pre Board Exam 1 Sample Paper Class 12
 
Question Paper Code 065 informatic Practice New CBSE - 2021
Question Paper Code 065 informatic Practice New CBSE - 2021 Question Paper Code 065 informatic Practice New CBSE - 2021
Question Paper Code 065 informatic Practice New CBSE - 2021
 
BPSC Previous Year Question for AP, ANE, AME, ADA, AE
BPSC Previous Year Question for AP, ANE, AME, ADA, AE BPSC Previous Year Question for AP, ANE, AME, ADA, AE
BPSC Previous Year Question for AP, ANE, AME, ADA, AE
 
Semester ii
Semester   iiSemester   ii
Semester ii
 
Sample paper i.p
Sample paper i.pSample paper i.p
Sample paper i.p
 
Sp 1418794917
Sp 1418794917Sp 1418794917
Sp 1418794917
 
Smu bca winter 2013
Smu bca winter 2013Smu bca winter 2013
Smu bca winter 2013
 
Cbse marking scheme 2006 2011
Cbse marking scheme 2006  2011Cbse marking scheme 2006  2011
Cbse marking scheme 2006 2011
 
Sample Paper 2 Class XI (Computer Science)
Sample Paper 2 Class XI (Computer Science)Sample Paper 2 Class XI (Computer Science)
Sample Paper 2 Class XI (Computer Science)
 
Be 2008-it
Be 2008-itBe 2008-it
Be 2008-it
 
Cbse class 10 computer science sample paper sa2 2014
Cbse class 10 computer science sample paper sa2 2014Cbse class 10 computer science sample paper sa2 2014
Cbse class 10 computer science sample paper sa2 2014
 
Computer science sqp
Computer science sqpComputer science sqp
Computer science sqp
 
Computer Science Sample Paper 2
Computer Science Sample Paper 2Computer Science Sample Paper 2
Computer Science Sample Paper 2
 
information practices cbse based paper.docx
information practices cbse based paper.docxinformation practices cbse based paper.docx
information practices cbse based paper.docx
 
7th Semester (June-2016) Computer Science and Information Science Engineering...
7th Semester (June-2016) Computer Science and Information Science Engineering...7th Semester (June-2016) Computer Science and Information Science Engineering...
7th Semester (June-2016) Computer Science and Information Science Engineering...
 
7th Semester (June-2016) Computer Science and Information Science Engineering...
7th Semester (June-2016) Computer Science and Information Science Engineering...7th Semester (June-2016) Computer Science and Information Science Engineering...
7th Semester (June-2016) Computer Science and Information Science Engineering...
 

Plus de poonamchopra7975 (11)

Positive attitude2551
Positive attitude2551Positive attitude2551
Positive attitude2551
 
Positive attitude
Positive attitudePositive attitude
Positive attitude
 
Arrays
ArraysArrays
Arrays
 
Notes netbeans
Notes netbeansNotes netbeans
Notes netbeans
 
Constructor
ConstructorConstructor
Constructor
 
Overloading
OverloadingOverloading
Overloading
 
Computer parts
Computer partsComputer parts
Computer parts
 
Computer networking
Computer networkingComputer networking
Computer networking
 
Cna
CnaCna
Cna
 
Oops
OopsOops
Oops
 
Sample Paper I.P
Sample Paper I.PSample Paper I.P
Sample Paper I.P
 

Dernier

social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajanpragatimahajan3
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...anjaliyadav012327
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...fonyou31
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 

Dernier (20)

social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 

Sample paper

  • 1. Sample Paper Class XII Sub : I.P Q 1. Answer the following questions. a) A School would like to go in for network of all the computers.Which topologywould you recommend and why? [2] b) What is communication channel? What choices do you have while choosing a communicationchannel for a network? [2] c) What do you mean by network topology? Name most popular topologies [2] d) Priyanka is using software, which has been downloaded from internet and is available for one month. Afterone month he has to pay license fee for further use. Which software Priyanka is using? [1] e) Ashutosh is transferring songs from his mobile to his friend’s mobile via Bluetooth connection. Name the network used by Ashutosh. f) Which protocol is used for transfer of hyper text documents on the internet? [1] g) Which of the following is not a characteristic of open source software?  Its source code is available for modification  Its owned by a company or an individual  It can be downloaded by Internet [1] [1] Q 2. Answer the following questions. a) Ms. Monika has developed a Java application for a Food Bazar billing, in which check boxes and text fields are made on form. Items are shown through check boxes. Selecting check box displaying corresponding text fields. Name the property which Monika should use to perform the same. [1]
  • 2. b) What is the purpose of break and continue statement in a loop? [1] c) Name the tag which is used to insert image in background of HTML documentwith example. [1] d) What is XML? How is it differentfrom HTML? [1] e) What will be the value of s after executing the following code? double i,sum=2 for(i=3;i<8;++i) { if(i%4= =0) { break; sum=Math.pow(sum,i); } else sum+=i/2; } [2] f) Write a method in Java that takes a number as parameter and return sum of its divisors. [2] g) What are the use of the following tags- <OL>, <BR>, <SUP>, <I> [2] Q 3. a) Which MySQL command helps you to see existing databases? [1] b) Sagar created a table in Mysql. Later he found that table is wrongly created and he wants to remove it. Name the command by which Sagar can do it. [1] c) Lakshay created a table named student, he wants to see those students whose name ending with s. He wrote a query- SELECT name.* FROM student WHERE name=”%s”; [1]
  • 3. Help Lakshay to run the query by removing the errors from the query and rewriting it. d) Sanjeev is not able to reduce the salary of employee.Which constraint has he used while creating table? [1] e) What is primary key? How is it differentfrom candidate key? Explain with the help of suitable example. [2] f) Emp_no,Ename and Sal of table “EMP” are given below Emp_No Ename Sal 101 Priya 6700 102 Khush 7500 103 Natasha 104 Krish 5500 Based on this information, find output of the following queries. a) SELECT MAX(sal) FORM EMP; b) SELECT Name FROM emp WHERE sal IS Null; [2] g) Define Degree and Cardinality. [2] Q 4. a) What is Inheritance? Name the inheritance types which is not supported by Java. [1] b) Marks of a student is stored in a string variable strMarks. Marks are to be used in calculation. Write the Java statement to convert marks into double variable dblMarks. [1] c) Write the purpose of the following statements. i) jTextArea1.append(“Hello Dear”);ii) jTextArea1.setText(“Howr tU?”); [1] d) Rewrite the following code using for loop. int i=0; [2]
  • 4. while(++i<20) { if( i==8) break; System.out.println(i++); } e) The following code has some error(s). Rewrite the correct code underlining all the corrections made. int y=3; switch(y); { case 1: System.out.print(“One”); case >2: System.out.println(“greater than Two”); break; case else: System.out.print(“Invalid Number): [2] f) What will be the content of jTextField1 and jTextField2 after executing the following code: String st=”New to Information Technology”; jTextField1.setText(st.replace(“Technology”,”Practices”); jTextField2.setText(st.substring(7)); [2] g) Ms. Meera works in a shopping mall. To calculate net payable amount she has developed the following GUI in NetBeans. [6]
  • 5. The shop accepts payments in three modes-Cash, DebitCard, Credit Cards. The discountgiven as per mode of payment is as follows- Mode of payment Discount Cash 12% Debit Card Nil Credit Card 8% If the Membercheck box is checked then the customergets an additional discount of 5% on net payable amount. I. Write the code to make the textfields for Discount( txtDiscount ) and Net Payable (txtNetPayable) uneditable. II. Write code to do the following- a) When Calculate button is clicked the discount and net payable amount is calculated as per the given criteria and displayed in discount and net payable text boxes. b) When Clear button is clicked all the text boxes should be clear. c) Close the application when Exit button is pressed.. Q 5. a) Categorize the DDL and DML commands : CREATE,TRUNCATE,DELETE,GRANT,ROLLBACK,SELECT [2] b) Write output of the following SQL queries : i) SELECTTRUNCATE(22.78,1); [2]
  • 6. ii) SELECTDAYOFMONTH(‘2010-10-17); iii) SELECT SUBSTRING(‘CommonWealth Games 2010’,8,6); iv) SELECT CONCAT(LOWER(‘Class’),UPPER(‘xii’)); c) Considerthe table Flight given below, write command in SQL for (1) to (4) and output for (5) to (8). Table : FLIGHT Flight_No Origin Destination Seats FlightDate Rate 1005 Varanasi Nepal 275 12-Dec- 07 3000 2785 Delhi Kerala 290 17-Jan-08 5500 6587 Mumbai Varanasi 435 19-Feb- 08 5000 1265 Varanasi Nepal 200 02-Jan-08 5400 4457 Delhi Lucknow 150 22-Feb- 08 4500 6856 Varanasi Mumbai 180 03-Mar- 08 6000 (1) To display Flight flying between Varanasi and Nepal. (2) To display the differentOrigin of Flights. (3) To display list of flights in descending orderof Rate. (4) To display flight details of the flight whose flightdate is after Jan 2008. (5) SELECT Flight_No,Destination FROM Flight WHERE Destination LIKE ‘_u%’; (6) SELECT Origin, COUNT(*) FROM Flight GROUP BY Origin; (7) SELECT Origin, Destination FROM Flight WHERE seats>400; (8) SELECT SUM(Rate),MAX( Seats) FROM Flight; [6]
  • 7. Q 6. Answer the following question. a) Write an SQL query to create the table “Books“ with the following structure- Field Type Constraint Book_Id Varchar(6) Primary Key Book_Name Varchar(25) Author_Name Varchar(30) Publisher Varchar(20) Price Integer Type Varchar(15) Quantity Integer Not Null [2] b) In a database there are two tables ‘Patient’ and ‘Doctors’are shown below- Table: Patient Name Patient_No Date_Adm Doctor_No Kishor P104 2009-05-15 502 Ragini P202 2010-01-11 165 Reshu P754 2007-12-31 325 Kanti P612 2010-04-22 165 Table: Doctor Doctor_No Doctor_Name Speciality 122 M. K Singh Dentist 165 R. K. Tiwari Neurology 325 V. K. Chauhan Surgery 502 N. Singh Nephrology 530 K. P. Sinha Urology i) Name the columns which can be made ‘Primary Key’ in both the tables. ii) What will be the cardinality of Cartesian product of both the tables? [2] c) Considerthe tables given below. Table : STOCK Itcode Itname Dcode Qty unitpr Stkdate 444 Drawing Copy 101 10 21 31-June- 2009 445 Sharpener 102 25 13 21-Apr- [6]
  • 8. Camlin 2010 450 Eraser Natraj 101 40 6 11-Dec- 2010 452 Gel Pen Montex 103 80 10 03-Jan- 2010 457 Geometry Box 101 65 65 15-Nov- 2009 467 Parker Premium 102 40 109 27-Oct- 2009 469 Office File 103 27 34 13-Sep- 2010 Table : DEALERS Dcode Dname Location 101 Vikash Stationers Lanka Varanasi 102 Bharat Drawing Emporium Luxa Varanasi 103 Banaras Books Corporation Bansphatak Varanasi With reference to these tables, write commands in SQL for (i) and (ii) and output for (iii) below- (i) To display the amount that has beenspent to purchase Office file & Sharpener camlin. (ii) To display all the items of Vikash Stationers. (iii) SELECT DCODE,COUNT(QTY),AVG(UNITPR)FROM STOCK GROUP BY DCODE; Q 7. a) What benefit does an e-business offers to the customers? [1] b) How has society benefited from e-governance? [2] c) Mr. Kartik is working as a Manager in Flash Telecomm. He wants to create the forms with the following functions. Choose appropriate controls from Text Field, Label, Radio Button, Check Box, List Box, Combo Box, Command Button and write in the third column. SNo Control Used to Control 1 Enter Name of Customer 2 Enter Mobile No. 3 Select Connection Type 4 Display total Amount of Bill [2]