Downloaded from

Similar documents
SAMPLE PAPER Class XII Subject INFORMATICS PRACTICES. TIME: 3Hrs. M.M. 70

SAMPLE PAPER: 2015 Class :XII Subject : Informatics Practices. Time: 3 hrs. M.M. 70. Section A

Sample Paper 2015 Class XII Subject INFORMATICS PRACTICES

Maharaja Agrasen Model School Sample Paper Subject: Informatics Practices

Application based QUESTIONS for JAVA

Downloaded from Set :B SECTION A

Sample Paper 2014 Class - XII Subject Informatics Practices (065)

D.A.V. PUBLIC SCHOOL, NEW PANVEL

SAMPLE PAPER CLASS XII SUBJECT Informatics Practices

INFOTECH Computer Education, Kishangarh (Raj) Visit : Page 1

Informatics Practices, Class XII ( ) (Summer Vacation-2015) (Holiday H.W) Java Concepts & Programming, MySQL

Downloaded from

INDIAN SCHOOL MUSCAT FINAL TERM EXAMINATION INFORMATICS PRACTICES

KENDRIYA VIDYALAYA SANGATHAN CLASS XII EXAMINATION INFORMATICS PRACTICES (065)

Kendriya Vidyalaya No1 Rewa Pre-Board I ( )

KENDRIYA VIDYALAYA SANGATHAN ERNAKULAM REGION FIRST PRE-BOARD EXAMINATION

SESSION ENDING EXAMINATION CLASS XI SUBJECT : INFORMATICS PRACTICES (065) Time Allowed : 3 Hrs. Max Marks : 70

KENDRIYA VIDYALAYA SANGATHAN, CHENNAI REGION CLASS XII COMMON PRE-BOARD EXAMINATION

KENDRIYA VIDYALAYA ALIGANJ SHIFT-II HOLIDAY HOMEWORK CLASS-XII INFORMATICS PRACTICES


KENDRIYA VIDYALAYA SANGATHAN CLASS XII BOARD EXAMINATION INFORMATICS PREACITES (065)

XXXXXXXXXXXXXXXXXXX First Pre-Board Examination, Informatics Practices

INDIAN LEARNERS OWN ACADEMY, KUWAIT Informatics Practices XII Holiday Homework. b. What is the importance of abstract classes in programming?

PRACTICAL ASSIGNMENTS [LAB WORK] CLASS XII IP

KENDRIYA VIDYALAYA SANGATHAN BLUE PRINT INFORMATICS PRACTICES CLASS XII

Select Avg (Commission) for Sales; Select Count(Sales) from Sales;

THE INDIAN COMMUNITY SCHOOL, KUWAIT

SAMPLE PAPER-2015 CLASS-XII Subject: Informatics Practices. Time: 3 hours Max. Marks: 70

ES I INFORMATICS PRACTICES Set I Class XII Sec- A,B,C Date: April 2017 Time: 1 hr 10 min M.M.: 30

SQL Structured Query Language Introduction

Time Allowed :3 hours Maximum Marks : 70

1. Answer the following questions: a. Explain Real Time OS.

Table : Purchase. Field DataType Size Constraints CustID CHAR 5 Primary key CustName Varchar 30 ItemName Varchar 30 PurchaseDate Date

Mock Test Paper-2. CBSE XII : Computer Science. Duration : 3hrs Max Marks : 70

HALF YEARLY EXAMINATION, INFORMATICS PRACTICES Time - 3 hrs. Class - XII M.M. 70

INFORMATICS PRACTICES (065)

Informatics Practices (065) Sample Question Paper 1 Section A

Computer Science 2006 (Delhi)

KENDRIYA VIDYALAYA NO 1 AFS JALAHALLI (WEST) PRE BOARD INFORMATICS PRACTICE Class XII

1 (i) do (ii) Float (iii) salary12 (iv) Product

KENDRIYA VIDYALAYA ONGC PANVELSESSION ENDING EXAM

ES II Set 1 Date: 20 th July 2018 Class XII Sec. Time: 1 1/2 Hrs. Informatics Practices answer key M.M.: 35

PRE BOARD EXAM Sub:Informatics Practices (065) Class:XII

INDIAN SCHOOL MUSCAT FIRST PRELIMINARY EXAMINATION 2017 INFORMATICS PRACTICES

KENDRIYA VIDYALAYA SANGATHAN- CHENNAI REGION INFORMATICS PRACTICES REVISION TIME : 3 HOURS MAX MARKS : 70

King Fahd University of Petroleum and Minerals


