Class 12 IP Practical Question List with Solution -Download Solution
Q1 . Design a GUI application to read Price per dozen ( TextField) and Price per dozen ( Text field) and calculate total payable amount( price *dozens) in a TextField on the click event of calculate Button. Also place two more buttons “Clear Text Box” and “Exit”. Write code to clear text fields on the click event of “Clear Text Box” and close application on the click event of “Exit Button”
Q2 . Design a GUI application to enter two numbers (both Text Fields) and place 5 buttons to add, subtract, multiply , divide and to find out reminder. Display the result of above operation in another text Field.
Q3. Design a GUI application to read day number in a text field. Place a command button “Calculate Day Name”. Display equivalent day name on the click event of “Calculate Day name” in a text field.
Q4. Design a GUI application to read price of a pizza (Textfield) and total order quantity ( TextField). And two radio button 1- 5% discount 2- 90% discount and 3 command button on the frame. 1- Calculate Bill 2- Clear Text 3. Close App. Calculate Total payable amount on the click event of “Calculate Bill”, Clear all the text fields on the click event of “Clear Text” and close application on the click event of “Close app”.
Q5. Design a GUI application to join your first name( TextField) and second name ( Text Field). Join these names on the click event of button “Join Names” and display them in a third Text Field (Disable).
Q6. Design a GUI application in netbeans to calculate the amount payable by the customer as per the following GUI. The rate of extra toppings are given in the brackets and any applicable discount. You are required to write the code on the click event of “calculate bill”.
Q7. Design a GUI application to read Roll Number, name of student and marks obtained in five subject in text Fields. Calculate Total marks and grade on the click event of “Calculate” and display them on the text Fields. The criteria to calculate grade is as follows
|<90 and >=80||B1|
|<80 and >=70||B2|
|<70 and >=50||C|
The GUI should be like this
Q8. Design a GUI application to read three numbers ( in TextFields) from the keyboard and calculate the largest number among them. Display the result in Text Field.
Q9 . Design a GUI Application(Append) to read your name( Textfield) , roll Number ( TextField), Class ( TextField) marks obtained in English ( TextField), Accounts ( TextField), Business Studies (TextField), Economics ( Textfield) and informatics Practics( TextField). Using JTextArea’s Append methods display all the inputed information in TextArea on the click event of “Add Information” button.
Q10. Design a GUI application to read starting number( TextField) and end number (Text Field). Generate all the number between these two numbers and display them in a TextArea on the click event of “generate series” button.
Q11. Create a table school in mysql with the following structure
|Field Name||Data Type||Size||Constraint|
Design a GUI in netbeans to insert record in this newly created table school.
Q12 Create a table student in mysql with the following structure
|Field Name||Data Type||Size||Constraint|
Insert 5 record in this newly created table of student. Design a GUI in netbeans to show all the records of this table in netbeans in table format
Q13. Design a GUI in netbeans to search a record in the above generated table student. If the record exist then delete that record from the table
Q14. Design a GUI in netbeans to search a record in the above generated table student. If the record exist then UPDATE that record from the table ( Screenshot is for reference purpose) otherwise display a popup message “record does not exist”. Modify button only enable if the record exist in the database otherwise it remains disable.
Q15. ABN Corporation impose charges on customer for different products .The shipping company costs for an order in two forms 1.- Wholeseller 2- retailer. The cost is calculated on unit basis as follows
|Units||Price per unit(wholeseller)||Price per unit ( Retailer)|
Special customers ( checkbox ) are given 10% extra discount. The following is the screenshot used to calculate cost for order.
Jpanel container is used for customer type as two radio buttons are hosted on this container. Wholesale and Retailer.
You are required to calculate “Discount” and total cost on the click event of “Calculate” button and also display discount and total cost in textfields.
Q16. Mr XYZ visited mahagun mega mall. His family purchased some products form mahagun metro mall. The mall have some attractive discount for credit cards holders. You are requested to calculate the discount on total amount ( enter in text field) and calculate discount as per the criteria table given below
|Card Company Name||% discount offered|
Please referrer the following image for more details
Q17. Ms Vidhyarthi is Working in DAV Centenary Public School Chander Nagar as a programmer. She was asked to develop a GUI in netbeans to develop an application. The school offers two streams – 1 Medical 2- Non Medical with the following grading criteria.
|<75 and >=50||B|
The school also offers special incentive to NCC cadets in the form of 3% increment in percentage for all the NCC cadets.