CBSE Class 11 Information Practices Introduction To Programming Worksheet

Chapter-wise Worksheets for Class 11 Informatics Practices: Introduction To Programming

Access comprehensive chapter-wise worksheets for Introduction To Programming using the CBSE Class 11 Information Practices Introduction To Programming Worksheet. Designed to align with the 2026-27 academic syllabus for Class 11 Informatics Practices, these printable practice sets help students reinforce key concepts and improve their overall exam readiness.

Practice Class 11 Informatics Practices Worksheets: Introduction To Programming

View or download the dedicated CBSE Class 11 Information Practices Introduction To Programming Worksheet resource below. Engaging with these practice papers under focused study conditions ensures continuous academic progress and mastery of the 2026-27 curriculum for Introduction To Programming.

CBSE Class 11 Information Practices - Introduction to Programming. Students can download these worksheets and practice them. This will help them to get better marks in examinations. Also refer to other worksheets for the same chapter and other subjects too. Use them for better understanding of the subjects.

1. Create a GUI application that asks for TWO integers from user and display the result as shown in the screen shot.

 Add a new frame to the project.

 Design the frame having controls arranged as shown above.

(3 Labels, 3 Text boxes, 3 Command buttons).

 Set the names and Settings of the above controls as shown in the table below:

Control

Name

Property/Setting

TextField1

num1

Make it blank, Tahoma 12 Bold

TextField2

num2

Make it blank, Tahoma 12 Bold

TextField3

num3

Result, Deactivate, Tahoma 12 Bold

Label1

Enter first number, Tahoma 12 Bold

Lablel2

Enter second number, Tahoma 12 Bold

Label3

Answer, Tahoma 12 Bold

Button1

sum

Tahoma 12 Bold

Button2

product

Tahoma 12 Bold

Button3

diff

Tahoma 12 Bold

 

 Double click on “Sum” button and type the following code :

int a= Integer.parseInt(num1.getText());

int b= Integer.parseInt(num2.getText());

int c=a+b;

num3.setText(c+"");

 Save you work. Press Shift +F6/ Run to the see the output.

 Complete the coding for Product and Difference.

PORTIONS FOR FIRST ASSESMENT- (2016)

SUBJECT: INFORMATICS PRACTICES(CODE:065)

Sl.No

Chapter Name

MARKS

1

Introduction To Programming

Chapter-3 Getting Started With Programming Using IDE

Chapter-4 Programming Fundamentals

Chapter-5 Flow Of Control

35

2

Relational Database Management Systems

Chapter-10 DBMS Concepts

Chapter-11 Introduction To MySQLl

Chapter-12 Simple Queries In SQL

Chapter-13 MySQL Functions

Chapter-14 Table Creation And Data Manipulation Commands

35

TOTAL

70

 

Question 1. Create a GUI application that asks for TWO integers from user and display the result as shown in the screen shot.
• Add a new frame to the project.
• Design the frame having controls arranged as shown above. (3 Labels, 3 Text boxes, 3 Command buttons).
• Set the names and Settings of the above controls as shown in the table below:

ControlNameProperty/Setting
TextField1num1Make it blank, Tahoma 12 Bold
TextField2num2Make it blank, Tahoma 12 Bold
TextField3num3Result, Deactivate, Tahoma 12 Bold
Label1 Enter first number, Tahoma 12 Bold
Label2 Enter second number, Tahoma 12 Bold
Label3 Answer, Tahoma 12 Bold
Button1sumTahoma 12 Bold
Button2productTahoma 12 Bold
Button3diffTahoma 12 Bold

• Double click on "Sum" button and type the following code:
int a= Integer.parseInt(num1.getText());
int b= Integer.parseInt(num2.getText());
int c=a+b;
num3.setText(c+"");

• Save your work. Press Shift + F6/ Run to see the output.
• Complete the coding for Product and Difference.
Answer:
To complete the calculations, we write the Java event handling code for both the Product and Difference buttons.

Code for the "Product" button:
int num1Value = Integer.parseInt(num1.getText());
int num2Value = Integer.parseInt(num2.getText());
int productResult = num1Value * num2Value;
num3.setText("" + productResult);


Code for the "Difference" button:
int valueA = Integer.parseInt(num1.getText());
int valueB = Integer.parseInt(num2.getText());
int subtractionResult = valueA - valueB;
num3.setText(String.valueOf(subtractionResult));

In simple words: First, read the text from the fields num1 and num2, convert those text values into integer numbers, calculate the multiplication or subtraction, and display the result inside the third text field num3.

Exam Tip: Always make sure to use `Integer.parseInt()` to parse string text into numerical data types before attempting any mathematical calculations in Java Swing applications.

 

Complete List of Java Keywords

abstractbooleanbreakbytecasecatch
charclassconstcontinuedefaultdo
doubleelseextendsfinalfinallyfloat
forgotoifimplementsimportinstanceof
intinterfacelongnativenewpackage
privateprotectedpublicreturnshortstatic
strictfpsuperswitchsynchronizedthisthrow
throwstransienttryvoidvolatilewhile
assert     

 

Portions for First Assessment - (2016)
Subject: Informatics Practices (Code: 065)

Sl.NoChapter NameMarks
1Introduction To Programming
Chapter-3 Getting Started With Programming Using IDE
Chapter-4 Programming Fundamentals
Chapter-5 Flow Of Control
35
2Relational Database Management Systems
Chapter-10 DBMS Concepts
Chapter-11 Introduction To MySQL
Chapter-12 Simple Queries In SQL
Chapter-13 MySQL Functions
Chapter-14 Table Creation And Data Manipulation Commands
35
TOTAL70

Free CBSE Practice Worksheets: Class 11 Informatics Practices Introduction To Programming

Mastering Introduction To Programming with Printable Worksheets

Review targeted practice exercises for Class 11 Informatics Practices Introduction To Programming. Curated to match official CBSE guidelines, these printable problem sets support daily revision and improve overall test readiness.

Verified Solutions and NCERT Alignment

Each worksheet draws directly from authorized standard textbooks to maintain academic accuracy. Evaluating your finished exercises against expert-verified solutions helps master the formal presentation standards expected in school evaluations.

Additional Study Resources for Class 11 Informatics Practices

Follow up your worksheet practice by attempting the interactive online MCQ tests for Introduction To Programming to evaluate your execution speed. All printable assignments and revision sheets on our platform are updated for the 2026 session and available free of charge.

FAQs

Where can I download the 2026-27 CBSE printable worksheets for Class 11 Informatics Practices Introduction To Programming?

You can download the latest chapter-wise printable worksheets for Class 11 Informatics Practices Introduction To Programming for free from StudiesToday.com. These have been made as per the latest CBSE curriculum for this academic year.

Are these Introduction To Programming Informatics Practices worksheets based on the new competency-based education (CBE) model?

Yes, Class 11 Informatics Practices worksheets for Introduction To Programming focus on activity-based learning and also competency-style questions. This helps students to apply theoretical knowledge to practical scenarios.

Do the Class 11 Informatics Practices Introduction To Programming worksheets have answers?

Yes, we have provided solved worksheets for Class 11 Informatics Practices Introduction To Programming to help students verify their answers instantly.

Can I print these Introduction To Programming Informatics Practices test sheets?

Yes, our Class 11 Informatics Practices test sheets are mobile-friendly PDFs and can be printed by teachers for classroom.

What is the benefit of solving chapter-wise worksheets for Informatics Practices Class 11 Introduction To Programming?

For Introduction To Programming, regular practice with our worksheets will improve question-handling speed and help students understand all technical terms and diagrams.