SECOND TERMINAL EXAMINATION, 2017 INFORMATICS PRACTICES

Question Bank. Class : XII( ) Subject : Informatics Practices(065)

Downloaded from

Sample Paper for class XII IP with Answers Prepared by Successbook Group Sub: - Informatics Practices Total Marks :70 Time:3hr

KENDRIYA VIDYALAYA SANGATHAN, ERNAKULAM REGION INFORMATICS PRACTICES CLASS XII PRE-BOARD-I

IBM A Assessment: DB2 9 Fundamentals-Assessment. Download Full Version :

Q1. (a) (½) (b) (½) (c) (½) (d) (½) (e) (2) (f) (1) (g) (1) above address object/device assigned (h) (4) Q2. (a) (1) (b) (1) (c) (1) (d) (1)

CLASS XII SAMPLE PAPER-065 INFORMATICS PRACTICES

1 (a) Which transmission medium should be used to transfer data across two continents at very high speed?

INFORMATICS PRACTICES

INFORMATICS PRACTICES

BLUE PRINT. S.No. Topic Marks 1 Java Programming 30 2 Database concepts 35 3 IT Applications 5


Sample Paper 2012 Class XII Subject Informatics Practices

INDIAN SCHOOL SOHAR FIRST TERM EXAM ( ) INFORMATICS PRACTICES

GIFT Department of Computing Science Data Selection and Filtering using the SELECT Statement

Sample Paper 2015 Class XII- Comm Subject INFORMATICS PRACTICES. Q1 a) Rewrite the code using While Loop? 2

INFORMATICS PRACTICES

Databases - 4. Other relational operations and DDL. How to write RA expressions for dummies

IBM DB2 9 Family Fundamentals. Download Full Version :

INFORMATICS PRACTICES

Visit for more.

SQL. Char (30) can store ram, ramji007 or 80- b

INFORMATICS PRACTICES All questions are compulsory. Answer the questions after carefully reading the text.

CBSE International Class XII Informatics Practices Annual Examination Sample Question Paper

P.G.D.C.M. (Semester I) Examination, : ELEMENTS OF INFORMATION TECHNOLOGY AND OFFICE AUTOMATION (2008 Pattern)

ajpatelit.wordpress.com

Objectives. After completing this lesson, you should be able to do the following:

INDIAN SCHOOL MUSCAT THIRD PRELIMINARY EXAMINATION INFORMATICS PRACTICES

KENDRIYA VDYALAYA SANGATHAN ERNAKULAM REGION MODEL PAPER - SET-I SUB: INFORMATICS PRACTICES CLASS: XII Time: 3 Hrs Max.Mark: 70

QUESTION BANK CLASS- XI ( INFORMATICS PRACTICES)

INDIAN SCHOOL MUSCAT THIRD PRELIMINARY EXAMINATION INFORMATICS PRACTICES

KENDRIYA VIDYALAYA SANGATHAN REGION KOLKATA XII 3 RD -PreBoard SUBJECT-IP (065)

Rani Durgavati Vishwavidyalaya Jabalpur (M.P.) (UICSA) Master of Computer Application (MCA) Practical List of. MCA III SEM Session -2010

Kendriya Vidyalaya Sangathan (Chandigarh Region) Blue Print of Question Paper Class: XI Subject: Informatics Practices Session

Databases. Relational Model, Algebra and operations. How do we model and manipulate complex data structures inside a computer system? Until

INFORMATION TECHONOLOGY (402) UNIT 7 DATABASE DEVELOPMENT PRACTICAL QUESTIONS

Create Rank Transformation in Informatica with example

CS2 Current Technologies Note 1 CS2Bh

1Z0-007 ineroduction to oracle9l:sql

KENDRIYA VIDYALAYA SANGATHAN, ERNAKULAM REGION MODEL QUESTION PAPER INFORMATICS PRACTICES (065) ANSWER KEY- SET-2

CS2 Current Technologies Lecture 2: SQL Programming Basics

FIRST PRE BOARD CLASS-XII INFORMATICS PRACTICES

Visit For All NCERT solutions, CBSE sample papers, Question papers, Notes for Class 6 to 12

(Note: 1. Each Question Carries 5 marks. 2. Solve any two questions) SET-I

VPM s Joshi-Bedekar College of Arts and Commerce TYBCOM Practical Exam Practice Questions MYSQL

Database Management System. * First install Mysql Database or Wamp Server which contains Mysql Databse.

(d) Write any two significance of Unicode? 1

Objectives. After completing this lesson, you should be able to do the following:

Working with Databases and Java

