THE INDIAN COMMUNITY SCHOOL, KUWAIT

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

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

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

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

INDIAN SCHOOL SOHAR FIRST TERM EXAM ( ) INFORMATICS PRACTICES

Informatics Practices - Assignments. A Practical Workbook

INFORMATICS PRACTICES

INDIAN SCHOOL SOHAR FINAL EXAMINATION ( ) INFORMATICS PRACTICES (065)

Downloaded from

MONTHLY TEST (JUNE 2018) CLASS XII INFORMATICS PRACTICES

Sample Paper 2015 Class XII Subject INFORMATICS PRACTICES

Answer any four from (a) to (g) questions : (4 x 2=8)

KENDRIYA VIDYALAYA SANGATHAN CLASS XII EXAMINATION INFORMATICS PRACTICES (065)

INFORMATICS PRACTICES

KENDRIYA VIDYALAYA SANGATHAN- CHENNAI REGION INFORMATICS PRACTICES REVISION = ANSWER KEY. Q.1 a. What is protocol? 1

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

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

ASSIGNMENT FOR AUTUMN BREAK CLASS XI INFORMATICS PRACTICES ( )

INFORMATICS PRACTICES

CLASS XII SAMPLE PAPER-065 INFORMATICS PRACTICES

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)

INFORMATICS PRACTICES (065)

Time Allowed :3 hours Maximum Marks : 70

Downloaded from

INDIAN SCHOOL MUSCAT FINAL TERM EXAMINATION INFORMATICS PRACTICES

INDIAN SCHOOL MUSCAT FIRST PRELIMINARY EXAMINATION 2017 INFORMATICS PRACTICES

INFORMATICS PRACTICES

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?

APEEJAY SCHOOL SAKET First Term Examination Class - XII (Commerce) INFORMATICS PRACTICES(Code 065)

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

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

INFORMATICS PRACTICES

DELHI PUBLIC SCHOOL BOKARO STEEL CITY ASSIGNMENT FOR THE SESSION

INDIAN SCHOOL MUSCAT THIRD PRELIMINARY EXAMINATION INFORMATICS PRACTICES

KENDRIYA VIDYALAYA ONGC PANVELSESSION ENDING EXAM

Sample Question Paper Subject: Informatics Practices Class: XII Session

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

Kendriya Vidyalaya No1 Rewa Pre-Board I ( )

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

INFORMATICS PRACTICES

CompanyCode Donations C C102 NULL C C ENO NAME 1 Anita Khanna 2 Bishmeet Singh

Guess Paper Class XII Subject Informatics Practices TIME : 1½ HRS. M.M. : 50

Q2. What will be displayed in jtextfield1 and jtextfield2 after the following code is executed:

CLASS XII SAMPLE PAPER-065 INFORMATICS PRACTICES

Sample Paper 2012 Class XII Subject Informatics Practices

[Time allowed: 3hours] [Maximum Marks: 70] Instructions (i) All questions are compulsory

Guru Gobind Singh Public School. Assignment

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

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

(d) Write any two significance of Unicode? 1

(Structured Query Language)

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

void Add() { cin >> trainnumber; gets(trainname); } void display() { cout<<trainnumber <<":"<<TrainName<<end;

Downloaded from


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

Subodh Public School

INDIAN SCHOOL MUSCAT THIRD PRELIMINARY EXAMINATION INFORMATICS PRACTICES

II- Pre Board Examination SET A

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

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

SAMPLE PAPER CLASS XII SUBJECT Informatics Practices

Downloaded from


KENDRIYA VIDYALAYA SANGATHAN BHUBANESWAR REGION SECOND PREBOARD EXAMINATION FOR CLASS XII SUBJECT: COMPUTER SCIENCE

Downloaded from

INFORMATICS PRACTICES

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


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

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

D.A.V. PUBLIC SCHOOL, NEW PANVEL

KENDRIYA VIDYALAYA SANGATHAN BLUE PRINT INFORMATICS PRACTICES(065) CLASS XII. Total Marks Questions VSA SA I LA Total 34 70

Downloaded from

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

THE INDIAN COMMUNITY SCHOOL, KUWAIT

XII INFORMATICS PRACTICES CBSE Board 2014

UNIT-2 PROGRAMMING QUESTIONS (OLD CBSE PAPER BASED JAVA AND HTML QUESTIONS)

CLASS XII SAMPLE PAPER-065 INFORMATICS PRACTICES

Downloaded from

THE INDIAN COMMUNITY SCHOOL, KUWAIT

Downloaded from Downloaded from Downloaded from Downloaded from

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

Time : 3 hours Max. Marks : 70

TIME : 3 Hrs MAX. MARKS : 70 SET 1

Optical Fiber/Coaxial Cable/ Bluetooth/Twisted Pair Cable. Give reason for your answer.

KENDRIYA VIDYALAYA SANGATHAN BLUE PRINT INFORMATICS PRACTICES CLASS XII

Sample Paper-2011 Class : XII MM : 70 Subject : Informatics Practices Time : 3 hours

Downloaded from

Computer Science 2006 (Outside Delhi)

Maharaja Agrasen Model School Sample Paper Subject: Informatics Practices

KENDRIYA VIDYALAYA SANGATHAN, CHENNAI REGION. REVISION Examination 2013 COMPUTER SCIENCE (083) CLASS XII

Freshminds University Kolkata a) If a string MySTring holds a value 12345, then how will you convert

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

