Perform the following operations on file using menu-driven application,
• Opening a existing file
• Creating a new file
• Renaming a file
• Deleting a file
• Creating a directory
• Finding the absolute path of a file
• Get the file names of a directory
Java Class that returns the sum of two integers, write a JSP code that uses a page directives to call this Java Class
Create a subclass called TicketSales that extends the Tickets class. The TicketSales class must contain a constructor to accept the customer name, movie title, customer age and price of the movie as parameters. Write code for the print_tickets method which displays the customer name, movie title, movie price, discount and final cost due. A discount of 10% is applied if the customer’s age is greater than or equal to 65. If the customer is under 65 years old, no discount is given. Finally, write a Movie_Tickets class to instantiate the TicketSales class. Sample output is shown below and you may use the same values to test your application
1. Network configurations
1. Receive internet access from the WAN
2. Provide internet access to devices connecting to AP that is connected to the ubuntu
server
3. Block/Allow IP/MAC address
2. Configurations can be altered/configured programmatically
1. SSID of the external AP
2. Can be password protected or Open Security
3. Network interfaces so we can choose what will be the LAN and the WAN
4. Set DHCP configuration for the clients that will be connecting to the LAN (ex. IP pool
range)
Sample Run 3
Welcome to CS126 Mart!
Item Codes
Description Price
100 Sweet ‘n Ripe Grapes 125.35
101 Crunchy Apples 52.20
109 Green Peas 25.75
Enter Code: 101
Crunchy Apples 52.20
Quantity 1 Total Amount Due: 52.20
Cash: 50.00
Insufficient Cash
Sample Run 4 will be
Enter Code: 101 and will buy Crunchy apples (1 quantity) and will pay (Cash: 1000) and the change will be 947.80 and the program will say "Take care!" at the end
Item codes: 100 & 101 & 109
100 - Sweet 'n Ripe Grapes (Price) - 125.35
101 - Crunchy apples (Price) - 52.20
109 - Green Peas (Price) - 25.75
I need 4 sample runs in total here are the sample runs I need
Sample Run 1
Welcome to CS126 Mart!
Item Codes
Description Price
100 Sweet ‘n Ripe Grapes 125.35
101 Crunchy Apples 52.20
… … …
109 Green Peas 25.75
Enter Code: 128
Invalid code.
Sample Run 2
Welcome to CS126 Mart!
Item Codes Description Price
100 Sweet ‘n Ripe Grapes 125.35
101 Crunchy Apples 52.20
… … …
109 Green Peas 25.75
Enter Code: 100
Sweet ‘n Ripe Grapes 125.35
Quantity -3
Invalid code.