KENDRIYA VIDYALAYA SANGATHAN BLUE PRINT INFORMATICS PRACTICES CLASS XII TOPICS SA(1) SA(2) LA(6) TOTAL

13. What is the meaning of Open Source in the term Open Source Database Management. 14. Difference between Proprietary and Open Source Software.

Downloaded from

Transcription:

SAMPLE PAPER - 2014 INFORMATICS PRACTICES Class XII Time: 3Hrs. M.M. 70 Instructions: (i) There are 30 questions contained in four sections A,B,C and D. (ii) All questions are compulsory to solve. (iii) Write answers of same section at one place only. (iv) SECTION - A 1. Ms. Sunita has developed a Java application through which the students of her school can view their marks by entering their admission number. The marks are displayed in various text fields. What should she do so that the students are able to view but not change their marks in text fields? [1] 2. What is the purpose of default clause in a switch statement? [1] 3. What is the use of <CENTER> tag in an HTML document? [1] 4. What is XML? [1] 5. Which Command is used in MySQL to make the changes in database permanent? [1] 6. While Creating a table Customer Simrita forget the set of primary key for the table. Give [1] the statement which she should write now to set the column CustID as the primary key of the table? 7. What is the purpose of the following SQL query : [1] SELECT MAX ( SALARY) FORM EMP; 8. Define Inheritance with reference to Object Oriented Programming. [1] 9. Rewrite the following code using a for loop : [1] int i=1, sum=0; while (i<10) { sum+=i; i+=2; } 10. Differentiate between Container Tag and Empty Tag. [1] 11. Write HTML Code to display these Text : [1] H 2 SO 4 12. Rama is not able to change a value in a column to NULL. What constraint did she specify when [1] she created the table. Page 1

SECTION- B 13. What will be values of x and y after execution of the following code : [2] int x, y = 0; for( x= 1; x<=5; ++x) y=x++; --y; 14. Write a function in Java that accepts a value and check whether it is a prime number. [2] 15. Mention the purpose of each of the following HTML tags : [2] <B>, <LI>, <HR>, <TABLE> 16. In a student table, out of RollNumber, Name, Address which column can be set as Primary key [2] and Why? 17. The Item_No and Cost columns of a table ITEMS are given below : [2] ITEM_NO COST 101 5000 102 NULL 103 4000 104 6000 105 NULL 18. A table stock in a database has 5 columns and constraints 17 records. What is the degree and [2] cardinality of this table. 19. Create table Employee as per following table Instance Chart. [2] Column Name EmpID EmpName EmpAddress EmpPhone EmpSal DeptID Key Type Primary Foreign Nulls/Unique Fk Table Fk Column NOT NULL Department Dept_ID Data Typa NUMBER VARCHAR VARCHAR VARCHAR VARCHAR VARCHAR Length 6 20 30 10 9,2 2 20. In a database Employee, Emp is a table which is having emp_no, ename, job and deptno as column. Write MySQL statements for the following: [2] (i) Display the details of junior most employees working in the school. (ii) Display the average salary of each job types. 21. Write the sample code to extract 5 th element from the list box and store it in a variable selecteditem? [2] Page 2

SECTION C 22. Define a class Book with the following specifications : Data Members of the Book are : BOOK_NO INTEGER BOOK_TITLE STRING NO_OF_BOOKS INTEGER PROCE FLOAT(PRICE PER COPY) TOTAL_COST() A function to calculate the total cost for number of copies. Member methods of the class book are : INPUT() Function to read No of Books, Book_title, price. The following is the screen used to declare class to calculate total cost : (i) Define a class Book with required specification. [2] (ii) Write the code for calculate Price buttons click event procedure to operate the class Book s method. [1½] (iii) Write the code for Exit Button to exit application. [½] 23. Read the following case study and answer the questions that follow : The Shop n Store has developed the following data entry screen for its operations. The store offers three different types of membership discount schemes for its regular customers. Platinum members get a discount of 10% on all their purchases, Gold members get 5% and Silver members get 3% discount. Page 3

