CBSE Class XI Informatics Practices Introduction to Programming Questions

Scroll down for PDF

CBSE Assignment for Class 11 Informatics Practices -Introduction to Programming Questions . Based on CBSE and CCE guidelines. The students should read these basic concepts to gain perfection which will help him to get more marks in CBSE examination.

Some Important Questions with Answers

1. Which window is used to designed the form.

Ans: Design window

2. Which window contains the Swing Controls components.

Ans: Palette window

3. What is the most suitable component to accept multiline text.

Ans : Text Area

4. What will be the output of the following command?


Ans : Error

5. What will be the output of the following command?


Ans: LearningJava

6. Name the different list type controls offered by Java Swing.

Ans: (i) jListBox

        (ii) jComboBox

7. Name any two commonly used method of ListBox.

Ans: getSelectedIndex() and getSelectedValue()

8. Write code to add an element (“New Course”) to a list (SubList) at the beginning of the list.

Ans: SubList.add(0,”New Course”);

9. Describe the three common controls. Also give some of their properties.


(i) jButton text,icon

(ii) jLabel text,border

(iii) jTextField text,font

10. By default a combo box does not offer editing feature.How would you make a combo box editable.

Ans: By setting its editable property to false.

11. Write Name the component classes of Swing API for the following components-

(a) frame (b) button


12. What is the name of event listener interface for action events ?

Ans: ActionPerformed

13. What does getpassword() on a password field return ?

Ans: a character array

14. What is event driven programming?

Ans:This programming style responds to the user events and is driven by the occurrence of user events.

15. What are containers? Give examples.

Ans: Containers are those controls inside them e.g., frame (JFrame), Panel (JPanel), label (JLabel) etc. are containers

16. Which method of list is used to determine the value of selected item, if only one itm is selected.

Ans: getSelectedValue()

17. Which type of storage is provided by variables.

Ans: temporary

Please refer to attached file for CBSE Class XI Informatics Practices Introduction to Programming Questions


Click on the text For more study material for Informatics Practices please click here - Informatics Practices

Latest NCERT & CBSE News

Read the latest news and announcements from NCERT and CBSE below. Important updates relating to your studies which will help you to keep yourself updated with latest happenings in school level education. Keep yourself updated with all latest news and also read articles from teachers which will help you to improve your studies, increase motivation level and promote faster learning

CBSE Counseling for Board exam 2020 starts today

The 23rd psychological Counseling starts 1st February (today) for The Class10 and Class12 CBSE students and their parents, by the Central Board of Secondary Education (CBSE).    This Counseling service is cost-free and this counseling service will be available every...

CBSE Board Exam Date Sheet of class 10th and 12th

The Central Board of Secondary Education (CBSE) released the Date sheet of Class 10 and Class 12th 2020 examination on the official website The board examination of Class 12 will be conducted from 15 February to 30 March 2020, while the board examination...

Simple tips to Excel in Examinations

We are entering the last quarter of the Academic Session. With examinations just around the corner, I am sure all of us are carrying a mixed bag of Stress, Excitement, and Anxieties!! So, first and foremost- Let’s be Positive and Futuristic! It’s most important to...

Studies Today