CBSE Class 12 Informatics Practices Worksheet - Revision (2)

Scroll down for PDF

CBSE Class 12 Informatics Practices Worksheet - Revision (2)

Chapter wise assignments are being given by teachers to students to make them understand the chapter concepts. Its extremely critical for all CBSE students to practice all assignments which will help them in gaining better marks in examinations. All assignments available for free download on the website are developed by the best teachers having many years of teaching experience in CBSE schools all over the country. Students, teachers and parents are advised to download the CBSE study material.


Class XII

Informatics Practices


1. Differentiate between:

a. JTextField and JPasswordField b. JButton and JFrame c. JCheckBox and JRadioButton

d. JComboBox and JListBox e. JTextField and JTextArea f. JLabel and JTextField

2. Explain the use of following functions of Java:

a. Integer.parseInt() b. Integer.toString() c. Math.round()

d. Math.pow() e. length() f. Byte.parseByte()

g. substring() h. concat() i. toLowerCase()

j. JOptionPane.showMessageDialog() k. next() l. DriverManager.getConnection()

3. Write any two common properties and two common methods among following:

a. JTextField and JTextArea b. JCheckBox and JRadioButton c. JComboBox and JListBox

4. Write Java function named tenfolds() that takes a number as parameter and returns its tenth part.

5. Write statements to import packages for following:

a. for database connectivity through JDBC. b. to use JOptionPane dialog box.

6. Consider the following GUI:

If bill amount is greater than 10000 then discount is calculated as follows:

i. Write code to make txtNameofCustomer and txtBillAmount uneditable.

ii. Write code for stop button to close the application.

iii. Write code for Calculate Discount button to calculate discount and net amount .

Please click the below link to access CBSE Class 12 Informatics Practices Worksheet - Revision (2)


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


Central Board of Secondary Education, CBSE is to conduct the 10th and 12th Board Examination 2020 from February 15, 2020. Due to University Admissions, CBSE has shifted Board Exams dates from 1 March to February 15 from 2019. This year too CBSE would be making changes...

CBSE Board Introduces Experiential Learning for Student

CBSE Academic Session 2019-20: Board Introduces Experiential Learning for Student: The education sector has grown for some new changes. As per the latest updates the Central Board of Secondary Education has been good in making all the possible efforts to improve...

NCERT NTSE Admit Card 2020 released - know more

Introduction: NTSE 2020 National Talent search examination is conducted by NCERT to take out the students who excel in science. It is organized to measure and let the students with talent outshine in their coming future. This talent search exam is taken in 2 stages....

CBSE Board Secretary says Class 10 and 12 CBSE Exam Pattern to be modified

The Central Board of Secondary Education is expected to introduce a few changes to the exam pattern for class 10 and board exams by 2023. Anurag Tripathi, secretary of CBSE speaking at an Assoham School Education Summit said that although this year class 10 students...

Error in the evaluation of answer sheets in CBSE

The education board has witnessed many events where invigilators are being suspended for allotting wrong marks to the students.  This has affected students mainly of classes X and XII in the 2019 CBSE Board Exams. The central board of secondary education has taken...

CBSE examination board hike the fee for class 10th and 12th

The CBSE (Central Board Secondary Education) increased the examination fees for classes 10 and 12 of the 2020 boards, with no profit no loss principle, from Rs. 750 to Rs 1500, for all categories of students, including SC/ST candidates for all schools throughout India...

Studies Today