The list of controls for above interface is as follows: Object Type Object Name Description Text Field Radio Buttons Button ProducTF QtyTF RateTF AmountTF DiscountTF NetTF PlatinumRB GoldRB SilverRB CalcBTN ExitBTN To enter name of the product To enter quantity Sold To enter rate per unit To display total amount as quantity *rate To display the discount amount based on membership type To display net amount as amount-discount To Specify the Member Ship Type To Calculate the amount, discount and net amount To Close the Application (i) Write the code to disable the text fields AmountTF, DiscountTF and NetTF. [0.5] (ii) Write the code for CalcBTN to calculate the amount, discount and net amount as per given [2.0] descriptions and conditions. (iii) Write the code for ExitBTN to close the application, but before the application is closed it [1.5] should check the net amount and if the net amount > 10,000 the membership of the customer should be upgraded and displayed. For example, if the customer already has Silver membership it should be upgraded Gold membership (similarly from gold to platinum) and he informed of the same using a message box. 24. Study the following tables Doctor and Salary and write SQL Commands. [1 4=4] Table : DOCTOR ID NAME DEPT SEX EXPERIENCE 101 John ENT M 12 104 Smith ORRHPEDIC M 5 107 George CARDIOLOGY M 10 114 Lara SKIN F 3 109 K George MEDICINE F 9 105 Johnson ORRHPEDIC M 10 117 Lucy ENT F 3 111 Bill MEDICINE F 12 130 Morphy ORRHPEDIC M 15 Page 4

Table : SALARY ID BASIC ALLOWANCE CONSULTATION 101 12000 1000 300 104 23000 2300 500 107 32000 4000 500 114 12000 5200 100 109 42000 1700 200 105 18900 1690 300 130 21700 2600 300 (a). Display NAME of all doctors who are in MEDICINE having more than 10 years experience and basic more than 10000. (b). Display the average of all doctors working in ENT department using the DOCTOR and where as salary=basic + allowance. (c). Display the minimum ALLOWANCE of female doctors. (d). Display the highest consultation fee among all male doctors. 25. Differentiate the following: [2 2 = 4] (i) List Box Control and Combo Box Control. (ii) String and String-Buffer objects. 26. Discuss in detail the ACID properties. [4] 27. Identify the error/s from the following Netbeans coding: [2 2 = 4] (a) What is wrong with the following code? (assuming that connection con is available) String qry= Select* from empl ; ; Statement stmt = con.getconnection(); ResultSet rs = stmt.executeupdate(qry); (b) Find out the errors if any : m = 1; n = 0; for( ; m+n <10 ; ++n) system.out.print( Hello m = m +10; \n ); Page 5

28. Refer the following table structure and answer the following: [4 1 =4] EMPL DEPT SALGRADE Empno Deptno Grade Ename Dname LSal Sal Loc HSal Comm MgrNo HDate Deptno Now write MySQL statements for the following: a. Display the Ename, Dname and Grade of all the employees getting salary more than Rs. 3000. b. Display the Ename, Dname, Loc and Grade of all the employees who are working in New Delhi. c. Display the total salary, highest salary, minimum salary and average salary deptno wise. d. Display the number of employees working in each department. SECTION - D 29. Write SQL Commands for (a) to (e) and write the outputs for (f) on the basis of table : Table : FURNITURE NO ITEM NAME TYPE DATEOFSTOCK PRICE DISCOUNT 1 White Lotus Double Bed 2002-02-23 3000 25 2 Pink feathers Baby Cot 2002-01-29 7000 20 3 Dolphin Baby Cot 2002-02-19 9500 20 4 Decent Office Table 2002-02-01 25000 30 5 Comfort zone Double Bed 2002-02-12 25000 30 6 Donald Baby cot 2002-02-24 6500 15 7 Royal Finish Office Table 2002-02-20 18000 30 8 Royal tiger Sofa 2002-02-22 31000 30 9 Econo sitting Sofa 2001-12-13 9500 25 10 Eating Paradise Dinning Table 2002-12-19 11500 25 (a) To list the itemname which are priced at more than 15000 from the furniture table. [1] (b) To list itemname and type of those items, in which dateofstock is before 2002-02-01 from the furniture table in descending order of itemname. [1] (c) To display itemname and dateofstock of those items, in which the discount percentage is more than 25 from the furniture table. [1] (d) To count the number of items, whose TYPE is Sofa from the furniture table. [1] Page 6

(e) Give the output of following SQL statement. [4 0.5 = 2] (i) Select count (distinct type) from furniture; (ii). Select max(discount) from furniture; (iii). Select avg(discount) from furniture where type= Baby Cot ; (iv). Select sum(price) from furniture where dateofstock < 2002-02-12 ; 30. Write the resulting output of the following : [6] (a). Select SUBSTR( NetBeans IDE Programmer, 10,3); (b). select INSTR(TRIM( ABS Public School )5); (c). select 200 + SQRT(144); (d).select MOD ( ROUND ( 125.60,1), 5 ); (e). select LEFT( RAMESH SHARMA, 5); (f). select ROUND(1045.439, 2) + MOD (12.12, 3) *** Page 7