View
218
Download
1
Category
Preview:
DESCRIPTION
11th information practices paper CBSE INDIA 2012 2013
Citation preview
Subodh public schoolclass=11th IPSession: 2012-13SECTION-A
1. Answer the following : (10 marks)A. Explain any two functions of Operating System (1 marks)B. Explain any two types of communication bus. (1 marks)C. Differentiate between :-
i. Virus and Worms (1 marks)ii. Serial & Parallel port (1 marks)
D. Explain :-i. BIOS (6 marks)
ii. Cookiesiii. Firewalliv. Digital Signaturev. CAPTCHA
vi. OCR
SECTION B2. Answer the following questions on the basis of java:- (30 marks)
A. While working in Netbeans, Rajmeeta included a List box in the form. Now she wantsthe lost of her friend’s name to be displayed in it. which property of Listbox controlshould she use to do this? (1 marks)
B. While working in Netbeans , Mr. Parashar wants to enter his address. Suggest control heshould use to enter address in multiple lines. (1 marks)
C. Ms. Kiran has developed a java application for a restaurant billing, in which check boxesand text fields are made on form. Items are shown through check boxes. Selecting checkbox displaying corresponding text fields. Name the method which Kiran should use toperform the same. (1 marks)
D. Differentiate between:- (8 marks)i. Listbox and Combobox
ii. Textbox and TextAreaiii. Radiobutton and Checkbox
Subodh public schoolclass=11th IPSession: 2012-13
iv. Entry control and Exit Control LoopE. Find Output:-
i. int total m1, m2; (2 marks)m1 = 60;m1 = 70;total = m1 + m2;float p = total/ 200 * 100;System.out.println (total);System.out.println (p);
ii. int n = 40 (2 mark)while (n > 36){ n = n – 1;if (n % 2 == 0)
System.out.println (n);}
F. Find Error in given place of code and rewrite corrected code after underlining errors.(2 mark)
int n =;n = float.parseFloat(num TF.getText());switch case ( n ){ case 10;
System.out.println (“Ten”);else
System.out.println(“Invalid Num”);}
G. Rewrite the code using switch statement : (2 marks)if (m == 10){ result = “Topper”
Grade = “A”;}else if (( m >= 6) && ((M<=9)){ result = “First”;
Grade = “B”;}else{ result = “PASS”;
Subodh public schoolclass=11th IPSession: 2012-13
Grade = “C”;}
H. Rewrite the following program code using for loop: (2 mark)Int i = 1; sum = 0;While (i<10)
{sum+=i;i+=2;
}I. Write program to print following pattern (3 marks)
J. Answer following Questions on the basis of screenshot given below:-
i. Write code to disable textfield for result. (1 marks)ii. Write code on clear button to clear all textfield and set default choice to Max
Radio button. (2 marks)iii. Write code on calculate button to calculate result on the basis of radio button
selected. Criteria for Division is as follows (3 marks)if percentage is Result>60 First Division40 to 60 Second Division
Subodh public schoolclass=11th IPSession: 2012-13
else Fail
SECTION –C3. Answer the following questions on the basis of MYSQL :- (30 marks)
A. Explain any two DDL commands with example. (2 marks)B. What is null. What is the result of an arithmetic expression containing null. (2 marks)C. Suppose a database named SCHOOL exists, how can we make it current database. (1 marks)D. Differentiate between :- (2 marks)
i. Char and Varcharii. CurDate() and Now() MYSQL functions.
E. How can we eliminate duplicate rows in an output of a select command. (1 marks)F. Which command is used to view structure of a table. (1 marks)G. Which command is used to modify values in table. (1 marks)H. Assume that we got a table named STUDENT. Write command to add a new column named
ADDRESS in it. (1 marks)I. Explain the following :- (4 marks)
i. Candidate keyii. Primary Key
iii. Alternate Keyiv. Foreign Keyv. Cardinality
vi. Column Aliasvii. Attribute
viii. TupleJ. Answer the following questions :-
Table -> MOBILEColumn Name Data Type SizeCompany Name Character 20Model Character 20Description Character 30Qty Numeric 5Rate Numeric 5
1. What is the degree of above table. (1 marks)2. Write a command to create a table as per the description given above. (1 marks)3. Write a command to add new column named “Features” in above table (1 marks)4. Write a command to drop above table (1 marks)5. Write a command to insert new record in above table.(take data according to your choice).
(1 marks)
Subodh public schoolclass=11th IPSession: 2012-13
6. Write a command to increase Rate by 10 % for mobiles having qty<50 (1 marks)7. Write a command to delete records of mobiles having ‘O’ as second last character in
company name. (1 marks)8. Write a command to display Model and Amount (i.e. Qty * Rate) (1 marks)9. Write a command to display details of mobiles having Description as NULL. (1 marks)10. Write a command to display details of all the mobiles having rate in the range 5000 to
10000 in descending order of rate. (1 marks)11. Write output for the following commands on the basis of MYSQL Function:- (5 marks)
i. Select Mid (‘Praveen Bansal ‘ , 4)ii. Select Length (right (‘Muskaan Godika’,5));
iii. Select Instr (“naman SURANA ”, “AN”);iv. Select Round (538.35, -3);v. Select Truncate (538.35,1);
vi. Select DAYOFYEAR(‘2012-03-25’);vii. Select DAYOFMONTH (‘2012-03-25’);
viii. Select Pow (2, -2);ix. Select Right (‘Jaipur’,4)x. Select Now()
Subodh public schoolclass=11th IPSession: 2012-13
Subodh public schoolclass=11th IPSession: 2012-13
Subodh public schoolclass=11th IPSession: 2012-13
Recommended