This lab relates to developing a graphical user interface application in C# using forms, controls, menus, lists and other concepts. Students will create an application to track donut sales using a list to store values entered by the user. The application will include a menu system, combo box to select donut types, buttons to calculate totals, display the list and clear values. It will also include data validation, tooltips and other typical windows application features.
General DescriptionFor this assignment, you will create an appli.docxhanneloremccaffery
General Description
For this assignment, you will create an application that will break down an amount to the denominations given and tell how many of each denomination it will dispense.
The design of the form
READ THE ENTIRE SET OF INSTRUCTIONS BEFORE STARTING ON THE PROGRAMMING ASSIGNMENT.
Design the form to contain
· The form is left up to the designer but should accommodate all the requirements listed.
· The user will need to type into application the amount of money they wish to have broken down into the denominations.
· This will need an appropriate label on the form to inform the user of what is to be entered
· This user entry piece should be centered near the top of the form
· The Dispense button
· The user will click this button to start the dispensing process.
· The button should be directly below the area when the user enters the amount to be dispensed
· The clear button
· A clear button will need to be placed on the form whose purpose is to clear the entrance of the money area and all the dispensed amounts
· All check boxes will be reset to the checked position
· The exit button
· An exit button will need to be placed on the form whose purpose is to close the application
· The esc key on the keyboard needs to be tied to this button
· There will need to be labels used to display the amount of each denomination that can be dispensed.
· There will need to be text saying the denomination
· There needs to be an area where the number is displayed of the denomination
· The denominations that must be handled include: $100, $50, $20, $10, $5, $1.
· There will not be the need to dispense out coinage, just bills.
· There should be a place to display a message to the user when the last dispensing of money is made.
· A label should be used for this and be placed above the dispensed amounts area.
· Use a Group Box to surround and set the denominations area off from the rest of the form. This is a use of a group box for more a UI design than a grouping of radio buttons.
· The display of time should be in this groupbox also
· Each denomination, except the $1, needs to have a check box next to it to turn it on or off.
· If the denomination is to be dispensed, the checkbox will be checked
· If the denomination is not to be dispensed, the check box will not be checked
· All denominations should be set to be dispensed when the application starts
· The $1 is the default and can never be turned off
· All buttons should be of a uniform size and color scheme.
· The background color of the form should be a different color than all buttons, any textboxes and labels.
· You may choose to leave the background the default but it will still need to be a different color than the buttons, the labels and the textboxes on the form.
· The background colors of the textbox should be white.
· The background color of the denomination labels when the actual values go into should be pale yellow.
· There should be no buttons above the text box or below the dispensed amou ...
ObjectivesUse inheritance to create base and child classes.docxmccormicknadine86
Objectives:
Use inheritance to create base and child classes
Utilize multiple classes in the same program
Perform standard input validation
Implement a solution that uses polymorphism
Problem:
A small electronics company has hired you to write an application to manage their inventory. The company requested a role-based access control (RBAC) to increase the security around using the new application. The company also requested that the application menu must be flexible enough to allow adding new menu items to the menu with minimal changes. This includes re-ordering the menu items and making changes to the description of a menu item without having to change the code.
Security:
The company has suggested to start the application by prompting the user for a username and password to authenticate the user. There are two types of users at this company, managers and employees. If managers log on to the application, they will see all options on the menu list. If employees log on to the application, they will see a limited set of options on the menu list. User information is stored in Users.dat file, which may or may not exist at the start of the program. A super user “admin” with password “admin” has already been hardcoded in the program to allow for the initial setup and the creation of other users. The Users.dat file contains the FirstName, LastName, Username (case insensitive), HashedPassword and a flag to indicate whether a user is a manager or not. The file is comma separated and it is formatted as follows:
Joe, Last, jlast, 58c536ed8facc2c2a293a18a48e3e120, true
Sam, sone, samsone, 2c2a293a18a48e3e12058c536ed8facc, false
Jane, Best, jbest, 293a18a48e3e12052058c536ed8facc2c, false
Note: Ensure that the 'AddUser' function does not add duplicate values, and the 'ChangePassword' function does not change password if username/password is entered incorrectly. If adding a new user or changing the password is successful, return true, or else return false.
Application Menu:
The menu of the application is dynamically loaded and displayed to the user only after the user successfully logs on. The menu items will be loaded from file “MenuList.dat”, which may or may not exist at the start of the application. If the file doesn’t exist, the application should show at least an Exit menu item as default. The file will contain all menu items details, including the name of the command that will be executed when the menu item is selected. If a menu item is marked as restricted (Boolean flag), only managers can see that item. The file contains the following comma separated fields, Description, a Boolean flag to indicate if the option is restricted to managers only, and the name of the menu command that will be executed when the option is chosen. The order and option number of a menu item may change depending on how they are listed in the file. The Exit option will always be listed last and it will not be in the file.
Below is a sample of how the MenuL.
INTRODUCTION The goal of this programming project is to entble studen.pdfameancal
INTRODUCTION The goal of this programming project is to entble students practice solving a
problem that uses the Python features of functions and lists. PROBLEM Write a program that
inputs names of personal expenses and a corresponding amount for each expense. The program
should store all input data in lists. The program should present the user with a main menu to
select options to: 1. Input personal expense names 2. Input personal expense amounts 3. Display
the expenses (names and amounts) 4. Exit the program The program should then allow the user
to select how the information will be displayed from the list of: (a) pie chart (b) bar chart (c)
table. The program should achieve this in functions described below. To ensure good
programming and modularity, none of the functions should call itself and the only function calls
should be in the main function. Functions should not be defined inside other functions. At the
bottom, there should be a statement that calls the main function. No function call to main should
happen inside the main function. Here are the descriptions of what should be in the functions: 1.
main This function will have statements to call the other functions and display the main menu.
The first function called will input names of the expenses into a list and assign the list to a list
object. The second call will pass the expense items list to a function that inputs expense amounts
into a second list that is then assigned to a list object. The third call passes the two lists to a
function that will display the contents on the two lists. Here are the Python statements:
expenseItems = InputExpenseNames () expenseAmounts = InputExpenseAmounts
(expenseItems) DisplayExpenseReport (expenseItems, expenseAmounts) 2. InputExpenseNames
First create an empty list for expense items. Next, enter a loop that iterates for as long as the user
responds that there are more item names to enter. In the loop, display a message asking the user
to input the name of an expense item, then input the name and append it to the list. Then input a
response to the question whether there are more item names.
3. InputExpenseAmounts Create an empty list for expense amounts. Enter a loop that uses the
size (you may use the len function) of the expense items list to determine number of iterations.
For each iteration, display a message that says: How much was spent on xocxxoxxocx expense
item? where x x xxxxxxx is replaced by the name from the expense_items_list corresponding to
the current iteration. The amount should then be input and appended to the expense amounts list.
Input validation should be done including using try ... except ... to ensure a number was entered.
After the loop ends, return the expense amounts list. 4. DisplayExpenseReport Parameters to this
function will be the expense items and expense amounts lists. Your program should offer the
user the menu of (a) table display (b) pie chart (c) bar chart. When the user selects option (a), the
program.
Create this program in visual studio C# The design of the form A text.pdfshyamsunder1211
Create this program in visual studio C#
The design of the form A text box for the user to enter the integer to convert This is referred to as
the 'Convert From' textbox A text box for the user to enter the base to which the number will be
converted This is referred to as the 'Base' textbox A label to display the resulting converted
number This is referred to as the 'Message' label Set this label off by having it be a pleasing
shade of a color like blue or green or yellow This label will also serve as your display for ANY
error messages the user needs to see Each Text Box or Label is to have some caption that tells
the user what the text box or label is for Place a label near the text box to inform the user what
goes into the text box A clear button to clear out all values from the text boxes and the label A
convert button to perform the conversion with a given base This is to be known as the 'Process'
button and be labeled as such A series of specific convert buttons One button is to say 'Binary'
One button is to say 'Hex' One button is to say 'Octal' One button is to say 'Base 6' One button is
to say 'Base 9' An Exit button to close the program All convert buttons should be the same size,
color, font face, font size, etc. The Exit and Clear buttons should be the same size, color, font
face, font size, etc. and those should be different from those of the convert buttons All textbox
text and label text should be of a reasonable size and easy to read font face. Operation The user
enters an integer value and then clicks one of the convert buttons. The 'Convert From' textbox
contents will be converted into the base. If a specific base button is used, such as octal, then no
entry in the 'Base' textbox is required. If the "Process" button is used, then the 'Base' textbox will
need to be utilized in the convert process. The escape key should exit the program and be tied to
the Exit Button using form properties only. Do not use any Native C# methods for converting
numbers into bases like Hex or Binary. Those already exist and are prohibited for this
assignment. Your program will need to convert to Binary, Hex, or any other legal base by using
only your code and the algorithm you write in your code. No calls to converting to number bases
that are already in C#. You are the one writing the conversion algorithm. All errors should be
handled without dropping into the IDE. There are error cases that need to handled and possibly
prevented by the use of validation Specifications The application should accept integer values as
entries like 3 or 48. These are to be input into the 'Convert From' textbox for the number to
convert Bases should be accepted from the range of 2 to 16, other base conversions should be
treated as an error with appropriate error messages to the user. This also means that negative
bases will not be acceptable either and need validation against them DO NOT Assume that the
user will enter valid data for the integer value. Entering a numb.
someone help Python programming After the loop ends, return the expe.pdfishratmanzar1986
someone help Python programming After the loop ends, return the expense items list.
INTRODUCTION The goal of this programming project is to enable students practice solving a
problem that uses the 3. InputExpenseAmounts Python features of functions and lists. Create an
empty list for expense amounts. Enter a loop that uses the size (you may use the len function) of
the expense items list to determine number of iterations. For each iteration, display a PROBLEM
message that says: How much was spent on xxoxcxxoxox expense item? Write a program that
inputs names of personal expenses and a corresponding amount for each expense. where
soxoxoxoxx is replaced by the name from the expense_items_list corresponding to the current
The program should store all input data in lists. The program should present the user with a main
menu iteration. The amount should then be input and appended to the expense amounts list. Input
to select options to: validation should be done including using try ... except ... to ensure a number
was entered. 1. Input personal expense names 2. Input personal expense amounts After the loop
ends, return the expense amounts list. 3. Display the expenses (names and amounts) 4. Exit the
program 4. DisplayExpenseReport Parameters to this function will be the expense items and
expense amounts lists. The program should then allow the user to select how the information will
be displayed from the list Your program should offer the user the menu of (a) table display (b)
pie chart (c) bar chart. When of: the user selects option (a), the program should output column
headings and then enters a loop that (a) pie chart iterates as many times as the size of the expense
items list and outputs the contents of the lists. (b) bar chart The program should output some type
of delineation that expenses are done and output the total of (c) table. the amounts in the expense
amounts list. After exiting the loop, the program should display the totals line of the report. Use
the format function and format strings. Here is an example of what the The program should
achieve this in functions described below. To ensure good programming and output may look
like. modularity, none of the functions should call itself and the only function calls should be in
the main function. Functions should not be defined inside other functions. At the bottom, there
should be a statement that calls the main function. No function call to main should happen inside
the main function. Here are the descriptions of what should be in the functions: 1. main This
function will have statements to call the other functions and display the main menu. The first
function called will input names of the expenses into a list and assign the list to a list object. The
second call will pass the expense items list to a function that inputs expense amounts into a
second list that is then assigned to a list object. The third call passes the two lists to a function
that will display the contents on the tw.
This application is used to keep track of inventory information. A c.pdfambikacomputer4301
This application is used to keep track of inventory information. A company wants to allow users
to input information about inventory items and then print a list of items in inventory that need
to be re-ordered.
There are three classes in this assignment (specific details further down) in addition to the
application main class:
The Inventory Class
o This is the class that you wrote in Assignment 1.
o You must make any necessary corrections to this class before you write this assignment.
See your Assignment 1 evaluation.
The InventoryList class
o Models an Array or List of Inventory objects that are input by the user.
The Assign2Controller class
o Has an object of the InventoryList class to store and manage the information of items in
the inventory.
o This class must contain all event handling code needed to run the application (more
details below).
All classes must be part of the same package.
1. Inventory Class
You wrote this class in Assignment 1.
You must make any corrections to this class before you finish Assignment 2.
2. InventoryList Class
The InventoryList class models a list of the inventory items entered by the user. For this
assignment it will be used to contain Inventory objects as they are input by the user. The
specs for the InventoryList class are shown in the diagram below:
Class: InventoryList
Data Members:
- invList : ArrayList
Method Members:
+ InventoryList()
+ add(inventory : Inventory) : void
+ get(index : int) : Inventory
+ length() : int
The invList member is an Array or ArrayList of Inventory objects. You can instantiate the
empty ArrayList in the same statement in which you declare it.
The add() method accepts an Inventory object to add to the invList. There is nothing
special going on here: simply add the object to invList.
The get() method accepts an integer index and returns the Inventory object at that
index, but only if the index is a valid index. If the index is invalid, the method should
simply return a null object.
The length() method returns the size of the invList (the # of elements that contain
Inventory objects).
You don't need a toString() at this time, but you could add one if you wanted to.
The UI Controls, Layout, and Styling
The Main UI
Your program has the following UI elements (specific details about functionality are outlined
later):
A label heading with the text "Inventory Tracker". The label is bound to the top of the
screen and remains centred, regardless of screen width.
Label/TextField pairs to be used for data entry by the user. There is one pair of controls
for each field input. The labels contain the String captions.
The ADD button. This button has the hot-key "A" and is used to clear the input fields so
that the user can easily type inputs for a new Inventory object.
The SAVE button. This button has the hot-key "S" and is used to save the current input
values as an Inventory object to the InventoryList. The inputs entered by the user are
validated before the Inventory object is added to th.
General DescriptionFor this assignment, you will create an appli.docxhanneloremccaffery
General Description
For this assignment, you will create an application that will break down an amount to the denominations given and tell how many of each denomination it will dispense.
The design of the form
READ THE ENTIRE SET OF INSTRUCTIONS BEFORE STARTING ON THE PROGRAMMING ASSIGNMENT.
Design the form to contain
· The form is left up to the designer but should accommodate all the requirements listed.
· The user will need to type into application the amount of money they wish to have broken down into the denominations.
· This will need an appropriate label on the form to inform the user of what is to be entered
· This user entry piece should be centered near the top of the form
· The Dispense button
· The user will click this button to start the dispensing process.
· The button should be directly below the area when the user enters the amount to be dispensed
· The clear button
· A clear button will need to be placed on the form whose purpose is to clear the entrance of the money area and all the dispensed amounts
· All check boxes will be reset to the checked position
· The exit button
· An exit button will need to be placed on the form whose purpose is to close the application
· The esc key on the keyboard needs to be tied to this button
· There will need to be labels used to display the amount of each denomination that can be dispensed.
· There will need to be text saying the denomination
· There needs to be an area where the number is displayed of the denomination
· The denominations that must be handled include: $100, $50, $20, $10, $5, $1.
· There will not be the need to dispense out coinage, just bills.
· There should be a place to display a message to the user when the last dispensing of money is made.
· A label should be used for this and be placed above the dispensed amounts area.
· Use a Group Box to surround and set the denominations area off from the rest of the form. This is a use of a group box for more a UI design than a grouping of radio buttons.
· The display of time should be in this groupbox also
· Each denomination, except the $1, needs to have a check box next to it to turn it on or off.
· If the denomination is to be dispensed, the checkbox will be checked
· If the denomination is not to be dispensed, the check box will not be checked
· All denominations should be set to be dispensed when the application starts
· The $1 is the default and can never be turned off
· All buttons should be of a uniform size and color scheme.
· The background color of the form should be a different color than all buttons, any textboxes and labels.
· You may choose to leave the background the default but it will still need to be a different color than the buttons, the labels and the textboxes on the form.
· The background colors of the textbox should be white.
· The background color of the denomination labels when the actual values go into should be pale yellow.
· There should be no buttons above the text box or below the dispensed amou ...
ObjectivesUse inheritance to create base and child classes.docxmccormicknadine86
Objectives:
Use inheritance to create base and child classes
Utilize multiple classes in the same program
Perform standard input validation
Implement a solution that uses polymorphism
Problem:
A small electronics company has hired you to write an application to manage their inventory. The company requested a role-based access control (RBAC) to increase the security around using the new application. The company also requested that the application menu must be flexible enough to allow adding new menu items to the menu with minimal changes. This includes re-ordering the menu items and making changes to the description of a menu item without having to change the code.
Security:
The company has suggested to start the application by prompting the user for a username and password to authenticate the user. There are two types of users at this company, managers and employees. If managers log on to the application, they will see all options on the menu list. If employees log on to the application, they will see a limited set of options on the menu list. User information is stored in Users.dat file, which may or may not exist at the start of the program. A super user “admin” with password “admin” has already been hardcoded in the program to allow for the initial setup and the creation of other users. The Users.dat file contains the FirstName, LastName, Username (case insensitive), HashedPassword and a flag to indicate whether a user is a manager or not. The file is comma separated and it is formatted as follows:
Joe, Last, jlast, 58c536ed8facc2c2a293a18a48e3e120, true
Sam, sone, samsone, 2c2a293a18a48e3e12058c536ed8facc, false
Jane, Best, jbest, 293a18a48e3e12052058c536ed8facc2c, false
Note: Ensure that the 'AddUser' function does not add duplicate values, and the 'ChangePassword' function does not change password if username/password is entered incorrectly. If adding a new user or changing the password is successful, return true, or else return false.
Application Menu:
The menu of the application is dynamically loaded and displayed to the user only after the user successfully logs on. The menu items will be loaded from file “MenuList.dat”, which may or may not exist at the start of the application. If the file doesn’t exist, the application should show at least an Exit menu item as default. The file will contain all menu items details, including the name of the command that will be executed when the menu item is selected. If a menu item is marked as restricted (Boolean flag), only managers can see that item. The file contains the following comma separated fields, Description, a Boolean flag to indicate if the option is restricted to managers only, and the name of the menu command that will be executed when the option is chosen. The order and option number of a menu item may change depending on how they are listed in the file. The Exit option will always be listed last and it will not be in the file.
Below is a sample of how the MenuL.
INTRODUCTION The goal of this programming project is to entble studen.pdfameancal
INTRODUCTION The goal of this programming project is to entble students practice solving a
problem that uses the Python features of functions and lists. PROBLEM Write a program that
inputs names of personal expenses and a corresponding amount for each expense. The program
should store all input data in lists. The program should present the user with a main menu to
select options to: 1. Input personal expense names 2. Input personal expense amounts 3. Display
the expenses (names and amounts) 4. Exit the program The program should then allow the user
to select how the information will be displayed from the list of: (a) pie chart (b) bar chart (c)
table. The program should achieve this in functions described below. To ensure good
programming and modularity, none of the functions should call itself and the only function calls
should be in the main function. Functions should not be defined inside other functions. At the
bottom, there should be a statement that calls the main function. No function call to main should
happen inside the main function. Here are the descriptions of what should be in the functions: 1.
main This function will have statements to call the other functions and display the main menu.
The first function called will input names of the expenses into a list and assign the list to a list
object. The second call will pass the expense items list to a function that inputs expense amounts
into a second list that is then assigned to a list object. The third call passes the two lists to a
function that will display the contents on the two lists. Here are the Python statements:
expenseItems = InputExpenseNames () expenseAmounts = InputExpenseAmounts
(expenseItems) DisplayExpenseReport (expenseItems, expenseAmounts) 2. InputExpenseNames
First create an empty list for expense items. Next, enter a loop that iterates for as long as the user
responds that there are more item names to enter. In the loop, display a message asking the user
to input the name of an expense item, then input the name and append it to the list. Then input a
response to the question whether there are more item names.
3. InputExpenseAmounts Create an empty list for expense amounts. Enter a loop that uses the
size (you may use the len function) of the expense items list to determine number of iterations.
For each iteration, display a message that says: How much was spent on xocxxoxxocx expense
item? where x x xxxxxxx is replaced by the name from the expense_items_list corresponding to
the current iteration. The amount should then be input and appended to the expense amounts list.
Input validation should be done including using try ... except ... to ensure a number was entered.
After the loop ends, return the expense amounts list. 4. DisplayExpenseReport Parameters to this
function will be the expense items and expense amounts lists. Your program should offer the
user the menu of (a) table display (b) pie chart (c) bar chart. When the user selects option (a), the
program.
Create this program in visual studio C# The design of the form A text.pdfshyamsunder1211
Create this program in visual studio C#
The design of the form A text box for the user to enter the integer to convert This is referred to as
the 'Convert From' textbox A text box for the user to enter the base to which the number will be
converted This is referred to as the 'Base' textbox A label to display the resulting converted
number This is referred to as the 'Message' label Set this label off by having it be a pleasing
shade of a color like blue or green or yellow This label will also serve as your display for ANY
error messages the user needs to see Each Text Box or Label is to have some caption that tells
the user what the text box or label is for Place a label near the text box to inform the user what
goes into the text box A clear button to clear out all values from the text boxes and the label A
convert button to perform the conversion with a given base This is to be known as the 'Process'
button and be labeled as such A series of specific convert buttons One button is to say 'Binary'
One button is to say 'Hex' One button is to say 'Octal' One button is to say 'Base 6' One button is
to say 'Base 9' An Exit button to close the program All convert buttons should be the same size,
color, font face, font size, etc. The Exit and Clear buttons should be the same size, color, font
face, font size, etc. and those should be different from those of the convert buttons All textbox
text and label text should be of a reasonable size and easy to read font face. Operation The user
enters an integer value and then clicks one of the convert buttons. The 'Convert From' textbox
contents will be converted into the base. If a specific base button is used, such as octal, then no
entry in the 'Base' textbox is required. If the "Process" button is used, then the 'Base' textbox will
need to be utilized in the convert process. The escape key should exit the program and be tied to
the Exit Button using form properties only. Do not use any Native C# methods for converting
numbers into bases like Hex or Binary. Those already exist and are prohibited for this
assignment. Your program will need to convert to Binary, Hex, or any other legal base by using
only your code and the algorithm you write in your code. No calls to converting to number bases
that are already in C#. You are the one writing the conversion algorithm. All errors should be
handled without dropping into the IDE. There are error cases that need to handled and possibly
prevented by the use of validation Specifications The application should accept integer values as
entries like 3 or 48. These are to be input into the 'Convert From' textbox for the number to
convert Bases should be accepted from the range of 2 to 16, other base conversions should be
treated as an error with appropriate error messages to the user. This also means that negative
bases will not be acceptable either and need validation against them DO NOT Assume that the
user will enter valid data for the integer value. Entering a numb.
someone help Python programming After the loop ends, return the expe.pdfishratmanzar1986
someone help Python programming After the loop ends, return the expense items list.
INTRODUCTION The goal of this programming project is to enable students practice solving a
problem that uses the 3. InputExpenseAmounts Python features of functions and lists. Create an
empty list for expense amounts. Enter a loop that uses the size (you may use the len function) of
the expense items list to determine number of iterations. For each iteration, display a PROBLEM
message that says: How much was spent on xxoxcxxoxox expense item? Write a program that
inputs names of personal expenses and a corresponding amount for each expense. where
soxoxoxoxx is replaced by the name from the expense_items_list corresponding to the current
The program should store all input data in lists. The program should present the user with a main
menu iteration. The amount should then be input and appended to the expense amounts list. Input
to select options to: validation should be done including using try ... except ... to ensure a number
was entered. 1. Input personal expense names 2. Input personal expense amounts After the loop
ends, return the expense amounts list. 3. Display the expenses (names and amounts) 4. Exit the
program 4. DisplayExpenseReport Parameters to this function will be the expense items and
expense amounts lists. The program should then allow the user to select how the information will
be displayed from the list Your program should offer the user the menu of (a) table display (b)
pie chart (c) bar chart. When of: the user selects option (a), the program should output column
headings and then enters a loop that (a) pie chart iterates as many times as the size of the expense
items list and outputs the contents of the lists. (b) bar chart The program should output some type
of delineation that expenses are done and output the total of (c) table. the amounts in the expense
amounts list. After exiting the loop, the program should display the totals line of the report. Use
the format function and format strings. Here is an example of what the The program should
achieve this in functions described below. To ensure good programming and output may look
like. modularity, none of the functions should call itself and the only function calls should be in
the main function. Functions should not be defined inside other functions. At the bottom, there
should be a statement that calls the main function. No function call to main should happen inside
the main function. Here are the descriptions of what should be in the functions: 1. main This
function will have statements to call the other functions and display the main menu. The first
function called will input names of the expenses into a list and assign the list to a list object. The
second call will pass the expense items list to a function that inputs expense amounts into a
second list that is then assigned to a list object. The third call passes the two lists to a function
that will display the contents on the tw.
This application is used to keep track of inventory information. A c.pdfambikacomputer4301
This application is used to keep track of inventory information. A company wants to allow users
to input information about inventory items and then print a list of items in inventory that need
to be re-ordered.
There are three classes in this assignment (specific details further down) in addition to the
application main class:
The Inventory Class
o This is the class that you wrote in Assignment 1.
o You must make any necessary corrections to this class before you write this assignment.
See your Assignment 1 evaluation.
The InventoryList class
o Models an Array or List of Inventory objects that are input by the user.
The Assign2Controller class
o Has an object of the InventoryList class to store and manage the information of items in
the inventory.
o This class must contain all event handling code needed to run the application (more
details below).
All classes must be part of the same package.
1. Inventory Class
You wrote this class in Assignment 1.
You must make any corrections to this class before you finish Assignment 2.
2. InventoryList Class
The InventoryList class models a list of the inventory items entered by the user. For this
assignment it will be used to contain Inventory objects as they are input by the user. The
specs for the InventoryList class are shown in the diagram below:
Class: InventoryList
Data Members:
- invList : ArrayList
Method Members:
+ InventoryList()
+ add(inventory : Inventory) : void
+ get(index : int) : Inventory
+ length() : int
The invList member is an Array or ArrayList of Inventory objects. You can instantiate the
empty ArrayList in the same statement in which you declare it.
The add() method accepts an Inventory object to add to the invList. There is nothing
special going on here: simply add the object to invList.
The get() method accepts an integer index and returns the Inventory object at that
index, but only if the index is a valid index. If the index is invalid, the method should
simply return a null object.
The length() method returns the size of the invList (the # of elements that contain
Inventory objects).
You don't need a toString() at this time, but you could add one if you wanted to.
The UI Controls, Layout, and Styling
The Main UI
Your program has the following UI elements (specific details about functionality are outlined
later):
A label heading with the text "Inventory Tracker". The label is bound to the top of the
screen and remains centred, regardless of screen width.
Label/TextField pairs to be used for data entry by the user. There is one pair of controls
for each field input. The labels contain the String captions.
The ADD button. This button has the hot-key "A" and is used to clear the input fields so
that the user can easily type inputs for a new Inventory object.
The SAVE button. This button has the hot-key "S" and is used to save the current input
values as an Inventory object to the InventoryList. The inputs entered by the user are
validated before the Inventory object is added to th.
Automated Restaurant System (Command Design Pattern)PROBLEMY.docxrock73
Automated Restaurant System (Command Design Pattern)
PROBLEM
You are to implement an automated restaurant system utilizing the Command design pattern, minimally consisting of the following three commands. You will then extend this basic system in any way that you choose to demonstrate the use of additional design patterns.
· Display menu
· Submit Order
· Display tab
SCENARIO (of the basic system)
In the basic system, we assume that all orders are from the same table (i.e., there is only one table in the restaurant). Therefore, a tab is generated by simply totaling all of the ordered items, and tabs are not stored.
The menu of the basic system will consist of just main entrees. It will not include appetizers, desserts, drinks, etc. The information for each entrée will just be the name of the dish ("Roast Beef", "Chicken Korma", "Jiaozi", etc.) and the price.
APPROACH
You should implement the Command design pattern. This includes the following:
· Text-based user interface
· SystemInterface class
· Invoker class
classes of the Command design pattern
· Command interface
· Command classes (one for each command)
· Aggregator class
· Menu class
· MenuItem Class
· Orders class
· OrderItem Class
· Tab class
The user interface should just be a text-based numbered list of options, implemented in the main method. (It can be a GUI if you desire and are familiar with the development of GUIs, but no extra points will be given for this).
The SystemInterface can be a class of all static methods – one for each of the three commands of the user interface, if it does not have any state in your extension of the program.
The Aggregator class maintains references to the Menu object and the Orders object. It should provide a getter method for retrieving the Menu and Orders objects (no setters are needed). The Menu and Orders classes store a collection of MenuItem and OrderItem objects, respectively. A MenuItem object will store the menu item #, the description, and its cost. An OrderItem object will store an order by its item number only (not its description).
The Invoker class has methods cooresponding to the methods of the system interface. Each method simply creates a Command object of the appropriate Command class (constructed with a reference to the Aggregator object), calls its execute method, and returns the results (as a single object) back to the system interface. (Execute methods should not be passed any parameter values - any values needed are passed to the constructor.)
A tab will be constructed from the Tab class containing all of the ordered items, returned as an array of strings for the user interface to display. Note that a tab needs information from both the Menu and the Orders objects. (The Orders object indicates what menu items were ordered, and the Menu class has the description of each item to include in the Tab.)
EXTENSION OF THE BASIC SYSTEM
You are to extend the design and capabilitities of the program in any ways that you wish ...
CS 2336 PROJECT 3 – Linked Inventory Management Project Due: 11/04 by 11:59 PM KEY ITEMS: Key items are marked in red. Failure to include or complete key items will incur additional deductions as noted beside the item. Submission: • The file containing main must be named Main.java. (-5 points) • The project files must be in packages that start with LinkedInventoryManagement.* (-5 points) • All project deliverables are to be submitted in eLearning until further notice o Zip the contents of the src directory into a single zipped file o Make sure the zipped file has a .zip extension (not .tar, .rar, .7z, etc.) (-5 points) o Add your project’s presentation link in the comments section in eLearning • Programs must compile and run with Java SE 13. • Each student is responsible for developing unit test cases to ensure their program works as expected. • Type your name and netID in the comments at the top of all files submitted. (-5 points) Objectives: • Create a modular code solution with multi-packages • Use the Singleton pattern to create and manage the Scanner object • Create and manipulate a multi-directional LinkedList in Java • Use Java Generics to create generic classes and methods • Implement and use the Comparable interface Problem: A small electronics company has hired you to write an application to manage their inventory. The company requested a role-based access control (RBAC) to increase the security around using the new application. The company also requested that the application menu must be flexible enough to allow adding new menu items to the menu with minimal changes. This includes re-ordering the menu items and making changes to the description of a menu item without having to change the code. Security: The company has suggested to start the application by asking the user for a username and password to ensure that the user is authorized to access the application. There are two types of users at this company, managers and employees. If managers log on to the application, they will see all options on the menu list. If employees log on to the application, they will see a limited set of options on the menu list. User information is stored in Users.dat file, which may or may not exist at the start of the program. A super user “admin” with password “admin” has already been hardcoded in the program to allow for the initial setup and the creation of other users. The Users.dat file contains the FirstName, LastName, Username (case insensitive), HashedPassword and a flag to indicate whether a user is a manager or not. The file is comma separated and it is formatted as follows: Joe, Last, jlast, 58c536ed8facc2c2a293a18a48e3e120, true Sam,, sone, 2c2a293a18a48e3e12058c536ed8facc, false Jane, Best, jbest, 293a18a48e3e12052058c536ed8facc2c, false Application Menu: The menu of the application is dynamically loaded and displayed to the user only after the user successfully logs on. The menu items will be loaded from file “MenuList.dat”, which may o.
We would like to introduce sampling software which costs just 10 USD. Sampling is statistical software designed to calculate sampling computation easily such as stratified sampling, cluster sampling, sampling with varying probability and etc. You can download free 7 times running trial license here:
http://www.sampling-software.com
I really need help with this Assignment Please in C programming not .pdfpasqualealvarez467
I really need help with this Assignment Please in C programming not C++ or C#, just C. Thank
you!
Hello , Choose please one of the following program types:
The assignment is to write a menu driven program that manages a small business inventory,
collection or list. You pick the topic. The focus of your program is up to you.
The Menu commands must include:
P....Display all records (on the screen/monitor) S....Create a current report (save it to a file)
A....Add a new entry
D....Delete an item from the list (inventory) C....Clear all records
Q...Quit
You must add (1) additional menu option that you choose. It may be a menu option that allows
the inventory to be modified. i.e. add inventory quantities, change price/cost, change dates, etc.
You will use structs and an array to organize the data in the program. Your struct must contain
at least the following kinds of information: o Minimum of 2 strings (character arrays)
Suggestions include: item name, manufacturer, etc o Minimum of 2 integers – 1 must be product
id
Product id, qty in stock o Minimum of 2 double values
Suggestions include: cost, price, average inventory:
When you add new item the program will ask the user for each of the fields on a separate line.
When you delete an item from inventory the program will ask you for the integer id of the entry
to be deleted, locate the entry in the array and remove all of the data for that entry. – The list
does not need to be sorted – to remove an entry, you may move the last item in the list to the
location of the deleted entry
When you display the records on the screen, all of the information stored for each entry will be
labeled and displayed.
Creating a current inventory report copies the current entries in the array to an output file. This
must include labeling all of the information so that it is clear what information is being provided.
Clearing the records deletes all of the information in the array.
When you add new item the program will ask the user for each of the fields on a separate line.
When you delete a question from the list, the program will ask you for the question id of the
entry to be deleted, locate the entry in the array and remove all of the data for that entry. – The
list does not need to be sorted – to remove an entry, you may move the last item in the list to the
location of the deleted entry
When you play the game, you must display the question, the possible answers and the point
value. If the player answers correctly the point value will be added to the game total. If answered
incorrectly, the correct answer will be displayed. Creating a current report copies the current
content of the question array to an output file. This must include labeling all of the information
so that it is clear what information is being provided.
Clearing all questions deletes all of the information in the array.
Instructions:
You should use at least 10 user-defined functions (plus main) to appropriately break the problem
up into smaller piece.
How to create sales & e commerce pricelist promotions in odooPlanetOdoo
In Odoo 13 Point of Sale (POS) is technically a system in a retail store from which you handle the sale of physical goods. Odoo Point of Sale can be used online or offline on Android tablets, iPads or laptops.
For sales data analysis, by creating data breakdowns and filters (example by region, product, salesperson, etc). Objective of Easy Pivot is to provide alternative, easier to understand Pivot Table.
CostingNet specific user manual, step by step using illustration of the software Cost sheet, quotation modules and comparison reports. find out cheapest fabrics, trims and supplier. most generous customer.
Lab view pdf of front panel gives information about how to design design the front panel. its completely designed by National instruments and good for beginners.
Assignment6/~$signment6.docx
Assignment6/Assignment6.docx
Assignment #6
Important: This is an individual assignment. Please do not collaborate.
No late assignment will be accepted.
Make sure that you write every line of your code. Using code written by someone else will be considered a violation of the academic integrity and will result in a report to the Dean's office.
Requirements to get full credits in Documentation
1. The assignment number, your name, student ID, lecture number, and a class/file description need to be included at the top of each file/class.
2. A description of each method is also needed.
3. Some additional comments inside of methods to explain code that are hard to follow should be written.
You can look at the Java programs in the text book to see how comments are added to programs.
Minimal Submitted Files
You are required, but not limited, to turn in the following source files:
Assignment6.java (The Assignment6 class extends JApplet)
Project.java
Budget.javaCreatePanel.java - to be completed (it extends JPanel and contains ButtonListener nested class)
ProjectSpendingPanel.java - to be completed (it extends JPanel and contains ButtonListener nested class)
You can download the above files and use them to complete this assignment. You might need to add more methods than the specified ones.
Skills to be Applied:
Swing/AWT, Vector (very similar to ArrayList class)
Classes may be needed:
JApplet, JButton, JTextField, JTextArea, JLabel, Container, JPanel, JTabbedPane, JList, and ActionListener. You may use other classes.
How to run an applet program:
-Create an html file, say "hw6.html" with the following content:
--------------------------------------------------------
<html>
<head>
<title>Assignment 6 Applet</title>
</head>
<body>
<applet code="Assignment6.class" width=900 height=350>
</applet>
</body>
</html>
------------------------------------------------------
-Compile your java program as usual.
-In a console, type:
appletviewer hw6.html
(instead of typing "java Assignment6").
-In the TextPad, choose Tool->Run Java Applet or
press Ctrl-3 (press control key and 3 at the same time).
-In the jGrasp,
choose Run->Run as Applet.
To test to see if your machine is set to view an applet, please go to the following site:
Click this page
Program Description
Suggested Class Diagram:
Write a Java program that constructs an Applet. Your program should provide labels and textfields to a user to enter information regarding projects.
The Applet (JApplet) of your program should contain two tabs. The first tab is labeled "Project creation" and the second tab is labeled "Project spending".
(The size of the applet here is approximately 900 X 350).
The section under the first tab should be divided into two parts:
The left part contains labels, textfields, and a button for a user to enter some project information. The right part shows "No project" at the beginning (it is done usingJTextArea).
A user can enter some project ...
WinEst As 1. Es2. Tassignment stInfo (Esti.docxalanfhall8953
WinEst As
1. Es
2. Ta
ssignment
stInfo (Estim
a. Name
b. Due:
c. Estima
d. Start
e. Estima
f. Rate
i.
ii.
ake Off (Ite
mate Inform
e: Driveway
1 month fro
ate Type: B
Date: Toda
ate Status:
Tables:
Sample L
Sample E
ems)
P
C
mation)
y Proposal
om today
udgetary
ay
Submitted
abor Rates
quipment R
Page 1 of 2
COMPU
Rates
TERS FO
Engi
OR CONS
TEC
neering Tec
Un
Colleg
STRUCTI
CHNOLO
hnology Pro
niversity of To
ge of Engine
ON
OGY
gram
oledo
eering
Page 2 of 2
3. Adding Markups
a. Add Net Markup
i. Name: Overhead and Profit
ii. Type: 15%
b. Add Sales Tax
i. Name: Sales Tax
ii. Type: 6.5%
iii. Restrict this Tax Markup to: Material
4. Print Report
a. Report 1:
i. Sheet View, set Filter to “’95 Div Details”
ii. File -> Print Preview -> Style
1. Layout: Landscape
2. Header/Footer -> Custom Header
a. Left Text (Use Field Tags…)
i. Est Info – Project Name
ii. Est Info – Start Date
iii. Est Info – Due Date
b. Center Text (Use Field Tags…)
i. Est Info – Type
ii. Est Info – Status
c. Right Text
i. Name
ii. Professor Name
iii. Class
iv. Date
b. Report 2:
i. Totals View
ii. File -> Print Preview
1. Ensure the Layout and Headers match Report 1
5. DUE: Monday, April 7, 2014 by 5:00 pm
1
Getting Started with WinEst
Sample Exercise v10.1
Professional Cost Estimating and Budgeting
Things you need to know about WinEst
Pull Down Menus & Tool Bars
There are different ways to view your toolbar in WinEst. Here are 2 examples. If you prefer large toolbar buttons,
select ‘Preferences’ from the ‘Tools’ menu option. Now select the Toolbars option from the displayed list of
preferences. To the right, under ‘Style’, change the Images to ‘Large’. Click OK.
Toolbar - Small Images with Short Text
Toolbar - Large Images with Text
WinEst has pull down menus for each of the following - File, Edit, View, Filters, Tables, Tools, Database, Reports,
Custom, Window and Help. When the mouse is clicked on one of these menu items, a list drops down and the
available commands display for that menu. Scan the menus to see the features available in the WinEst program.
Help
Help is always available. You can select the Contents command on the Help menu or press the F1 key to view
help.
2
Navigating in WinEst
WinEst has three main views. These enable you to follow a structured method for building and reviewing your
estimates. You can move from view to view at any time by clicking one of the corresponding toolbar buttons
(‘Takeoff’, ‘Sheet’ and ‘Totals’) or by making selections from the ‘View’ Menu.
Takeoff View
This view is for adding items to your estimate from the price book Database. From here you can:
• Lookup items in the database
• Perform takeoff calculations
• Assign Work Breakdown Structures (WBS) to items
• Analyze the Item takeoff audit trail
• Enter unique, “one time” items
• Add notes to it.
Creating accessible modals and autocompletesRuss Weakley
In this two-part presentation, Russ will guide us on a deep dive into how to create accessible modals and accessible autocomplete search functions. Along the way, we will look at the problem for different types of users as well as explore how ARIA can be used to improve these experiences. There will be blood, sweat and tears (Russ' words!) but hopefully a happy outcome for all.
Presentation for the Sydney Web Accessibility & Inclusive Design - 30 August 2019
Automated Restaurant System (Command Design Pattern)PROBLEMY.docxrock73
Automated Restaurant System (Command Design Pattern)
PROBLEM
You are to implement an automated restaurant system utilizing the Command design pattern, minimally consisting of the following three commands. You will then extend this basic system in any way that you choose to demonstrate the use of additional design patterns.
· Display menu
· Submit Order
· Display tab
SCENARIO (of the basic system)
In the basic system, we assume that all orders are from the same table (i.e., there is only one table in the restaurant). Therefore, a tab is generated by simply totaling all of the ordered items, and tabs are not stored.
The menu of the basic system will consist of just main entrees. It will not include appetizers, desserts, drinks, etc. The information for each entrée will just be the name of the dish ("Roast Beef", "Chicken Korma", "Jiaozi", etc.) and the price.
APPROACH
You should implement the Command design pattern. This includes the following:
· Text-based user interface
· SystemInterface class
· Invoker class
classes of the Command design pattern
· Command interface
· Command classes (one for each command)
· Aggregator class
· Menu class
· MenuItem Class
· Orders class
· OrderItem Class
· Tab class
The user interface should just be a text-based numbered list of options, implemented in the main method. (It can be a GUI if you desire and are familiar with the development of GUIs, but no extra points will be given for this).
The SystemInterface can be a class of all static methods – one for each of the three commands of the user interface, if it does not have any state in your extension of the program.
The Aggregator class maintains references to the Menu object and the Orders object. It should provide a getter method for retrieving the Menu and Orders objects (no setters are needed). The Menu and Orders classes store a collection of MenuItem and OrderItem objects, respectively. A MenuItem object will store the menu item #, the description, and its cost. An OrderItem object will store an order by its item number only (not its description).
The Invoker class has methods cooresponding to the methods of the system interface. Each method simply creates a Command object of the appropriate Command class (constructed with a reference to the Aggregator object), calls its execute method, and returns the results (as a single object) back to the system interface. (Execute methods should not be passed any parameter values - any values needed are passed to the constructor.)
A tab will be constructed from the Tab class containing all of the ordered items, returned as an array of strings for the user interface to display. Note that a tab needs information from both the Menu and the Orders objects. (The Orders object indicates what menu items were ordered, and the Menu class has the description of each item to include in the Tab.)
EXTENSION OF THE BASIC SYSTEM
You are to extend the design and capabilitities of the program in any ways that you wish ...
CS 2336 PROJECT 3 – Linked Inventory Management Project Due: 11/04 by 11:59 PM KEY ITEMS: Key items are marked in red. Failure to include or complete key items will incur additional deductions as noted beside the item. Submission: • The file containing main must be named Main.java. (-5 points) • The project files must be in packages that start with LinkedInventoryManagement.* (-5 points) • All project deliverables are to be submitted in eLearning until further notice o Zip the contents of the src directory into a single zipped file o Make sure the zipped file has a .zip extension (not .tar, .rar, .7z, etc.) (-5 points) o Add your project’s presentation link in the comments section in eLearning • Programs must compile and run with Java SE 13. • Each student is responsible for developing unit test cases to ensure their program works as expected. • Type your name and netID in the comments at the top of all files submitted. (-5 points) Objectives: • Create a modular code solution with multi-packages • Use the Singleton pattern to create and manage the Scanner object • Create and manipulate a multi-directional LinkedList in Java • Use Java Generics to create generic classes and methods • Implement and use the Comparable interface Problem: A small electronics company has hired you to write an application to manage their inventory. The company requested a role-based access control (RBAC) to increase the security around using the new application. The company also requested that the application menu must be flexible enough to allow adding new menu items to the menu with minimal changes. This includes re-ordering the menu items and making changes to the description of a menu item without having to change the code. Security: The company has suggested to start the application by asking the user for a username and password to ensure that the user is authorized to access the application. There are two types of users at this company, managers and employees. If managers log on to the application, they will see all options on the menu list. If employees log on to the application, they will see a limited set of options on the menu list. User information is stored in Users.dat file, which may or may not exist at the start of the program. A super user “admin” with password “admin” has already been hardcoded in the program to allow for the initial setup and the creation of other users. The Users.dat file contains the FirstName, LastName, Username (case insensitive), HashedPassword and a flag to indicate whether a user is a manager or not. The file is comma separated and it is formatted as follows: Joe, Last, jlast, 58c536ed8facc2c2a293a18a48e3e120, true Sam,, sone, 2c2a293a18a48e3e12058c536ed8facc, false Jane, Best, jbest, 293a18a48e3e12052058c536ed8facc2c, false Application Menu: The menu of the application is dynamically loaded and displayed to the user only after the user successfully logs on. The menu items will be loaded from file “MenuList.dat”, which may o.
We would like to introduce sampling software which costs just 10 USD. Sampling is statistical software designed to calculate sampling computation easily such as stratified sampling, cluster sampling, sampling with varying probability and etc. You can download free 7 times running trial license here:
http://www.sampling-software.com
I really need help with this Assignment Please in C programming not .pdfpasqualealvarez467
I really need help with this Assignment Please in C programming not C++ or C#, just C. Thank
you!
Hello , Choose please one of the following program types:
The assignment is to write a menu driven program that manages a small business inventory,
collection or list. You pick the topic. The focus of your program is up to you.
The Menu commands must include:
P....Display all records (on the screen/monitor) S....Create a current report (save it to a file)
A....Add a new entry
D....Delete an item from the list (inventory) C....Clear all records
Q...Quit
You must add (1) additional menu option that you choose. It may be a menu option that allows
the inventory to be modified. i.e. add inventory quantities, change price/cost, change dates, etc.
You will use structs and an array to organize the data in the program. Your struct must contain
at least the following kinds of information: o Minimum of 2 strings (character arrays)
Suggestions include: item name, manufacturer, etc o Minimum of 2 integers – 1 must be product
id
Product id, qty in stock o Minimum of 2 double values
Suggestions include: cost, price, average inventory:
When you add new item the program will ask the user for each of the fields on a separate line.
When you delete an item from inventory the program will ask you for the integer id of the entry
to be deleted, locate the entry in the array and remove all of the data for that entry. – The list
does not need to be sorted – to remove an entry, you may move the last item in the list to the
location of the deleted entry
When you display the records on the screen, all of the information stored for each entry will be
labeled and displayed.
Creating a current inventory report copies the current entries in the array to an output file. This
must include labeling all of the information so that it is clear what information is being provided.
Clearing the records deletes all of the information in the array.
When you add new item the program will ask the user for each of the fields on a separate line.
When you delete a question from the list, the program will ask you for the question id of the
entry to be deleted, locate the entry in the array and remove all of the data for that entry. – The
list does not need to be sorted – to remove an entry, you may move the last item in the list to the
location of the deleted entry
When you play the game, you must display the question, the possible answers and the point
value. If the player answers correctly the point value will be added to the game total. If answered
incorrectly, the correct answer will be displayed. Creating a current report copies the current
content of the question array to an output file. This must include labeling all of the information
so that it is clear what information is being provided.
Clearing all questions deletes all of the information in the array.
Instructions:
You should use at least 10 user-defined functions (plus main) to appropriately break the problem
up into smaller piece.
How to create sales & e commerce pricelist promotions in odooPlanetOdoo
In Odoo 13 Point of Sale (POS) is technically a system in a retail store from which you handle the sale of physical goods. Odoo Point of Sale can be used online or offline on Android tablets, iPads or laptops.
For sales data analysis, by creating data breakdowns and filters (example by region, product, salesperson, etc). Objective of Easy Pivot is to provide alternative, easier to understand Pivot Table.
CostingNet specific user manual, step by step using illustration of the software Cost sheet, quotation modules and comparison reports. find out cheapest fabrics, trims and supplier. most generous customer.
Lab view pdf of front panel gives information about how to design design the front panel. its completely designed by National instruments and good for beginners.
Assignment6/~$signment6.docx
Assignment6/Assignment6.docx
Assignment #6
Important: This is an individual assignment. Please do not collaborate.
No late assignment will be accepted.
Make sure that you write every line of your code. Using code written by someone else will be considered a violation of the academic integrity and will result in a report to the Dean's office.
Requirements to get full credits in Documentation
1. The assignment number, your name, student ID, lecture number, and a class/file description need to be included at the top of each file/class.
2. A description of each method is also needed.
3. Some additional comments inside of methods to explain code that are hard to follow should be written.
You can look at the Java programs in the text book to see how comments are added to programs.
Minimal Submitted Files
You are required, but not limited, to turn in the following source files:
Assignment6.java (The Assignment6 class extends JApplet)
Project.java
Budget.javaCreatePanel.java - to be completed (it extends JPanel and contains ButtonListener nested class)
ProjectSpendingPanel.java - to be completed (it extends JPanel and contains ButtonListener nested class)
You can download the above files and use them to complete this assignment. You might need to add more methods than the specified ones.
Skills to be Applied:
Swing/AWT, Vector (very similar to ArrayList class)
Classes may be needed:
JApplet, JButton, JTextField, JTextArea, JLabel, Container, JPanel, JTabbedPane, JList, and ActionListener. You may use other classes.
How to run an applet program:
-Create an html file, say "hw6.html" with the following content:
--------------------------------------------------------
<html>
<head>
<title>Assignment 6 Applet</title>
</head>
<body>
<applet code="Assignment6.class" width=900 height=350>
</applet>
</body>
</html>
------------------------------------------------------
-Compile your java program as usual.
-In a console, type:
appletviewer hw6.html
(instead of typing "java Assignment6").
-In the TextPad, choose Tool->Run Java Applet or
press Ctrl-3 (press control key and 3 at the same time).
-In the jGrasp,
choose Run->Run as Applet.
To test to see if your machine is set to view an applet, please go to the following site:
Click this page
Program Description
Suggested Class Diagram:
Write a Java program that constructs an Applet. Your program should provide labels and textfields to a user to enter information regarding projects.
The Applet (JApplet) of your program should contain two tabs. The first tab is labeled "Project creation" and the second tab is labeled "Project spending".
(The size of the applet here is approximately 900 X 350).
The section under the first tab should be divided into two parts:
The left part contains labels, textfields, and a button for a user to enter some project information. The right part shows "No project" at the beginning (it is done usingJTextArea).
A user can enter some project ...
WinEst As 1. Es2. Tassignment stInfo (Esti.docxalanfhall8953
WinEst As
1. Es
2. Ta
ssignment
stInfo (Estim
a. Name
b. Due:
c. Estima
d. Start
e. Estima
f. Rate
i.
ii.
ake Off (Ite
mate Inform
e: Driveway
1 month fro
ate Type: B
Date: Toda
ate Status:
Tables:
Sample L
Sample E
ems)
P
C
mation)
y Proposal
om today
udgetary
ay
Submitted
abor Rates
quipment R
Page 1 of 2
COMPU
Rates
TERS FO
Engi
OR CONS
TEC
neering Tec
Un
Colleg
STRUCTI
CHNOLO
hnology Pro
niversity of To
ge of Engine
ON
OGY
gram
oledo
eering
Page 2 of 2
3. Adding Markups
a. Add Net Markup
i. Name: Overhead and Profit
ii. Type: 15%
b. Add Sales Tax
i. Name: Sales Tax
ii. Type: 6.5%
iii. Restrict this Tax Markup to: Material
4. Print Report
a. Report 1:
i. Sheet View, set Filter to “’95 Div Details”
ii. File -> Print Preview -> Style
1. Layout: Landscape
2. Header/Footer -> Custom Header
a. Left Text (Use Field Tags…)
i. Est Info – Project Name
ii. Est Info – Start Date
iii. Est Info – Due Date
b. Center Text (Use Field Tags…)
i. Est Info – Type
ii. Est Info – Status
c. Right Text
i. Name
ii. Professor Name
iii. Class
iv. Date
b. Report 2:
i. Totals View
ii. File -> Print Preview
1. Ensure the Layout and Headers match Report 1
5. DUE: Monday, April 7, 2014 by 5:00 pm
1
Getting Started with WinEst
Sample Exercise v10.1
Professional Cost Estimating and Budgeting
Things you need to know about WinEst
Pull Down Menus & Tool Bars
There are different ways to view your toolbar in WinEst. Here are 2 examples. If you prefer large toolbar buttons,
select ‘Preferences’ from the ‘Tools’ menu option. Now select the Toolbars option from the displayed list of
preferences. To the right, under ‘Style’, change the Images to ‘Large’. Click OK.
Toolbar - Small Images with Short Text
Toolbar - Large Images with Text
WinEst has pull down menus for each of the following - File, Edit, View, Filters, Tables, Tools, Database, Reports,
Custom, Window and Help. When the mouse is clicked on one of these menu items, a list drops down and the
available commands display for that menu. Scan the menus to see the features available in the WinEst program.
Help
Help is always available. You can select the Contents command on the Help menu or press the F1 key to view
help.
2
Navigating in WinEst
WinEst has three main views. These enable you to follow a structured method for building and reviewing your
estimates. You can move from view to view at any time by clicking one of the corresponding toolbar buttons
(‘Takeoff’, ‘Sheet’ and ‘Totals’) or by making selections from the ‘View’ Menu.
Takeoff View
This view is for adding items to your estimate from the price book Database. From here you can:
• Lookup items in the database
• Perform takeoff calculations
• Assign Work Breakdown Structures (WBS) to items
• Analyze the Item takeoff audit trail
• Enter unique, “one time” items
• Add notes to it.
Creating accessible modals and autocompletesRuss Weakley
In this two-part presentation, Russ will guide us on a deep dive into how to create accessible modals and accessible autocomplete search functions. Along the way, we will look at the problem for different types of users as well as explore how ARIA can be used to improve these experiences. There will be blood, sweat and tears (Russ' words!) but hopefully a happy outcome for all.
Presentation for the Sydney Web Accessibility & Inclusive Design - 30 August 2019
2024.06.01 Introducing a competency framework for languag learning materials ...Sandy Millin
http://sandymillin.wordpress.com/iateflwebinar2024
Published classroom materials form the basis of syllabuses, drive teacher professional development, and have a potentially huge influence on learners, teachers and education systems. All teachers also create their own materials, whether a few sentences on a blackboard, a highly-structured fully-realised online course, or anything in between. Despite this, the knowledge and skills needed to create effective language learning materials are rarely part of teacher training, and are mostly learnt by trial and error.
Knowledge and skills frameworks, generally called competency frameworks, for ELT teachers, trainers and managers have existed for a few years now. However, until I created one for my MA dissertation, there wasn’t one drawing together what we need to know and do to be able to effectively produce language learning materials.
This webinar will introduce you to my framework, highlighting the key competencies I identified from my research. It will also show how anybody involved in language teaching (any language, not just English!), teacher training, managing schools or developing language learning materials can benefit from using the framework.
Read| The latest issue of The Challenger is here! We are thrilled to announce that our school paper has qualified for the NATIONAL SCHOOLS PRESS CONFERENCE (NSPC) 2024. Thank you for your unwavering support and trust. Dive into the stories that made us stand out!
Unit 8 - Information and Communication Technology (Paper I).pdfThiyagu K
This slides describes the basic concepts of ICT, basics of Email, Emerging Technology and Digital Initiatives in Education. This presentations aligns with the UGC Paper I syllabus.
Model Attribute Check Company Auto PropertyCeline George
In Odoo, the multi-company feature allows you to manage multiple companies within a single Odoo database instance. Each company can have its own configurations while still sharing common resources such as products, customers, and suppliers.
The Roman Empire A Historical Colossus.pdfkaushalkr1407
The Roman Empire, a vast and enduring power, stands as one of history's most remarkable civilizations, leaving an indelible imprint on the world. It emerged from the Roman Republic, transitioning into an imperial powerhouse under the leadership of Augustus Caesar in 27 BCE. This transformation marked the beginning of an era defined by unprecedented territorial expansion, architectural marvels, and profound cultural influence.
The empire's roots lie in the city of Rome, founded, according to legend, by Romulus in 753 BCE. Over centuries, Rome evolved from a small settlement to a formidable republic, characterized by a complex political system with elected officials and checks on power. However, internal strife, class conflicts, and military ambitions paved the way for the end of the Republic. Julius Caesar’s dictatorship and subsequent assassination in 44 BCE created a power vacuum, leading to a civil war. Octavian, later Augustus, emerged victorious, heralding the Roman Empire’s birth.
Under Augustus, the empire experienced the Pax Romana, a 200-year period of relative peace and stability. Augustus reformed the military, established efficient administrative systems, and initiated grand construction projects. The empire's borders expanded, encompassing territories from Britain to Egypt and from Spain to the Euphrates. Roman legions, renowned for their discipline and engineering prowess, secured and maintained these vast territories, building roads, fortifications, and cities that facilitated control and integration.
The Roman Empire’s society was hierarchical, with a rigid class system. At the top were the patricians, wealthy elites who held significant political power. Below them were the plebeians, free citizens with limited political influence, and the vast numbers of slaves who formed the backbone of the economy. The family unit was central, governed by the paterfamilias, the male head who held absolute authority.
Culturally, the Romans were eclectic, absorbing and adapting elements from the civilizations they encountered, particularly the Greeks. Roman art, literature, and philosophy reflected this synthesis, creating a rich cultural tapestry. Latin, the Roman language, became the lingua franca of the Western world, influencing numerous modern languages.
Roman architecture and engineering achievements were monumental. They perfected the arch, vault, and dome, constructing enduring structures like the Colosseum, Pantheon, and aqueducts. These engineering marvels not only showcased Roman ingenuity but also served practical purposes, from public entertainment to water supply.
Francesca Gottschalk - How can education support child empowerment.pptxEduSkills OECD
Francesca Gottschalk from the OECD’s Centre for Educational Research and Innovation presents at the Ask an Expert Webinar: How can education support child empowerment?
Macroeconomics- Movie Location
This will be used as part of your Personal Professional Portfolio once graded.
Objective:
Prepare a presentation or a paper using research, basic comparative analysis, data organization and application of economic information. You will make an informed assessment of an economic climate outside of the United States to accomplish an entertainment industry objective.
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...Levi Shapiro
Letter from the Congress of the United States regarding Anti-Semitism sent June 3rd to MIT President Sally Kornbluth, MIT Corp Chair, Mark Gorenberg
Dear Dr. Kornbluth and Mr. Gorenberg,
The US House of Representatives is deeply concerned by ongoing and pervasive acts of antisemitic
harassment and intimidation at the Massachusetts Institute of Technology (MIT). Failing to act decisively to ensure a safe learning environment for all students would be a grave dereliction of your responsibilities as President of MIT and Chair of the MIT Corporation.
This Congress will not stand idly by and allow an environment hostile to Jewish students to persist. The House believes that your institution is in violation of Title VI of the Civil Rights Act, and the inability or
unwillingness to rectify this violation through action requires accountability.
Postsecondary education is a unique opportunity for students to learn and have their ideas and beliefs challenged. However, universities receiving hundreds of millions of federal funds annually have denied
students that opportunity and have been hijacked to become venues for the promotion of terrorism, antisemitic harassment and intimidation, unlawful encampments, and in some cases, assaults and riots.
The House of Representatives will not countenance the use of federal funds to indoctrinate students into hateful, antisemitic, anti-American supporters of terrorism. Investigations into campus antisemitism by the Committee on Education and the Workforce and the Committee on Ways and Means have been expanded into a Congress-wide probe across all relevant jurisdictions to address this national crisis. The undersigned Committees will conduct oversight into the use of federal funds at MIT and its learning environment under authorities granted to each Committee.
• The Committee on Education and the Workforce has been investigating your institution since December 7, 2023. The Committee has broad jurisdiction over postsecondary education, including its compliance with Title VI of the Civil Rights Act, campus safety concerns over disruptions to the learning environment, and the awarding of federal student aid under the Higher Education Act.
• The Committee on Oversight and Accountability is investigating the sources of funding and other support flowing to groups espousing pro-Hamas propaganda and engaged in antisemitic harassment and intimidation of students. The Committee on Oversight and Accountability is the principal oversight committee of the US House of Representatives and has broad authority to investigate “any matter” at “any time” under House Rule X.
• The Committee on Ways and Means has been investigating several universities since November 15, 2023, when the Committee held a hearing entitled From Ivory Towers to Dark Corners: Investigating the Nexus Between Antisemitism, Tax-Exempt Universities, and Terror Financing. The Committee followed the hearing with letters to those institutions on January 10, 202
How to Make a Field invisible in Odoo 17Celine George
It is possible to hide or invisible some fields in odoo. Commonly using “invisible” attribute in the field definition to invisible the fields. This slide will show how to make a field invisible in odoo 17.
1. c programming 109
This lab relates to the following Skill Outcomes:Students will apply the steps in the program
development processStudents will implement object-oriented programming through
predefined classesStudents will develop graphical user interface applications using
appropriate controlsStudents will implement primitive data types for variables, constants,
fields, and listsStudents will select appropriate arithmetic operatorsStudents will analyze,
design, implement, test, and debug domain-specific applications which demonstrate basic
computation, input/output, control structures, operators, input validation, and
methodsThis lab covers material from Chapter 7 and Appendix B as well as concepts
covered in previous chapters. The purpose of this lab is to demonstrate the use of a list to
store and manipulate values entered by the user as well as to implement ToolTips, a
ComboBox, and a Menu System.Create an application that keeps track of the total donuts
sold, the average donuts sold, and the total of donut sales through the implementation of a
List (Do NOT use an Array).* The form should contain a menu system with the following
menu items (the menu items in the Tools menu are all related to the simple combo box for
the donut types):FileToolsHelpExitAdd Donut TypeAbout Remove Donut Type Clear All
Donut Types Display Donut Type Count An example is provided below of the form and
required message boxes:Form1Message Box for Display Donut List ButtonMessage Box for
About menu item (use YOUR name)* Use a Simple Combo Box to hold the donut types
initially populated with Chocolate and Glazed. Make sure and keep the list sorted in
ascending alphabetic order as donut types are added (hint: see Sort property of the Simple
Combo Box).Add Donut Type: The user should be able to add to the combo box. Do not
allow a blank donut type to be added to the combo box. Display an appropriate message if
this occurs. Focus should be returned to the text box portion of the combo box. This should
be coded in the Add Donut Type menu item click event handler.Remove Donut Type: The
user should be able to remove a donut type from the combo box. Display an appropriate
error message if the user selects Remove Donut Type without first selecting a donut type.
This should be coded in the Remove Donut Type menu item click event handler.Clear All
Donut Types: The user should be able to clear all donut types from the combo box. This
should be coded in the Clear All Donut Types menu item click event handler.Display Donut
Type Count: The user should also be able to display the count of donut types in the combo
box. This should be coded in the Display Donut Type Count menu item click event handler.*
The About menu item under the Help menu should display Your Name in a Message Box.
This should be coded in the About menu item click event handler.* The Exit menu item
2. under the File menu should exit the application. This should be coded in the Exit menu item
click event handler.* Implement a List of whole-numbers (no decimal places) to store the
number of donuts entered by the user (Do NOT implement an Array).* The Calculate button
adds the individual number of donuts to the List, calculates the Total of Donuts Sold,
Average Donuts Sold, and Total of Donut Sales. The Calculate button should then clear and
set the focus to the Number of Donuts text box for the next user entry.* The Display Donut
List button should display the items in the List using a Message Box. The Number of Donuts
text box should be cleared and focus set back to it for the next user entry.* The Clear Donut
List button should clear the List, as well as clear the input and output controls and set the
focus to the Number ofDonuts text box. It should also set the donut type combo box back to
unselected. Counters and accumulators should also be reset where appropriate. DO NOT
CLEAR THE DONUT TYPE COMBO BOX.* Include the following Data Validation and display
an appropriate message (Message Box OR ErrorProvider component may be used) and clear
and set the focus to the control causing the error (a nested if statement is
recommended):Number of Donuts must be a valid data type (i.e., TryParse method)Number
of Donuts must be greater than zero (accuracy validation)User must select an item from the
donut type combo box (text box portion of combo box should not be blank)* Add ToolTips
to ALL the buttons with descriptive text* ALL donut types cost .60 (assume all donut types
are the same price)The program must include standard features of a Windows application
including:Change the Text property of the form as indicated on the sample formAppropriate
naming conventions for all controlsButtons with appropriate name and keyboard access
keyAcceptButton and CancelButton properties should be assigned to the Calculate and Clear
Donut List buttons respectivelyAppropriate naming conventions and data type declarations
for variables2. Name your project using the naming convention provided in the syllabus:
CourseNumber_LastNameFirstInitial_LabXX (e.g., 3333_SharpJ_Lab07)3. Include the
appropriate identification information per the course syllabus using comment statments at
the top of your project code (see p. 102, 2.8 Comments, Blank Lines, and Indentation):
Name, 9-Digit ID, Due Date, Date Submitted, and Brief Description of Program.4. You will
need to zip/compress the project folder using an appropriate zip/compression utility such
as the one found in the Windows or WinZip, etc. Please DO NOT submit .rar (archive) files.5.
Attach and submit the zipped/compressed project folder file under the Lab 07 link under
Assessments in the Chapter 7 Module.