Reference no: EM131182155
Homework 1
First scripts.
1. Create e script named date_time, which would display a message
Today date is <the actual date -time information>
2. Create e script named all_users, which would display a message
The number of users logged on the system is <the number of users to be calculated>
Using read command
3. Create e script named read_myname, which would
a. display a message Please enter your name
b. then read your name being inputted by you
c. then displays the message Welcome to ASA <your name>!
4. Create e script named read_names, which would
a. display a message Please enter your first name
b. display a message Please enter your last name
c. then read your first and last names being inputted by you
d. then displays the message Welcome to ASA <your first name your last name>!
Homework 2.
Using an if construct
1. Create a script named test-files, which would
a. check a file, which is given as the first argument when the script runs
b. if this is a regular file, display the message This is a regular file
c. if this is not a regular file, display the message This is not a regular file
2. Create a script named test-files2, which would
a. check a file, which is given as the first argument when the script runs
b. if this is a regular file, display the message This is a regular file
c. if this is a directory, display the message This is a directory
d. if something else, display the message This is not regular file neither directory
Using an if construct inside of for loop
3. Create a script named test-files3, which would
a. check all files, which are given as the argument in the for loop
b. if this is a regular file, display the message This is a regular file
c. if this is not a regular file, display the message This is not a regular file
4. Create a script named test-files4, which would
a. check all files, which are given as the arguments to the for loop
b. if this is a regular file, display the message This is a regular file
c. if this is a directory, display the message This is a directory
d. if something else, display the message This is not regular file neither directory
How many ties of each type may it possibly have
: Ties Unlimited stocks $1 ties, $2 ties, and $4 ties. If it has a total inventory of 7,000 ties valued at $12,000. How many ties of each type may it possibly have? If the number of $2 ties is 2,000 how many of each type are there?
|
Required to manufacture units
: It took a contractor 1285 hours to manufacture their first unit of an item. If the contractor expects to achieve a 92% unit learning curve, how many hours would be required to manufacture units 52-100?
|
Construct a table showing your calculations of net cash flow
: Construct a table showing your calculations of net cash flow after tax (NCFAT). Use the method shown in lectures and notes. Calculate the NPV. Is the project acceptable? Why or why not?
|
How might rubrics be used in performance assessments
: How might rubrics be used in performance assessments? Imagine you are a new employee in a human resource (HR) department. Your first task is to develop a stress management seminar for the employees. Determine the topics that should be covered in th..
|
Create a script named test-files and
: Create e script named all_users, which would display a message and Create a script named test-files
|
Difference in the proportion of men and women
: Suppose this survey was conducted using 374 men and 481 women. Do these data show enough evidence to support the conclusion that there is no difference in the proportion of men and women who think weight is a factor in purchasing a laptop? Use a 5..
|
Graph the company selected financial data
: Graph the company's selected financial data. Explain the role of standard deviation in financial analysis. Explain any other uses for standard deviation in a business setting
|
How do groups normally develop
: How does working effectively on a team give you an advantage in the workplace? How do groups normally develop? How does the effectiveness of the team members influence the group's development process
|
Standard deviation or population proportion
: With a 5% margin of error, a 95% confidence level, and a population size of 2,000,000, how do you calculate the sample size for the mean? No standard deviation or population proportion is provided. Please show your work.
|