KENDRIYA VIDYALAYA SANGATHAN ERNAKULAM REGION FIRST PRE-BOARD EXAMINATION

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

CBSE International Class XII Informatics Practices Annual Examination Sample Question Paper

Half Yearly Examination SESSION: CLASS: Scholars 2 Subject :- Informatics Practices (ANSWER KEY) SECTION-A

SESSION ENDING EXAMINATION Set-3 INFORMATICS PRACTICES CLASS XI BLUE PRINT Long Short Very Short

Transcription:

THE INDIAN COMMUNITY SCHOOL, KUWAIT SERIES : I SE / 2016-2017 CODE : N 065 MAX. MARKS : 70 TIME ALLOWED : 3 HOURS NO. OF PAGES : 6 INFORMATICS PRACTICES ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Note: (i) All questions are compulsory. (ii) Answer the questions after carefully reading the text Q1 (a) Explain the term IDE. Differentiate between ComboBox and ListBox. (c) (d) (e) Item code consisting of 5 digits is stored in an integer type variable intitemcode. Mr. Srikant wants to store this Item code in a String type variable called stritemcode. Write appropriate java statement(s) to help her in performing the same. Write java code that takes the cost of a pencil from jtextfield1 and number of pencil from jtextfield2 and calculate total amount as cost*number to be displayed in jtextfield3 and 20% service tax out of total amount in jtextfield4. How many times will each of the following loops execute? Which one of these is an entry control loop and which one is an exit control loop? Loop1 Loop2 int sum = 0, i = 5; do sum += i; i++; int sum = 0, i = 5; while (i<5) sum += i; i++; while(i<5); (f) Name the two components which are necessary for database connectivity. Q2 (a) Write the difference between the following : (i) A = 10 (ii) If (A==10) What will be displayed in jtextfield1 after executing the following code? int m=16; m=m+1; if(m<15) jtextfield1.settext(integer.tostring(m)); else jtextfield1.settext(integer.tostring(m)+15);

(c) Write the output that will be generated by the code given below: int x = 5; int y = 6; while(x <= 10) System.out.println(y + x); x=x+3; Q3 The following code has some error(s). Rewrite the correct code underlining all the corrections made: int x == Integer.parseInt(jTextField1.setText()); if x>=18 JOptionPane.ShowMessageDialog(null, You can vote ); else if JOptionPane.showMessageDialog(null, You cannot vote ); Q4 (a) Rewrite the following code using while loop: int a,b; for (a=10,b=4;a<=16;a++,b+=2) jtextarea1.append( +a++); JOptionPane.showMessageDialog(null, Finished!!! ); Rewrite the following program code using if else if statement String remarks; int num = Integer.parseInt(jTextField1.getText()); switch (num) case 0: remarks = "You have not won any points."; break; case 1: remarks = " You have won one point"; break; case 2: remarks = " You have won two points"; break; default: remarks = " All the best";

Q5 Vasundhara is a programmer in Blue Bus Travels. She has developed the following GUI to calculate the ticket amount. City Kilometers Delhi 2000 Mumbai 1800 Pune 1100 Hyderabad 500 Goa 1600 Trivandrum 800 A/C charge per km Non A/C charge per km Rs. 15/- Rs 10/- i. Which method is used to determine which city is been selected? ii. Write code for the following a) Display the kilometers according to the chart been shown above in the textfield. b) Calculate the amount based on number of persons, ac or non ac bus and display in the amount textfield iii. Write the code for following buttons. Q6 (a) (i) Create a GUI application to accept a string and display it in reverse order using the substring () method. (ii) Create an application to accept the radius of a circle, calculate the area and circumference and display the results in a message box after rounding off the area and circumference to an integer number. (iii) Create an application to accept two strings - First Name and Last name from the user and display the message Welcome with the complete

