You are running a Book shop where you are keeping inventory for
all the books.
Design a program with the following interface using javafx scene
builder, File IO and ArrayList class.
Following GUI is just an example choose different color, design and
font for your GUI interface.
Write program which allows you to enter book name, author, price
of each book and number of books in stock of the book through
textboxes and store it in arraylist.
Write button reads value from arraylist and write into file as per
follows:
javaprogramming,danialliang,99.50,10
database,johny,50.45,6
javaprogramming,tony,80.30
You can choose any different names to store in file.
Also design and write code for add, save, exit, next, previous and edit button as discussed in class.
Design display button which read information from file and display information in text area as per following fig. You can calculate TotalPrice=price of book * number of books in stock.
Design search button as per following fig. Enter the book name you want to search in text field. Search button compare the name you enter in textfield and the book name that stored in file.
If both names are same than print the entire record in text area including Name, Author, Price, Quantity and TotalPrice
If names does not match than print message like match not found in text area.
Use following code to write Book.java class
public class Book
{
private String bookname,author;
private int quantity;
private double price;
public Book() {
}
public Book(String bookname, String author, int quantity, double
price) {
this.bookname = bookname;
this.author = author;
this.quantity = quantity;
this.price = price;
}
public String getBookname() {
return bookname;
}
public String getAuthor() {
return author;
}
public int getQuantity() {
return quantity;
}
public double getPrice() {
return price;
}
public void setBookname(String bookname) {
this.bookname = bookname;
}
public void setAuthor(String author) {
this.author = author;
}
public void setQuantity(int quantity) {
this.quantity = quantity;
}
public void setPrice(double price) {
this.price = price;
}
}
In: Accounting
A publisher needs to create a database based on the following requirements:
The publisher publishes different books. Each book has an ISBN, name, author(s) name, edition number, category, and price. Each book has a unique ISBN.
The publisher deal with many authors, each has a name, unique number.
For every book, each author will have different percentage of revenue.
They also hire editors, who edit books before publishing. Each has name, unique number, SSN, salary, book category and list of books they edited.
Draw a complete ER diagram. Write the (min,max), total/partial and the cardinality ratio.
In: Computer Science
The Active Directory (AD) domain name is the same as the DNS name.
True
False
2 points
QUESTION 32
_________ provides the following management services:
|
Fault management |
||
|
Configuration management |
||
|
Accounting management |
||
|
Performance management |
2 points
QUESTION 33
The _______ layer can include routers, switches, bridges, shared-media hubs, and wireless APs.
|
core |
||
|
user |
||
|
distribution |
||
|
access |
In: Computer Science
Find article about (Implementing DHCP)
Included with the summary must be a source notation providing the following information:
-Name of the Article
-Author
-Source information (Publication Name, URL, Article publish date)
In: Computer Science
which one of the following statements is most incorrect about the strengths of cohort studies
1. cohort studies measures the risk of developing a disease
2. cohort studies enable researchers to assess a range of diseases associated with the exposure being studied or investigated
3. in cohort studies, the exposure precedes the disease
4. cohort studies measures the incidence of a disease
5. in cohort studies, the exposure does not precede the disease and thus enables the researcher to ascertain the occurrence of the disease
In: Nursing
Required information
[The following information applies to the questions
displayed below.]
A comparative balance sheet and income statement is shown for
Cruz, Inc.
| CRUZ, INC. Comparative Balance Sheets December 31, 2017 |
|||||||
| 2017 | 2016 | ||||||
| Assets | |||||||
| Cash | $ | 99,000 | $ | 25,000 | |||
| Accounts receivable, net | 42,800 | 53,100 | |||||
| Inventory | 89,600 | 99,700 | |||||
| Prepaid expenses | 5,600 | 4,400 | |||||
| Total current assets | 237,000 | 182,200 | |||||
| Furniture | 113,000 | 124,700 | |||||
| Accum. depreciation—Furniture | (17,600 | ) | (9,400 | ) | |||
| Total assets | $ | 332,400 | $ | 297,500 | |||
| Liabilities and Equity | |||||||
| Accounts payable | $ | 15,600 | $ | 21,900 | |||
| Wages payable | 9,400 | 5,200 | |||||
| Income taxes payable | 1,500 | 2,700 | |||||
| Total current liabilities | 26,500 | 29,800 | |||||
| Notes payable (long-term) | 31,100 | 65,700 | |||||
| Total liabilities | 57,600 | 95,500 | |||||
| Equity | |||||||
| Common stock, $5 par value | 238,600 | 190,000 | |||||
| Retained earnings | 36,200 | 12,000 | |||||
| Total liabilities and equity | $ | 332,400 | $ | 297,500 | |||
| CRUZ, INC. Income Statement For Year Ended December 31, 2017 |
||||||
| Sales | $ | 509,400 | ||||
| Cost of goods sold | 327,800 | |||||
| Gross profit | 181,600 | |||||
| Operating expenses | ||||||
| Depreciation expense | $ | 39,200 | ||||
| Other expenses | 92,900 | 132,100 | ||||
| Income before taxes | 49,500 | |||||
| Income taxes expense | 18,100 | |||||
| Net income | $ | 31,400 | ||||
Furniture costing $57,700 is sold at its book value in 2017. Acquisitions of furniture total $46,000 cash, on which no depreciation is necessary because it is acquired at year-end. What is the cash inflow related to the sale of furniture?
In: Accounting
This is all of the information the professor provided. It is very vague. She just wants us to list examples of possible variables then make aup a hypothesis to show that we have an understanding of the terms.
Experiment 1 - Clorox Vs. Lysol
Questions:
Independent Variable:
Dependent variable:
Name two good control variables:
Positive Control Experiment:
Hypothesis:
Experiment 2 - Turtoring and Test Taking
Questions:
Independent Variable:
Dependent variable:
Name two good control variables:
Negative Control Experiment:
Hypothesis:
Experiment 3 - Best Fertilizer for Corn
Questions:
Independent Variable:
Dependent variable:
Name two good control variables:
Negative Control Experiment:
Hypothesis:
Experiment 4 - Best Laundry Detergent
Questions:
Independent Variable:
Dependent variable:
Name two good control variables:
Negative Control Experiment:
Hypothesis:
Experiment 5 - Favorite Soft Drink
Questions:
Independent Variable:
Dependent variable:
Name two good control variables:
Negative Control Experiment:
Hypothesis:
In: Biology
In: Accounting
Describe the similarities and differences between
A. A prospective cohort study and a retrospective cohort study
B. A prospective cohort study and a case control study
C A case control study and retrospective cohort study
D. Is a case control study always retrospective? Why or why not?
In: Math
consider the victoria university information technology department, department has setup a small library for NIT5130 students. The department library maintains a checkout list ( CALL NO, USER ID, DATE REQUESTED) of all the books borrowed by students, Every student record consists of User ID, User name, Borrow limit, Number checked out, and fines. Suppose that the library will have multiple copies (CALL NO, AUTHOR NAME, PUBLISHER, ISBN, DATE PUBLISHED) can have multiple authors (AUTHOR NAME, DATE OF BIRTH, COUNTRY OF BIRTH, DECEASE BIRTH). You have volunteered to set up a database system for the library,
Draw an Entity relationship diagram for the IT department library
In: Computer Science