Académique Documents
Professionnel Documents
Culture Documents
CLASS XI
Subject: Informatics Practices
Set -1
1. Attempt all the questions.
2. Java Language and MySQL are used
Q1 (a) Which of the following is not hardware :
(i) Hard disk (ii) Printer (iii) Keyboard (iv) CPU (v) Assembler (vi) A Java
Program
(b) Define the terms : (i) nibble (ii) gigabyte
(c) What are the major strengths and weaknesses of computer ?
(d) What are the software classifications? Discuss their functioning in brief.
(e) What is a port? Name some port types briefly.
(f)
Write the full forms of the following terms : (i) VDU (ii) MICR (iii) OMR (iv)
DVD
Q2. Define the following:
10
a.
JVM
b.
Loops
c. Conditional Statement
d.
Classes and functions
e.
Actual and formal parameters
Q3. Answer the following.
(a) What is Write Once Run Anywhere characteristic of Java?
(b) Differentiate between a Text Field and Text Area
(c)What is the difference between if and switch statements?
(d)Name the data types supported by Java?
2
(e)What are the operators supported by Java ?
(f)Write a program to check wither the given number is even or odd using conditional
operator 2
Q4. Write code for the following:
a. To obtain a single digit(0-9) and display it in words
b.
Discount
Net Amount
1
2
2
2
2
1
1
2
2
Virus software Hut has developed the following Interface as shown below.
O Cash
Stop
Payment Mode
Cost
Credit Card
Cheque
Discount
15 %
N/L
10 %
1. Write the code to make the Text Fields for Discount & Net Amount in editable.
2
2. Write code to Calculate Discount button as per given criteria and discount and net
amount should be displayed in Text Field.
4
3. Write code for Stop button to close the interface.
1
Q5. Define Function. Explain the following function with suitable example.
10
(i)
CONCAT()
(vi)
SQRT()
(vii)
TRUNATE()
(ii)
SUBSTR()
(viii) DATE()
(iii)
Instr()
(ix)
DAYNAME()
(iv)
MOD()
(x)
NOW()
(v)
SIGN()
(xi)
Q6. Write the queries for the following:
10
a. Modify the last name of employee3, to punia
b. Remove the entire contents of the table
c. Change the data type of column pin code to varchar(10) in the table customer
d. Add a primary key constraint to the table employee2 using the empid column.
e. List all department numbers in table empl.
f. How many job types are offered to employees?
g. To display the name, job title and salary of employee who do not have manager.
h. To display name, age and marks (aggregate) of students whose age is greater than or
equal to 16 from table student.
i. To list the employees details whose grade are other than G1.
j. To display the structure of table student.
(xii)
Q7. a. Create a table employee as per following Table Instance Chart:
3
(xiii) Colu (xiv) E (xv)
em (xvi) Empa (xvii) emp (xviii) e (xix) d
mn Name
mpid
pname
ddress
phone
mpsal
eptid
(xx)
Key
(xxi) P (xxii)
(xxiii)
(xxiv)
(xxv)
(xxvi)
Type
rimary
(xxvii) Nulls/ (xxviii)
(xxix) Not (xxx)
(xxxi)
(xxxii)
(xxxiii)
Unique
null
(xxxiv) Data (xxxv) n (xxxvi) var (xxxvii) varch (xxxviii)
(xxxix) n (xl)
v
Type
umber
char
ar
Varchar
umber
archar
(xli)
Lengt (xlii) 6 (xliii) 20
(xliv) 30
(xlv) 10
(xlvi) 9 (xlvii) 2
h
,2
(xlviii)
(xlix) b. Write the disadvantages of using database system.
3
(l)
c. Define the following:
4
(li)
(i) Primary key
(liii)
(iii) Cardinality
(lii)
(ii) Candidate key
(liv)
(iv) Alternate key
(lv)
Set -2
(lvi)
(lxxv)
(lxxvi)
(lxxvii)
(lxxviii)
(lxxix)
(lxxx)
(lxxxi)
(lxxxii)
(lxxxiii)
Q8. Differentiate between:
(5)
a) Compiler & Interpreter
b) RAM & ROM
c) OCR & MICR
d) Input unit and output unit
e) Multiprogramming OS and Multiprocessing OS
(lxxxiv)
(lxxxv) Q9. Which of the following are input, output & storage device?
(4)
(lxxxvi)
MICR , Scanner, Hard disc, OCR, DVD , OMR , Speaker , Web camera , Joy stick ,
memory card , Bar code Reader , Micro Phone , Touch Screen , Graphic Tablets, optical disks
(lxxxvii)
(lxxxviii)
Q10. Write full form of:
(2)
a) MICR
b) CD-ROM
c) OCR
d) DVD
(lxxxix)
(xc)
Q11.What should be done so that only one of the various radio buttons can be selected at
a time?
(1)
(xci)
(xcii) Q12. What does a bus mean? Explain its types.
(2)
(xciii) Q13.What are the two categories of impact printers? What is the advantage of non-impact
printers over impact printers?
(2)
(xciv) Q14.How is JAVA compilation process different from Ordinary Compilation?
(2)
(xcv)
(xcvi)
(xcvii)
(xcviii) Set 3
(xcix) Direction1. All questions are compulsory.
2. Question paper divided in to 3 section A,B and C.
(c)
Section A (Each question carry 1 mark)
(ci)
(cii)
(ciii)
(civ)
(cv)
(cvi)
(cvii)
(cviii)
(cix)
(cx)
(cxi)
(cxlvii) Set -4
(cxlviii)
(cxlix)
(cl)
(cli)
(clii)
(cliii)
(1
(cliv)
2.
3.
4.
5.
6.
(clxxxi)
{
(clxxxii)
System.out.println(x);
(clxxxiii)
}
(clxxxiv)
(clxxxv)
5. Find errors and write the correct code after underlining the
errors:(3
(clxxxvi)
(i) System.out.ptinln(Today is: new Date())
(clxxxvii)
(ii) for (i=2;i<16;i++)
(clxxxviii) Q.4. 1. Create a table CUSTOMERS based on the following chart:(3
Table Name:
CUSTOMERS
(clxxxix) F
(cxc) Ty
(cxci) Cons
ield
p
train
Name
e
t
(cxcii)
C
(cxciii)
(cxciv)
P
UST_I
int(10)
RIMA
D
RY
KEY
(cxcv)
C
(cxcvi)
(cxcvii)
UST_N
Varchar(
AME
3
5)
(cxcviii)
P
(cxcix)
(cc) NOT
AN_N
Varchar(
NULL
O
1
0)
(cci) CREAT
(ccii) D
(cciii)
E_DT
at
e
(cciv) TRXN_
(ccv) D
(ccvi)
AMT
o
u
bl
e(
6,
2)
(ccvii)
(ccviii)
(a) Create a query to add the following data in the above
table:(2
(ccix) CNR_101, Manisha Pradhan, AFFPCY478Q ,2nd June 2001, 12875.25
What is RDBMS?
(1
What is the use of NOT NULL Constraint?
(1
Write any 2 types of SQL commands.
(1
Differentiate between CHAR and VARCHAR data types.
(1
What is Cardinality?
(1
(ccx) Q.5. 1. Write output of the following(SQL functions)(4
a. Select LOWER(INTERNATIONAL CES 2013);
b. Select SQRT(36);
c. Select MOD(35,3);
d. Select POWER(2,8)
e. Select Trim(
CWG 2010);
f. Select Length(IIIF/101 DDA FLAT);
2.
3.
4.
5.
6.
(ccxlvi)
Manp
r
(ccxlvii)
Curre
n
(ccxlviii)
1125
0
(ccxlix)
1998
(ccl)
F
(ccli)
CN
(cclvii)
CN
a.
b.
c.
d.
e.
f.
g.
h.
i.
j.
e
e
t
(cclii) C
a
t
h
e
r
i
n
e
(cclviii)
Rame
s
h
0
0
(ccliii)S
a
v
i
n
g
(ccliv)
1026
0
0
0
(cclix)
Savin
g
(cclv)
1999
(cclvi)
F
(cclx) 2
(cclxi)
(cclxii)
0
1998
M
2
5
0
0
0
To select all the customer of Saving and Current account type.
To list the names of customer with their date of joining in descending order.
To list the customers who have opened accounts after 1998 May 31.
To display female customers with accumulated amount greater than 1025000..
To list the customers having 15 letters name.
To list all the account types.
To update the ACCULT_AMT to Rs. 1925000 where CUST_ID is CNR_105.
To show the customer who opened accounts in 1999.
To list the customers who have Salary Saving accounts.
Select CUST_ID,ACCT_TYPE,DOJ from CUSTOMER_DETAILS where GENDER=F.
(cclxiii)
(cclxiv)
(cclxv)
Q.7. 1. What is E-Commerce? Write two advantages of ECommerce.
(2
(cclxvi)
2. Define E-Governance.
(1
(cclxvii)
3. What are two advantages of e-Learning ? Name one eLeaning Company.
(2