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?

Learning.concat("Java")

Ans : Error

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

"Learning".concat("Java")

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.

Ans:

(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

Ans:(a)JFrame(b)JButton

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

Tags: 


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

What Is The Secret Of Choosing A Good Tutor For Your Child?

Is your child lost in the maze of syllabus, chapters, millions of topics and huge books? Does your child feel lost in a class filled with many students? Is your child unable to bring in the best results? Well, then, you definitely need to find some alternative...

UP government schools will follow NCERT

UP government schools will follow NCERT pattern from April 2020Are you appearing for the UP exams 2020? If yes, then you have to see what major changes UP government schools have brought for 2020.The UP government is fully prepared to implement NCERT pattern for...

CBSE Class 12th Board Exam 2020

CBSE Class 12th Board Exam 2020: Here are some exam preparation tips Every year the Central Board of Secondary Education (CBSE) conducts annual board exams for the students of 10th and 12th grade in February / March. Class 12th board exams play a very significant role...

CBSE schools to have sports period daily for classes 1 to 12

CBSE schools to have sports period daily for classes 1 to 12, new curriculum introduced All work and no play makes a child dull. Nowadays students have a very hectic schedule so that they cannot take out time to play games and gently start ignoring sports. Therefore,...

5 Signs Why Your Child Needs a Tutor

Is your child struggling at school? Are they leaving assignments incomplete? When it comes to education every student is different. Some children do well with the help of the teacher at school and an active parent while others need extra help. When children have...

CBSE Class 10 Board Exam 2020

CBSE Class 10 Board Exam 2020: Problems Students May Face In Choosing Subject The Central Board of Secondary Education (CBSE) class 10 board examination will start from February 2020. The Central Board of Secondary Education (CBSE) has started the process of filling...

×
Studies Today