Please write an research paper, you will write a short research paper that sets out best practices in Linux system administration. To help you manage your paper, use the following key system administration functions:
• Physical Security
• Super user password
• Delegating Super user Tasks
• User password
• Restrict user
• Knowledge Update
• User Education
• Vulnerability Testing
• Backup and Disaster Recovery
Please use more than 300 words no copy and paste. (linux)
In: Computer Science
Consider a file with a large number of Person(id, name, birth-date) records. Assume that users frequently search this file based on a the field id to find the values of name or birthdate for people whose information is stored in the file. Moreover, assume that users rarely update current records or insert new records to the file. Which file structure, heap versus sorted, provides the fastest total running time for users’ queries over this file? Explain your answer.
In: Computer Science
Use ap tables
To test whether a table has been modified correctly as you do these exercises, you can write and run an appropriate SELECT statement. Or, when you’re using Oracle SQL Developer, you can click on a table name in the Connections window and then on the Data tab to display the data for all of the columns in the table. To refresh the data on this tab, click the Refresh button.
invoice_id
The next id in sequence (find out what this should be)
vendor_id:
32
invoice_number:
AX-014-027
invoice_date:
8/1/2008
invoice_total:
$434.58
payment_total:
$0.00
credit_total:
$0.00
terms_id:
2
invoice_due_date: 8/31/2008
payment_date:
null
In: Computer Science
Create a table book_store with columns Book_id VARCHAR(255) NOT NULL,
Book_Name VARCHAR(255) NOT NULL,
Book_genre VARCHAR(255) NOT NULL,
Status VARCHAR(255) NOT NULL,
PRIMARY KEY (Book_id)
Create a table book with columns Book_id VARCHAR(255) NOT NULL,
Book_Name VARCHAR(255) NOT NULL,
Book_release integer,
Book_price integer ,
Publisher Varchar(10),
Book_genre VARCHAR(255) NOT NULL,
PRIMARY KEY (Book_id)
CREATE TABLE price_logs with columns id INT(11) NOT NULL AUTO_INCREMENT,
Book_id VARCHAR(255) NOT NULL,
Old_Book_price DOUBLE NOT NULL,
New_Book_price DOUBLE NOT NULL,
updated_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
updated_by varchar(30) NOT NULL,
PRIMARY KEY (id),
KEY Book (Book_id),
CONSTRAINT price_logs_ibfk_1 FOREIGN KEY (Book_id) REFERENCES Book (Book_id) ON DELETE CASCADE ON UPDATE CASCADE
4. Stored Procedure:
Return only top 3 when parameter TOP3 is passed, top 5 when TOP5 is passed else print entire book table.
DELIMITER //
CREATE PROCEDURE GetBooks( all_books varchar(10) )
BEGIN
<Write your code here >
END IF;
END // DELIMITER ;
call the procedure:
CALL GetBooks('ALL');
CALL GetBooks('TOP3');
CALL GetBooks('TOP5');
In: Computer Science
Language C++!
In part 2, you will be focusing on allowing one of the four transactions listed below to be completed by the user on one of his accounts: checking or savings. You will include defensive programming and error checking to ensure your program functions like an ATM machine would. The account details for your customer are as follows:
| Customer | Username | Password | Savings Account | Checking Account |
| Robert Brown | rbrown | blue123 | $2500.00 | $35.00 |
For this report, update the C++ program that allows the account owner to complete one of the 5 functions of the ATM:
1 – Deposit (adding money to the account)
2 – Withdrawal (removing money from the
account)
3 – Balance Inquiry (check current balance)
4 – Transfer Balance (transfer balance from one account to
another)
5 – Log Out (exits/ends the program)
After a transaction is completed, the program will update the running balance and give the customer a detailed description of the transaction. A customer cannot overdraft on their account; if they try to withdraw more money than there is, a warning will be given to the customer. Also note that the ATM doesn’t distribute or collect coins – all monetary values are in whole dollars (e.g. an integer is an acceptable variable type). Any incorrect transaction types will display an appropriate message and count as a transaction.
In: Computer Science
write a java code to implement a linked list, called CupList, to hold a list of Cups.
1.Define and write a Cup node class, called CupNode, to hold the following information about a cup:
•number (cup number)
•capacity (cup capacity in ml)
•Write a method size() that returns the number of elements in the linkedlist CupList.
•Write a method getNodeAt() that returns the reference to cup node object at a specific position given as a parameter of the method.
•Write a method, insertPos(), to insert a new CupNode object at a specific position given as a parameter of the method.
•Write a method, deletePos(), to remove the CupNode object at a specific position given as a parameter of the method.
•Write a method, swapNodes, to swap two nodes at two positions pos1 and pos2 given as parameters of the method.
Implement the Cup list using double linked list.
•Update CupNode class by adding a link to the previous node in the list. Then update the constructor of the class
•Update the CupList by adding a last attribute, to hold the reference to the last node of the list.
•Implement the following methods in CupList isEmpty(), size(), insertAtFront(), insertAtRear(), insertAt(), removeFirst(), removeLast(), removeAt().
CupNode should have a constructor and methods to manage the above information as well as the link to next node in the list.
2.Define and write the CupList class to hold objects of the class CupNode. This class should define:
a)a constructor,
b)a method isEmpty() to check if the list is empty or not,
c)a method insert() that will allow to insert a new cup node at the end of the list,
d)a method print() that will allow to print the content of the list,
e)A method getCupCapacity() that will return the capacity of a cup given its number. The method should first find out if a cup with that number is in the list.
3.Write a TestCupList class to test the class CupList. This class should have a main method in which you perform the following actions :
a)Create a CupList object,
b)Insert five to six CupNode objects into the created Cup List,
c)Print the content of your cup list,
d)Search for a given cup number in the list and print out its capacity.
In: Computer Science
Diamond Construction is an owner-managed entity with contracting
revenues of $20 million in 2020. As construction is a
labour-intensive industry, one of Diamond’s largest expense
accounts is labour and wages. You are a first-year auditor at Klein
and Partners. You have been given the following information
regarding the entity’s payroll process for hourly employees at
Diamond Construction:
1. The owner-manager is the only person who can authorize the
hiring of a new employee.
2. When a new employee is hired, the payroll clerk prepares a new
employee package that includes:
(a) safety orientation
(b) tax forms
(c) benefits plan enrolment
3. Only the payroll manager has the ability to update the employee
master list. This can only be done once the tax forms, a void
cheque with direct deposit information, and the owner’s approval
have been received. All forms need to be returned before the
payroll manager will update the payroll master list and add any new
employees.
4. Hourly employees are paid biweekly.
5. Hours worked are tracked on time cards. Supervisors fill in the
time cards for each individual day, noting the hours worked.
6. At the end of the pay period, time cards are provided to the
payroll clerk, who compiles the total hours worked and codes the
hours to the appropriate job number. Once compiled, the payroll
clerk enters the hours worked per person in the payroll
system.
7. The accounting system prepares the direct deposit information
based on the rates of pay maintained in the payroll master list
(listing of all authorized staff and approved wage rates). It also
calculates the withholding taxes.
8. This is transferred to the bank and a record of the transmission
is printed and attached to the front of the payroll run.
9. The payroll module is integrated with the general ledger. The
payroll clerk prepares and posts the journal entry to the payroll
expense accounts.
10. Remittance advices are given to the supervisors for
distribution.
11. If an employee is terminated, Diamond just stops paying them as
they no longer have time cards submitted.
12. When an employee has been promoted or their job classification
has changed, the supervisor will verbally communicate this to the
payroll manager, who will then update the payroll master file.
Therefore, source documentation in employee files will only relate
to an employee’s original job classification. The rationale for
this was that most job classification changes would only result in
an additional dollar or two per hour paid to the employee.
Which of the following are control strengths with the payroll process?
The payroll manager has the ability to update the employee master list once the completed paperwork is received.
Supervisors fill in the time cards for each individual day, noting the hours worked and initialling each of the time cards.
The payroll clerk, who compiles the total hours worked and codes the hours to the appropriate job number, enters the hours worked per person in the payroll system.
All employees are on direct deposit.
The accounting system calculates the wages, withdrawing taxes.
The payroll module is integrated with the general ledger.
If an employee is terminated, Diamond just stops paying them as they no longer have time cards submitted.
When an employee has been promoted or their job classification has changed, the supervisor will verbally communicate this to the payroll manager, who will then update the payroll master file.
Which of the following tests of controls should be performed for Diamond Construction?
Compare monthly figures to expectations.
Take a sample of employees and compare to the employee files to ensure they exist.
Select a sample of time cards and review for the supervisor’s initials.
Examine termination notices in payroll department.
Take a sample of payroll journal entries and ensure they are posted and posted correctly.
Witness distribution of payroll remittance advices.
Examine evidence of the preparation and use of batch totals.
Test the system using a sample of hours and ensure it is calculating all items correctly.
In: Accounting
I was wondering if you can tell me if the following code is correct and if its not can it be fixed so it does not have any syntax errors.
Client one
/**
* Maintains information on an insurance client.
*
* @author Doyt Perry/<add your name here>
* @version Fall 2019
*/
public class Client
{
// instance variables
private String lastName;
private String firstName;
private int age;
private int height;
private int weight;
/**
* First constructor for objects of class Client.
*/
public Client()
{
// initialize all instance variables to placeholder values
this.lastName = "last name";
this.firstName = "first name";
this.age = 0;
this.height = 1;
this.weight = 1;
}
/**
* Second constructor for objects of class Client.
*
*
* Create a client object using explicit parameters to specify
* values for corresponding instance fields.
*
* @param inLastName last Name of client
* @param inFirstName first Name of client
* @param inAge age of client
* @param inHeight height of client
* @param inWeight weight of client
*/
public Client(String inLastName, String inFirstName, int
inAge,
int inHeight, int inWeight)
{
// initialize instance variables
// using values passed in as parameters
this.lastName = inLastName;
this.firstName = inFirstName;
this.age = inAge;
this.height = inHeight;
this.weight = inHeight;
}
/**
* Update the last name of the client.
*
* @param inLastName last name of the client.
*/
public void setLastName(String inLastName)
{
// Set the last name instance variable to parameter
this.lastName = inLastName;
}
/**
* Return the last name of the client.
*
* @return String last name.
*/
public String getLastName()
{
// return the value of the last name instance variable
return this.lastName;
}
/**
* Update the first name.
*
* @param inFirstName first name of the client.
*/
public void setFirstName(String inFirstName)
{
// Set the first name instance variable to parameter.
// REPLACE this comment with your code
}
/**
* Return the first name of the client.
*
* @return String first name.
*/
public String getFirstName;
//return "not cor";
/**
* Update the age of the client.
*
* @param inAge age of the client.
*/
public void setAge(int inAge)
{
// Set the age instance variable to the parameter
this.age = inAge;
}
/**
* Return the age of the client.
*
* @return int first name.
*/
public int getAge()
{
// return the value of the first age instance variable.
return this.age;
}
/**
* Update the height of the client.
*
* @param inHeight height of the client.
*/
public void setHeight(int inHeight)
{
// Set the height instance variable to the parameter
this.height = inHeight;
}
/**
* Return the height of the client.
*
* @return int height of client.
*/
public int getHeight()
{
// return the value of the height instance variable.
return this.height;
}
/**
* Update the weight of the client.
*
* @param inWeight weight of the client.
*/
public void setWeight(int inWeight)
{
// replace this comment with your code
}
/**
* Return the weight of the client.
*
* @return int weight of client.
*/
public int getWeight()
{
// replace this comment & return statement with your code
return -1;
}
/**
* Calculate the BMI of the client.
*
* @return double BMI of client.
*/
public double calcBMI()
{
// return the result of calculating the BMI.
// Refer to "Common Error 4.1" on page 142 in the textbook for more
info
// if WebCat flags the following calculation as an error.
return (704 * this.weight) / this.height * this.height;
}
/**
* Display the client information.
*
* @return String formatted client informatin.
*
* <pre>
* The label should be printed in the format:
*
* last name, first name
* Age: 99
* BMI: 99.999
* </pre>
*/
public String toString()
{
// initialize the variable that will hold the output string
String output = "";
// put the name in lastname, firstname format
output = output + this.lastName + this.firstName + "\n";
// include the client age
output = output + "Age " + this.age + "\n";
// include the email address
output = output + "BMI " + this.calcBMI() + "\n";
// return the output string
return output;
}
}
In: Computer Science
Metal Ta and TaN has used as the barrier materials for copper
interconnects. A non-contact, non-intrusive method and tool such as
MetaPULSE® G has been used to measure the thickness of metal
films.
Please describe its fundamental theory, measurement and data
examples from literature, resolution/sensitivity, and
limitations
- Non-intrusive method
- Fundamental Theory
(what physical properties should be known as the input data?)
- Example from literature
- Any limitation on the film thickness, sample status, and
other
In: Chemistry
Metal Ta and TaN has used as the barrier materials for copper
interconnects. A non-contact, non-intrusive method and tool such as
MetaPULSE® G has been used to measure the thickness of metal
films.
Please describe its fundamental theory, measurement and data
examples from literature, resolution/sensitivity, and
limitations
- Non-intrusive method
- Fundamental Theory
(what physical properties should be known as the input data?)
- Example from literature
- Any limitation on the film thickness, sample status, and
other
In: Chemistry