name of the user. Make sure that the user has not input the complete name in the first name text field. Define a class Batsman with the following specifications: Data members: Bcode Integer Bname String Innings,notout Integer Runs Integer Batavg It is calculated according to the formula : Batavg = runs/(innings notout) Calcavg Function to compute batavg (4) Member Methods: Readdata() displaydata() Function to accept values for Bcode, name, innings, notut and invoke the function calcavg() Function to display the data members on the screen. The following is the screen used to declare class to calculate batsman average runrate: Design a GUI application (Bat)to enter batsman code(txtcode), name(txtname), total innings(txtin), total notout(txtnot), and total runs(txtruns). Find the batting average in a text box called txtavg. (i) Define a class Batsman with the required specification. (ii) Write the code for Batting Average buttons (named as btnavg) click event procedure to operate the class Batsman s method. Q7 (a) What is the purpose of DROP TABLE command in SOL? How is it different from DELETE command? (c) Explain the purpose of DDL and DML commands used in SQL. Also give one example of each. Mr. Sanghvi created two tables with CITY as primary key in Table1 and foreign key in Table2, while inserting a row in Table2, Mr. Sanghvi is not

able to enter a value in the column CITY. What could be the possible reason for it? Q8 (a) Write a SQL command to create the table 'Passenger' with the following structure Field Name Field Type Constraint P_no Varchar(8) Primary Key P_name Varchar(25) Not Null Train _No Integer(5) Age Integer Class Varchar(8) Fare Integer(4) >800 Consider the table projects given below. Write commands in SQL for (i) to (iv). Table: Projects ID ProjName ProjSize StartDate EndDate Cost 1 Payroll-MMS Medium 2006-03-17 2006-09-16 60000 2 Payroll-ITC Large 2008-02-12 2008-01-11 500000 3 IDMgmt-LITL Large 2008-06-13 2009-05-21 300000 4 Recruit-LITL Medium 2008-03-18 2008-06-01 50000 5 IDMgmt-MTC Small 2007-01-15 2007-01-29 20000 6 Recruit-ITC Medium 2007-03-01 2007-06-28 50000 (i) To insert a new row in the above table with the following data : 7, Recruit-LITL, Medium, 2007-03-14, 2009-05-21, 50000 (ii) To list the ProjSize of projects whose ProjName ends with LITL. (iii) To list ID, name, size and Cost of all the projects in descending order of StartDate. (iv) To remove the rows from the above table where cost of the project > 60000. (v) SELECT sum(cost), avg(cost) FROM projects; (c) Consider the following tables item and Customer. Write SQL Commands for the statement (i) to (iv) and give outputs for SQL queries (v) to (viii). Table: ITEM I_ID ItemName Manufacture Price PC01 Personal ABC 35000 Computer LC05 Laptop ABC 55000 PC03 Personal XYZ 32000 Computer PC06 Personal COMP 37000 Computer LC03 Laptop PQR 57000

Table: CUSTOMER C_ID CustomerName City l_id 01 JANHVI Delhi LC03 06 MANSH Mumbai PC03 12 RAJEEV Delhi PC06 15 YAJNESH Delhi LC03 16 VIJAY Banglore PC01 (i) Add one more column in the ITEM table as Barcode of type varchar and size 20. (ii) To display the details of item whose price is in the range of 35000 to 55000 ( both values included) (iii) To display the customer name, city from table Customer, and itemname and price from table Item, with their corresponding matching I_ID. (iv) To increase the price of all items by 1000 in the table Item. (v) SELECT ItemName, MAX(Price), Count(*) FROM Item GROUP BY ItemName; (vi) SELECT CustomerName, Manufacturer FROM Item, Customer WHERE Item.Item_Id=Customer.Item_Id (vii) SELECT ItemName, Price* 100 FROM Item WHERE Manufacture= ABC ; Write the output of the following SQL queries: i. SELECT ROUND(82.6755, -2), TRUNCATE( 7.727, -1); ii. SELECT MID( INFORMATICS,4,5), SUBSTR("Practices",3); iii. SELECT DAYOFMONTH( 2014-02-02 ),YEAR( 2014-02-02 ); iv. SELECT LENGTH(TRIM( India is Great!!! ); v. SELECT INSTR( UNIVERSITY, ER ), ASCII( abc ); vi. SELECT UCASE( mumbai ),LCASE( UNIVERSITY );