Вы находитесь на странице: 1из 4

Group II Informatics Practices (065) Class XI

Time : 3 hours 70
S.N.

Maximum Marks : Questions Section A Marks *2=1 *2=1 1 1 2 2 2 *2=1. 2 2 1 1 1 1. 2. 2. 2.

Q1.

(a) b) c) d) e) f) g) a) b) c)

Name any two Components of Microprocessor. Expand the terms: i) OMR What is Utility Software? Difference between Complier and Interpreter. Are cookies dangerous to computer? Explain any two types of Operating System. What is Smart Card? Give any two services of e-Governance of India. Why e-Learning is preferred? How e-Business helps the business? Write any two names of Common Database Management System. What do you understand by Relational Database? Define the following terms i) Alternate Key ii) Tuple Differentiate between DDL and DML. Indentify suitable date types for the following MEMBER table attributes. Member_Code, Member_Name, Member_Address, Member_Phone Explain Between and Like clauses with example in MYSQL. What are the fundamental rules for naming identifiers to create objects in MYSQL? ii) DVD

Q2

Q3.

a) b) c)

d) e) f) g)

Q4.

a) b) c) d) e) f)

Section -B What is IDE? What is the Role of parseInt in Java? Differentiate between syntax error and Run-Time errors. What is the difference between a jFrame and jPanel? Difference between jRadioButton and jCheckbox. Identify and correct the errors in each of the following: If ( sex = = 1) jLabel1.setText(Woman); else; jLabel1.setText(Man); Rewrite following for loop into a while loop int sum=0; for(int i =1;i<=5;++i) { sum=sum+c; } Write the equivalent switch case for the following code : If (num1 = =1 ) jTextField1.setText(Number is one); else If (num1 = =2 ) jTextField1.setText(Number is two); else If (num1 = =3 ) jTextField1.setText(Number is three); else jTextField1.setText(Number is more than three);

1 1 2 2 2 1

g)

h)

Q5.

Sunbeam School is organizing annual festival called Minerva Fest. To store data regarding the ranks and the prize amounts the following data entry form has been made. Write the code to add following features to the data entry form. Name of controls are given belowObject Type Object Name Description Form FrmMFest Main Form textTeam To enter team name txtRankWebtek To enter rank of Webtek txtRankPaintek To enter rank of Paintek txtRankCollage To enter rank of Collage Text Box txtRankHAM To enter rank of HAM txtPrizeWebtek To enter prize money of Webtek txtPrizePaintek To enter prize money of Paintek txtPrizeCollage To enter prize money of Collage txtPrizeHAM To enter prize money of HAM chkWebtek To select Webtek event ckhPaintek To select Paintek event Check Box chkCollage To select Collage event chkHAM To select HAM event

Command Button

cmdCalcPrize cmdClear

To calculate prize amount To clear the entered values

a) b) c) d) Q6.

The text box for rank should be shown only if the corresponding check box is checked. The text box for prize amount should be shown only if the corresponding rank is in the range 1-3. When the user clicks the CmdCalcPrize button, the total prize amount should be displayed in a message box. Write the code for CmdClear command button to clear all the text boxes and check boxes. Refer the table MCA given below and write the SQL Commands for (a) to (j)
Mno 1001 1234 5678 9854 3265 5412 7645 9054 8326 7324 Name ADITYA KOMAL ANUSHIKA HIMANSHU MAMTA PRERNA AMIT SUMIT REKHA SAVTRI Address B-4, DWARKA SEC 5, R.K.PURAM B3/2, V. VIHAR SEC-2, PUNA 123/A, MUMBAI 53/2, CHANDIGARH 11/7,CHENNIA 117, NEW DELHI 56/E, AHEMDABAD 73/C, FARIDABAD Join_dt 2007-07-23 2009-08-05 2008-06-22 2009-03-13 2010-02-17 2008-05-10 2010-05-25 2008-03-27 2010-04-12 2007-06-15 Fee 4500 5000 7000 8000 4500 6500 10000 10500 7600 8700 Semester I III I II I III II III II I Grade A1 B2 C1 B2 A2 C3 B1 A2 C1 C2

2 2 6 2 10.

a) b) c) d) e) f) g) h)

To display all the information from table MCA. To display name, mno of those students who joined after 31st Jan 2010. To display name, fee, grade of students who are in III semester. To display the name of students whose name contains A as last alphabet. To display all the information in Descending order of MNO. To add a record with following data 8326,AMIT, G2-18, MALVIYANAGAR, 2010-07-12,6700, II, A1 To display all information of grade A1 and grade B2. To display all unique SEMESTER numbers in given table.

i) j) Q7.

To add new column REMARKS of data type VARCHAR of size 20. To change the FEE of PRERNA from 6500 to 700 Consider the following table: Employees
Emp_ID First_Name Last_Name sinha Gupta Sinha mitra walia Mukharjee Ganguli City Gaya Mandi Patna Dabwali Gurgaon Lucknow Region Bihar Shimla Bihar Hariyana Hariyana Date_Hired Salary 07/07/2007 12/08/209 15/05/2009 16/06/2006 12/07/1995 13/07/2006 5000 8000 8000 120000 250000 150000 14000 1 Jitendra 2 Manoj 3 Rani 4 Prabha 5 Sonu 6 Krishna 7 Nivedita

Aurangabad Maharastra

UtterPradesh 12/02/2010

i) ii) iii) iv) v) Q8

Write the out put of the following Queries:Select Last_Name,instr(Last_Name,it) from Employees ; Select Left(Concat(First_Name,Region),5) from Employees where City =Lucknow; Select Emp_ID, Salary, from Employees Where First_Name Like P% ; Select Salary, Salary * 12 Bonus from Employees Where Region =Bihar AND Salary >5000 ; Select Date_Hired from Employees where City in (Shimla,Bihar,Utterpradesh); Do as directed. (1) Select POWER (5,5); (2) Select ROUND (6587.458, 2); (3) Select TRIM ( ABS Public School ); (4) Select MonthName(2009-08-15 01:02:03); (5) Select SUBSTR (SOFTWARE 5, 4); 5

Вам также может понравиться