1. Write a Linux shell script that allow the user to enter a choice based on the following options:
A – Delete a file in current directory B – Create a directory in current directory.
C – Change a file access mode to 755. D – Rename a file to another name E – Copy a file to another directory.
If the user entered any other choices than the above, prompt the user to pick only A – E.
Provide the shell script along with the sample output screenshot. Refer to the attached rubrics as a guide. Print a copy of the rubrics to be attached with this lab report.
1. Write a Linux shell script to perform the following tasks:
a. Display current date and time
b. Display current working directory
c. To check whether a sample file is a directory
d. Display details of all files/directories in current working directory
e. To check whether a sample file is readable, writable, and executable.
Provide the shell script along with the sample output screenshot. Refer to the attached rubrics as a guide. Print a copy of the rubrics to be attached with this lab report.
The learners must create a C++ program using FUNCTIONS to compute the tuition fee of the students in a chosen level. The program will allow the users to choose the level and using the functions, the program will ask the values needed to compute the tuition fee. There must be two functions to compute the tuition fee for grade 7 and 8 level. Please use grade7 and grade8 as FUNCTION NAMES.
Modify the program from number 1 by adding a class and apply the "outside of a class function"
*************************************
* Programming Assigment 01 *
* CEN114 C and C++ Programming *
* Author: ???*
*Due date: tuesday, march 22 *
*************************************
Write a simple c++ program that will display the area and circumference of a circle with a radius of 5. Note the program must implement copy constructors.
Write a ‘C++’ program (capable of being compiled on any standard ‘C++’ compiler and
in particular Bloodshed Dev-C++ compiler, the one that we use for our course.
The program will need to calculate the final mark and corresponding grade and letter
grade based on the information given below.
Modify the program from number 1 by adding a class and apply the "outside of a class function".
write a c ++ application to print out the numbres 10 through 49
write a programme that implements the following:
1- a class called shape which includes the height and the width as private attributes,
2- a derived class called rectangle which inherits the attributed from the shape and have a method called area which finds the area of the rectangle
3- a derived class called triangle which inherits the attributes from the shape and have a method called area that finds the area of the triabgle,