CBSE Class 12 Informatics Practices Revision Assignment Set C

 

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 Revision Assignment Set C

Tags: 

 


Click to View or Download pdf file
Click for more Informatics Practices Study Material

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

NEP Transforming India Quiz

As a part of Shikshak Parv celebration, an online quiz competition on National Education Policy 2020 will be organized by the Ministry of Education, Govt. of India, from 5 th September to 25th September 2020 in order to create awareness about NEP among all stakeholders...

National Online Painting Championship

The National Mission for Clean Ganga, Ministry of Jal Shakti in collaboration with Kalantar Art Trust is organizing KALANTAR-2020: National Online Painting Championship with the aim to provide a platform to youth and school children to demonstrate their artistic skills...

Online Teacher Training Course on Competency based Education in DIKSHA

Competency is a set of skills, abilities, knowledge that helps an individual perform a given task in real life. Every learning should go into the imbibing of these skills to lead a productive and joyful life. The NATIONAL EDUCATION POLICY-2020 calls for shift towards...

TERI Green Olympiad 2020

Green Olympiad is a value driven project conducted by TERI (The Energy and Resources Institute) for school students annually since 1999. This Olympiad assesses the environment quotient of students and also enhances their understanding on issues related to sustainable...

Revised SOP preventive measures followed while conducting examinations

Revised SOP on preventive measures to be followed while conducting examinations to contain spread of COVID-19 issued by Ministry of Health & Family Welfare Examination centres are frequented by large number of students (as well as their parents) and staff till the...

Conduct of the practical work during the lockdown

CBSE has advised schools to follow the Alternative Calendar developed by NCERT to continue education during the lockdown through alternative modes to achieve learning outcomes. Schools have reportedly started using these calendars and other prescribed pedagogical...

×
Studies Today