Sie sind auf Seite 1von 2

SUMMER VACATION HOME ASSIGNMENT CLASS XI SUB : IP TOPIC : GETTING STARTED WITH PROGRAMMING USING IDE Q1.

Java is both programming language and a platform. Comment. Q2. How is ordinary compilation process different from Java compilation? Q3. What do you understand by JVM? Write characteristics of Java. Q4. What do you mean by WORA (Write Once Run Anywhere) characteristic of Java? Q5. Name two types of Java programs. How are they different? Q6. What do you understand by Visual Programming and RAD tools? Q7.Explain the following terms: (i) Event (ii) Event Source (iii) Event Driven Programming (iv)Methods (v)Listeners (vi)Message (vii) Byte Code (viii) Java APIs (ix) Focus (x) Widget (xi) Component Q8. What are containers (or container controls) and child controls? What will happen if you delete container control? Q9. What is the role of JVM in platform independence? How are bytecode and platform independence interlinked? Q10. What is similarity and difference between option buttons and check boxes? Q11. What is similarity and difference between text field and text area? Q12. Explain the following basic graphical controls of swing: (i) jFrame (ii) jLabel (iii) JButton (iv) Jlist (v) jComboBox (vi)jPanel Q13. Explain commonly used Events and Listeners in JAVA. Q14.Design a GUI application that obtains the price and quantity of an item, calculate the sale-value, discount and net payable amount. Discount is calculated as 10% of the sale-value.

Q15. Design a GUI application as shown in following screenshot. The application should obtain two numbers and then compute their sum.

Q16.Develop an application to prepare students result on the basis of marks entered. A sample screenshot is being shown. Decide what controls are required, on your own. Decide about the number of variables required and their types on your own.

Q 17. Design a GUI desktop application in java to accept the name and favorite sport in two text fields and display an appropriate message including the name and favorite sport in a dialog box. The application must have an exit button to end the application and appropriate labels. Output :

Q18 Design a GUI desktop application in java to accept weight in Kilograms in a text field and convert it into grams and milligrams on the click of two separate buttons. Display the result in a second text field. The application must have an exit button to end the application and appropriate labels.
Output :

Q19. Design a GUI desktop application in java to accept temperature in Celsius in a text field and display temperature in Fahrenheit in another text field on the click of a button. The application must have an exit button to end the application and appropriate labels. [Hint :Tc = (5/9)*(Tf-32) and Tf = (9/5)*Tc+32 where Tc = temperature in degrees Celsius, Tf = temperature in degrees Fahrenheit]
Output :

Das könnte Ihnen auch gefallen