Informatics Practices
Informatics Practices
Informatics Practices
INFORMATICS PRACTICES
Class:XI Duration :1 Hr
Date : 08-05-2017 Max Marks:25
-----------------------------------------------------------------------------------------------------------------------------------
General Instructions:
All questions are compulsory.
Answer the questions after carefully reading the text
1. a) Define the term IDE. Give an example for IDE. [2]
b) Write the relation between a project and forms in Netbeans. [1]
c) What is escape sequence? Give two examples? [1½]
d) Differentiate between TextField and Label ? [1]
e) Write the properties to be changed for the following: [1]
(i) The property of the text field to be set to avoid it from editing.
(ii) The property of the form to set for the title of the form.
f) Write one property and one method of label component in NetBeans [1]
Java.
g) The following statement in java has error(s). Rewrite the correct code [1]
underlining all the corrections made :
jTextField1.SetText(‘Hello’);
h) Write Java statements for the following: [1½]
(i) To disable jButton1
(ii) To hide jLabel1
(iii)To lock jTextField1 from editing
2 a) Write statement to display the following message in a message box. [1]
b) Lakshmi works for a school. She wishes to create controls on a form [2]
for the following functions. Choose appropriate controls for the
following:
NO Control used to Purpose
1 Enter Admission Number To read the admission
number of a student.
2 Select Stream To select a stream out of
Science, Commerce and
Humanities.
3 Select Subject To select subjects for each
stream selected.
4 Clear the form To clear the data in the form.
Page 1 of 4
c) Write necessary code for the form given below. The purpose of the [2]
form is to display a message in jLabel2 as given in the sample output
screen. User enters the name in jTextField1.
d) Design a suitable Account Sign Up Form neatly for google account [2]
with following details on it. Include most appropriate controls for
each.
Page 2 of 4
3 a) [2]
B
C
Page 3 of 4
c) Write the list of controls used in the design of the form given below: [1]
d) Consider the form given below and answer the following questions: [3]
Salary Form
************
Page 4 of 4