Uploaded by rmajdi1972

JavaFX Quiz: Software Construction & UI - Spring 2025

advertisement
College of Engineering
Quiz-01
Spring 2025
Course Code:
SWE 312
Course Name:
Software Construction & User Interface
Name of Faculty:
Dr. Majdi Rawashdeh
Time Allowed:
30 minutes
INSTRUCTIONS:
I.
II.
III.
All questions are compulsory. You must answer on this sheet and do not use a separate sheet.
This quiz has 3 questions.
Mobiles phones are not allowed.
Student Name
Student ID
Student Signature
Question Number
Student Grade
Max Grade
1
5
2
5
3
5
Total
15
CLO
Page 1 of 4
Q1. What is the output of the JavaFX program before and after the user click
Page 2 of 4
Q2. Fill in the missing JavaFX code so that it produces the output displayed below.
Page 3 of 4
Q3. Develop a JavaFX application that calculates simple interest. The user should enter three
values: principal amount, rate of interest, and time in years. Upon clicking the "Calculate"
button, the application should compute and display the simple interest as shown below:
Simple interest = (principal amount * interest rate * number of years) / 100;
Page 4 of 4
Download