
Database System Concepts
7th Edition
ISBN: 9780078022159
Author: Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher: McGraw-Hill Education
expand_more
expand_more
format_list_bulleted
Question

Transcribed Image Text:QUESTION 1: A Project Setup Script
Software developers use scripting to support good software engineering practices. For
this question we will explore a standard way that software developers organize their
home directory when writing software.
Write a script called: mkproj ARGUMENT OWNER
Example: ./mkproj Ass2 johnsmith
Where:
The script's name is mkproj
ARGUMENT is the name of the software project the developer wants to initialize.
OWNER is the username of the person whom the project belongs to.
Use vi to create the script.
The script must do the following in the order presented:
1. Make sure the script is running in Bash
●
2.
If the user did not provide the correct number of arguments, then display the
following error message and then terminate the script: "Error: Wrong number of
arguments. Please type ./mkproj ARGUMENT OWNER. The argument is the
name of the project. The OWNER is the user name the project belongs to.
,,
3. If the directory “Projects” does not exist, then the script creates that directory. If
the directory already exists, then nothing is done.
4. Change the working directory to Projects
5. If the directory ARGUMENT (i.e. the project name) already exists within the
directory Projects, then terminate the script with the following error and change
directory to the parent directory (where we came from): "Error: The project name
has already been used. Please select another project name and try again."
6.
Create the directory ARGUMENT (i.e. the project name).
7. Change the current directory to the directory ARGUMENT (i.e. the project name)
8. Create the subdirectories: archive, docs, source. Then use the 1s command to
display them as verification to the user.
9. Create a readme.txt file in the docs directory with the following default
information: "Created by:" and then insert the OWNER name. Display the file as
verification to the user.
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by stepSolved in 3 steps with 1 images

Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Similar questions
- A programmer develops code by repeating short sessions of writing, compiling, and testing until the project is finished. This is an example of _____. A. Pair programming B. Modular development C. Incremental development D. Parallel programmingarrow_forwardIn terms of programming, it is preferable to have a deeper level of access rather than a shallower level of access, therefore you shouldn't base your decision just on how something performs.arrow_forwardIn terms of programming, it is preferable to have a deeper level of access rather than a shallower level of access, therefore you shouldn't base your decision just on how something performs.arrow_forward
- language is C++ Use Lastname First name, JonnyEnglish Instructions 1. Using Visual Studio, or Xcode, create a new empty project in your working drive. Name the Project: 05LastFirst (NOTE: where LastFirst is your actual Lastname and Firstname. For Example, if your name is Mary Smith then your empty project folder will be named 02SmithMary) 2. You will be updating your 05CH3 program. You will develop an Algorithm and then update your C++ Program for the problem described below: Have the user input test grades UNTIL user enters a negative number. The program will: list the number of grades entered, list the number of passing grades (>= 60) total all the grades, and then display the average of the grades. For example: Enter score 1: 88.8 Enter score 2: 50 Enter score 3: 100 Enter score 4: 100 Enter score 5: -1 Total number of grades: 4 Total number of passing grades: 3 Total: 338.8 Average: 84.7 (NOTE: Follow the steps below in creating your Algorithm and C++ Program.…arrow_forwardPlease written by computer source Unit 4 - Lab – Individual Retirement Account Calculation Assignment An Individual Retirement Account (IRA) is a special bank / brokerage account that a person can use to save money for retirement. An individual can put up to $5,500 per year tax free and the money grows tax free until the person is ready to retire. The tax rules related to IRA’s are complex, but for this assignment, we’ll assume that the person puts in the same amount of money every year (up to $5,500) and the money grows at a constant interest rate. Write a Flowgorithm program that asks the user to input an annual IRA contribution (in dollars), and interest rate (percent), and a time period (years). Calculate the value of the IRA every year for the duration of the time period provided by the user. Be sure and provide user friendly prompts. Include a comment at the beginning of the program with your name, date, and a short description of the program.arrow_forwardQuestion 3 Final Project Instructions All Sections No unread replies.No replies. Art Contest Use the Drawing Panel class to create a work of art. Requirements Your code should compile correctly (no red lines). Programs should be at least 20 lines of code, not including comments and white space. Include a block comment header at the top of your program. Something Easy Thank you. Full explain this question and text typing work only We should answer our question within 2 hours takes more time then we will reduce Rating Dont ignore this linearrow_forward
- Alert dont submit AI generated answer.arrow_forwardCENGAGE | MINDTAP Programming Exercise 4-1 Instructions ا... ? 50 Write a program named CheckCredit that prompts users to enter a purchase price for an item. If the value entered is greater than a credit limit of $8,000, display You have exceeded the credit limit; otherwise, display Approved. Grading When you have completed your program, click the Submit button to record your score. CheckCredit.cs 1 using System; 2 public class CheckCredit 3 {\ 4 6 7 8 9 10 11 12 25655W N 13 14 15 16 17 } 18 + public static void Main(string[] args) double price = Convert.ToDouble(Console.Readline()); if (price _ Terminal +arrow_forward
arrow_back_ios
arrow_forward_ios
Recommended textbooks for you
- Database System ConceptsComputer ScienceISBN:9780078022159Author:Abraham Silberschatz Professor, Henry F. Korth, S. SudarshanPublisher:McGraw-Hill EducationStarting Out with Python (4th Edition)Computer ScienceISBN:9780134444321Author:Tony GaddisPublisher:PEARSONDigital Fundamentals (11th Edition)Computer ScienceISBN:9780132737968Author:Thomas L. FloydPublisher:PEARSON
- C How to Program (8th Edition)Computer ScienceISBN:9780133976892Author:Paul J. Deitel, Harvey DeitelPublisher:PEARSONDatabase Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781337627900Author:Carlos Coronel, Steven MorrisPublisher:Cengage LearningProgrammable Logic ControllersComputer ScienceISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill Education

Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education

Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON

C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON

Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning

Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education