Hernandez_Assignment 2
.docx
keyboard_arrow_up
School
American Military University *
*We aren’t endorsed by this school
Course
361
Subject
Computer Science
Date
Jun 27, 2024
Type
docx
Pages
5
Uploaded by DukeReindeer4438
Hernandez Assignment 2
Jaylee Hernandez
ISSC361 I001 Spring 2024
Dr. Ihssan Alkadi
May 17, 2024
Introduction
In this week’s class we discussed file permissions. In this assignment I will cover the file permissions of a file on my computer. We will discuss who has access to the file and how to modify the file permissions for a user on the machine. File Permissions
The following screenshot shows the permissions on the file name 31_Hernandez_Informative Essay Memo. To get to this window you much right click on the file and select properties then select the security tab. Alternatively you can also view this on command line with the cacls command which is demonstrated below the first screen shot. In both views we can observe the users on the machine and what access they have for this file. All users have full access to this file, which can be seen through the graphical user interface (GUI) in
the permissions for SYSTEM and seeing the check marks identifying if they are allowed or denied for the following permissions full control, modify, read & execute, read, write, and special permissions. In the command line version is displayed with a single character (F) which is for full control. In the command line you can also see (ID) which means that the permissions for this file were inherited from its parent directory. (
Computer Hope, 2023)
Editing File Permissions
If you want to edit the file permissions for a file, you can do this by selecting the user you
would like to adjust the permissions for with the GUI version and select what permissions you would like the user to have. The add and remove buttons are to add or remove an object which can be a user or group. (Microsoft, 2024) The following image highlights the areas on the GUI that are utilized to edit the file permissions. You can also do this on command line with calcs or icacls with the syntax of: (Computer Hope, 2024)
icacls <filepath> /grant <user:permission>
cacls <filepath> /g <user:permission>
This process will allow you to grant full permissions to a file for all users on the host machine.
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Related Questions
Week 4 IPO
Assignment Content
There are 4question Create IPO chart
q1. When Trina began her trip from New York to Florida, she filled her car's tank with
gas and
reset its trip meter to zero. After traveling 324 miles, Trina stopped at a gas station to refuel; the
gas tank required 17 gallons.
arrow_forward
Article Link:
https://www.mdpi.com/2304-6740/11/2/65Write a summary about the article
- Summarize the main idea/point(s)
- Please include excerpts from the article to emphasize a point, but it must be cited as an in-text citation. E.g. "Quote." (Author's lat name page) For example, (John 6)
arrow_forward
Extra 6-1 Develop the Temperature Converter
In this exercise, you’ll use radio buttons to determine whether the conversion is from Fahrenheit to Celsius or vice versa. You’ll also modify the DOM so the labels change when a radio button is clicked, and the page displays an error message when the user enters invalid data.
1. Open the application in this folder:
exercises_extrach06convert_temps
2. Note that the JavaScript file has some starting JavaScript code, including the $() function, three helper functions, three event handler functions, and a DOMContentLoaded event handler that attaches the three event handlers.
3. Review how the toCelsius() and toFarhenheit() event handler functions call the toggleDisplay() helper function and pass it strings to display. Also note that the toggleDisplay() helper function and the convertTemp() event handler function are incomplete.
4. Code the toggleDisplay() function so it changes the text in the labels for the text boxes to the values in the…
arrow_forward
files for the work: https://mega.nz/file/AEJQFZIT#IKKIb5DD9h-5fHiWzEAIg8Lm60syggKnAwL1fqQQ168
Therefore, you should have print statements only where it is explicitly mentioned in the assignment. If you have additional print statements, make sure they are all converted to comments before you submit the assignment. Page 4 of 12 Assignment # 4 Due: Nov. 27th 11:00 PM 1. Text File Format Download the zipped file Files_for_A4 from Brightspace. When you will extract this zipped file you should find the following text files in the folder. The sample text files (datafile) are aTaleOfTwoCities.txt, harry.txt, harryPotter.txt, and invisibleMan.txt. You may assume that the words of the text files are separated by spaces (* ') and newline characters ( *\n'). You will be using these text files to do the analysis. There are two additional files (wordfile) named positivewords.txt and negativewords.txt; each of these files contains a sequence of words (one word per line) and these words will be…
arrow_forward
1. The timeclock.txt file contains the hours worked data for every employee as well as the shift they worked. The layout for the file is as follows:
EMPLOYEE NUMBER, HOURS WORKED, SHIFT
2. The personnel.txt file contains the names of all employees and their hourly pay rates. The layout for the file is as
follows:
EMPLOYEE NUMBER, EMPLOYEE NAME, PAY RATE Note: Both the timeclock.txt and payroll.txt files are pre-sorted by EMPLOYEE NUMBER in ascending order.
Business Rules
1. For hours <= 40, the employee gross pay is: HOURS WORKED PAY RATE 2. For hours> 40, the employee gross pay is: HOURS WORKED PAY RATE 1.5
3. For shift 3, add $1 per hour to the employee pay rate
The program should:
1. Download both input files in the same folder that you will create your .py program.
2. Read both input files together.
3. Match the input files by the EMPLOYEE NUMBER.
4. For each record in the timesheet.txt file, write a record in a new output file named payroll,txt based on the business rules…
arrow_forward
M7Pro_Files
Upload your accounts python file here
What to do:
U are to create a report for users that will list their student id number, last name, and first name. Also, you will list their username and email address
The input file is linked below
studentInfo.txt
(opens in new window)
Note: You are to add YOUR first and last name in the first row ( instead fo Mr. Cameron's), the ID SHOULDN'T be your real ID, just a imaginary number there
The output file that your program will generate should look like the one linked below:
loginInfo.txt
(opens in a new window)
Given a text file , studentInfo.txt , linked above (or U can use one you created) that contains only last name( field size = 10) and first name(field size is 10) and student id numbers (field size is 7) you will create a report that will generate the usernames as well as student email accounts as shown in the loginInfo.txt linked above.
Notice that the login name consists of the first 7 characters of the last name, the…
arrow_forward
Exercise 1 - Ms excel
Insert Pivot Table: Your task is to bring up the pivot table. Then remove the grand total and edit the pivot table.
Group Data by Year: The second task is to group the sales amount by the year or months.
Find Running Total by Date: Your objective is to find the running total by date using the data.
Insert a Pie Chart: You will create a pie chart from the data in this problem, you will need to insert slicer to the pivot table. Use the calculated Field to find the sales tax which is 5% of the total sales.
arrow_forward
QUESTION 17
Write a JavaScript function that do the following:
prompt the user to enter his name
display on the web page "welcome" and the name entered.
display on the page the current date using the date object.
The expected out put should be if user enter "ahmad":
Welcome student Ahmad
Today is Sat Nov 21 2020 17:39:40 GMT+0400 (Gulf Standard Time)
T TTArial
v 3 (12pt)
v T
Click Save and Submit to save and submit. Click Save All Answers to save all answers.
20
Type here to search
arrow_forward
*
You can't change the font style from
any properties on the form.
O True
O False
The window in which the individual
*
documents are displayed is called
Child window.
O True
O False
*
The function procedures are private
by default.
O True
False
arrow_forward
Pearson Charity: Donation Form
Please complete the form. Mandatory fields are marked with a *
PERSONAL INFORMATION DETAILS-
For example: John Doe
For example: 012-345-6789
For example:user@domain.com
Select an option
Name *
Phone*
Email *
Gender*
DONATION DETAILS
Amount*
Fund*
Donate
Any amount between R1 - R1000
Select an option
arrow_forward
Besides there is an options menu that includes two options in the main activity. These are: 1. New Student 2. Exit When you click on the “New Student” option, a “New Activity” opens and the teacher enters the Student ID, Visa, Final Number, Phone Number and clicks the Add button. Thus, the student's information is recorded in the database. In addition, the grade point average is calculated by taking 40% of the student visa and 60% of the final. Both the grade point average and this student's phone number are sent to MainActivity. When registration is complete, the main activity is updated to include the list of the currently added student. In addition, if the average score coming from the main activity to NewActivity is equal to or greater than 50, an SMS is sent directly to the student's phone number indicating that he or she has passed the course. For this process, necessary permissions are obtained by following the permission procedure. If the student's average is less than…
arrow_forward
Menu option C The program reads in data from HowManyHours.txt, displays a report header with the report creator’s name, employee id, and department and who they created the report for. The body of the report displays the total number of students who used the program, the average credits taken, and the average study hours. In the following format –STUDY HOURS REPORT Created for Dr. Payne, A004567893 Dept: Computer Science
Created By: Karen Smith, A00494928Dept: Advising
Total Students: 3Average Credits: 9.00Average Study Hours: 20.00Menu option DThank the user for using the programTerminates the program
arrow_forward
Create the file review.txt using “vi”Add text to “review tcmp$221.txt” as shown below 1. My name is 3. I am a junior 2. My major is CTRe arrange the lines according to line no’s using nanoWhat is the default permission of file “review tcmp$221.txt”Change the permission of the above file to 755
arrow_forward
Murach's javascript and Jquery 4th edition (ch9 animation)
I need help with this assignment, please. thanks
Modify a carousel to use animationIn this exercise, you’ll modify a carousel application so that when an image in the carousel is clicked, an enlarged image is displayed using animation.1. Open the application in this folder:carouselThen, run the application and notice that an enlarged image of the first book in the carousel is displayed.2. Review the HTML for the application, and notice that it contains an img element with an id of “image” following the heading. Also notice that the href attributes of the <a>elements in the carousel are set to the URL of the enlarged image to be displayed when the associated carousel image is clicked.3. Code an event handler for the click event of the <a> elements in the list. This event handler should start by getting the URL for the image to be displayed. Then, it should assign this URL to the enlarged image.4. Add animation to…
arrow_forward
In this assignment, you have to write down a file comparison application. You can use this chapters codes to
create your file. In your first file, you have to add at least 10 accounts such as (please assume the name of
the file as orginal_account_file.txt)
ID
Name
Surname
Balance
Tel
eMail
1)
In your second file you have to change Balance, Tel and eMail data of at least five records. In your code,
such as(please assume the file name as changed_account_file.xt):
ID
Name
Surname
Balance
Tel
eMail
1)
"you have to display the changes in each record, and display as separate records to show changed and
unchanged records.
"Your code also have to create two separate files to save changed records and un-changed records.
Such as:
File_Unchanged_Records.txt
File Changed_Records.txt
You have to upload only C.files, the given files have to create these four files (orginal_account_file.txt,
changed account_file.txt, File_Unchanged Records.txt, File Changed Records.bxt)
arrow_forward
Following screen needs to be design in AWT/Swing.
When user click “Add New” button, Record should be entered and displayed in the TextArea shown at top.
When user click “Delete” Entered record should be cleared from the TextArea.
When user click “Close” button, it will exit the program.
arrow_forward
FLEX hw
Please add commentaries inside the code
Create a flex file which recognizes if a given string is an email address.
arrow_forward
Code
arrow_forward
Open the start file EX2019-ChallengeYourself-6-3. The file will be renamed automatically to include your name.
If the workbook opens in Protected View, click the Enable Editing button in the Message Bar at the top of the workbook so you can modify the workbook.
On the Sales Data worksheet, enter a formula in cell J4 to find the sales associate's region by extracting the first three characters of the sales associate's ID in cell C4. Use cell references where appropriate. Fill the formula down through cell J64.
On the Sales Data worksheet, calculate the commission rate and commission paid for each sales associate.
Beginning in cell F4, enter a formula using the IFS function to calculate the commission rate based on the following table. Hint: Do not include comma separators in numerical values in formulas. Excel interprets commas as function argument separators.Table EX 6.1 displays calculations for commission rates based on annual sales.
IF ANNUAL SALES ARE:
THEN THE COMMISSION…
arrow_forward
1. Creating Employee Data ( Page 625)Create an application that allows the user to enter the following employee data: First Name, Middle Name, Last Name, Employee Number, Department, Telephone Number, Telephone Extension, and E-mail Address. The valid values for department are Accounting, Administration, Marketing, MIS, and Sales. Once the data is entered, the user should be able to save it to a file. Figure 9-30 shows an example of the application’s form. The form shown in Figure 9-30 has a combo box for selecting the department; a Save Record button, which writes the record to a file; a Clear button, which clears the text boxes; and an Exit button. Write code in the Form_Load event handler that allows the user to enter the name of the file. If the file does not exist, a new one will be created. If the file already exists, the input data will be appended to the file.
******** Make sure to test your project by entering a new text file name, and then to confirm you are appending data to…
arrow_forward
Rent a Car
Using Mysqli (procedural or object) Commands (not the pdo):
A company wants to record their cars with the followingproperties in order to give chance to the customers to make a search:
Cars should be recorded with the following fields.:
Car plate(primary key), make, model, car type.
(Car types are listed as: mini, economy, luxury, convertible, sports, mini van)
You must create 3 forms( 1 html for menu and 2 self-calling phpfiles) and a mysql table (which has the above fields).
1. Menu as html which will have link to other files.
2. A Form to add a new car into db table. (Hint: car type mustbe drop down list based on the types listed above. Plate shouldprimary key.)
3. A form to search a car.
Search could be made via using any of the following threecriterias:
i. Based on plate
ii. Based on Make
iii. Based on car type
arrow_forward
Please do not give solution in image formate thanku
Reflection Essay
Write a short essay (at least 500 words) for each reflection essay to reflect upon their learning experiences on Threat Intelligence, Computer Forensics, and Cyber Terrorism . A separate paragraph should be written for each point, and the topic needs to be marked clearly at the beginning of the paragraph.
arrow_forward
Create an Excel VBA algorithm that runs a user-defined function:multiply three number then divide it by 2Run this by placing three numbers. Results will be displayed in amessage box.
arrow_forward
The most popular resume format is the
Chronological format
Direct format
Function format
Indirect format
How do you rename a table?
Right click the object tab in the access window, and the click rename
Right click the table in the navigation plane, and then click rename
Click the table in the navigation pane, and then click the rename button
Open the table in table datasheet view, and then click the rename button
T or F
**A résumé sent by e-mail should not be accompanied by a cover message.
arrow_forward
In the Properties box, pick Edit File Attributes from the menu that displays to alter a file attribute.
arrow_forward
Plotting assignment
Create 4 subplots of y = x, y2 = x², y3 = x³, and y4 =
Vx. Use 10 points between x =
red circles, y2 = x2 use green dashes, y3 = x3 use blue
triangles, and y4 = Vx use black squares. Also, give each
subplot a title. Include a command to save the figure as a
PNG file so that it can be imported into another program
such as Microsoft PowerPoint.
0 to x:
10. For y1
= x use
Show me the figure on the PNG file
arrow_forward
Written Use Case
Follow the sample format shown in the attached photo.Sample have its label, while the one you should make a written use case is the one who have blue ovalsNOTE: YOU SHOULD MAKE THE WRITTEN USE CASE AS YOU CAN SEE IN THE SAMPLE TABLE. SOMEONE IS ANSWERING MY QUESTION WRONG!
arrow_forward
MULTIPLE CHOICE -The answer is one of the options below please solve carefully and circle the correct option Please write clear .
arrow_forward
SEE MORE QUESTIONS
Recommended textbooks for you
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:9781337508841
Author:Carey
Publisher:Cengage
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:9780357392676
Author:FREUND, Steven
Publisher:CENGAGE L
Related Questions
- Week 4 IPO Assignment Content There are 4question Create IPO chart q1. When Trina began her trip from New York to Florida, she filled her car's tank with gas and reset its trip meter to zero. After traveling 324 miles, Trina stopped at a gas station to refuel; the gas tank required 17 gallons.arrow_forwardArticle Link: https://www.mdpi.com/2304-6740/11/2/65Write a summary about the article - Summarize the main idea/point(s) - Please include excerpts from the article to emphasize a point, but it must be cited as an in-text citation. E.g. "Quote." (Author's lat name page) For example, (John 6)arrow_forwardExtra 6-1 Develop the Temperature Converter In this exercise, you’ll use radio buttons to determine whether the conversion is from Fahrenheit to Celsius or vice versa. You’ll also modify the DOM so the labels change when a radio button is clicked, and the page displays an error message when the user enters invalid data. 1. Open the application in this folder: exercises_extrach06convert_temps 2. Note that the JavaScript file has some starting JavaScript code, including the $() function, three helper functions, three event handler functions, and a DOMContentLoaded event handler that attaches the three event handlers. 3. Review how the toCelsius() and toFarhenheit() event handler functions call the toggleDisplay() helper function and pass it strings to display. Also note that the toggleDisplay() helper function and the convertTemp() event handler function are incomplete. 4. Code the toggleDisplay() function so it changes the text in the labels for the text boxes to the values in the…arrow_forward
- files for the work: https://mega.nz/file/AEJQFZIT#IKKIb5DD9h-5fHiWzEAIg8Lm60syggKnAwL1fqQQ168 Therefore, you should have print statements only where it is explicitly mentioned in the assignment. If you have additional print statements, make sure they are all converted to comments before you submit the assignment. Page 4 of 12 Assignment # 4 Due: Nov. 27th 11:00 PM 1. Text File Format Download the zipped file Files_for_A4 from Brightspace. When you will extract this zipped file you should find the following text files in the folder. The sample text files (datafile) are aTaleOfTwoCities.txt, harry.txt, harryPotter.txt, and invisibleMan.txt. You may assume that the words of the text files are separated by spaces (* ') and newline characters ( *\n'). You will be using these text files to do the analysis. There are two additional files (wordfile) named positivewords.txt and negativewords.txt; each of these files contains a sequence of words (one word per line) and these words will be…arrow_forward1. The timeclock.txt file contains the hours worked data for every employee as well as the shift they worked. The layout for the file is as follows: EMPLOYEE NUMBER, HOURS WORKED, SHIFT 2. The personnel.txt file contains the names of all employees and their hourly pay rates. The layout for the file is as follows: EMPLOYEE NUMBER, EMPLOYEE NAME, PAY RATE Note: Both the timeclock.txt and payroll.txt files are pre-sorted by EMPLOYEE NUMBER in ascending order. Business Rules 1. For hours <= 40, the employee gross pay is: HOURS WORKED PAY RATE 2. For hours> 40, the employee gross pay is: HOURS WORKED PAY RATE 1.5 3. For shift 3, add $1 per hour to the employee pay rate The program should: 1. Download both input files in the same folder that you will create your .py program. 2. Read both input files together. 3. Match the input files by the EMPLOYEE NUMBER. 4. For each record in the timesheet.txt file, write a record in a new output file named payroll,txt based on the business rules…arrow_forwardM7Pro_Files Upload your accounts python file here What to do: U are to create a report for users that will list their student id number, last name, and first name. Also, you will list their username and email address The input file is linked below studentInfo.txt (opens in new window) Note: You are to add YOUR first and last name in the first row ( instead fo Mr. Cameron's), the ID SHOULDN'T be your real ID, just a imaginary number there The output file that your program will generate should look like the one linked below: loginInfo.txt (opens in a new window) Given a text file , studentInfo.txt , linked above (or U can use one you created) that contains only last name( field size = 10) and first name(field size is 10) and student id numbers (field size is 7) you will create a report that will generate the usernames as well as student email accounts as shown in the loginInfo.txt linked above. Notice that the login name consists of the first 7 characters of the last name, the…arrow_forward
- Exercise 1 - Ms excel Insert Pivot Table: Your task is to bring up the pivot table. Then remove the grand total and edit the pivot table. Group Data by Year: The second task is to group the sales amount by the year or months. Find Running Total by Date: Your objective is to find the running total by date using the data. Insert a Pie Chart: You will create a pie chart from the data in this problem, you will need to insert slicer to the pivot table. Use the calculated Field to find the sales tax which is 5% of the total sales.arrow_forwardQUESTION 17 Write a JavaScript function that do the following: prompt the user to enter his name display on the web page "welcome" and the name entered. display on the page the current date using the date object. The expected out put should be if user enter "ahmad": Welcome student Ahmad Today is Sat Nov 21 2020 17:39:40 GMT+0400 (Gulf Standard Time) T TTArial v 3 (12pt) v T Click Save and Submit to save and submit. Click Save All Answers to save all answers. 20 Type here to searcharrow_forward* You can't change the font style from any properties on the form. O True O False The window in which the individual * documents are displayed is called Child window. O True O False * The function procedures are private by default. O True Falsearrow_forward
- Pearson Charity: Donation Form Please complete the form. Mandatory fields are marked with a * PERSONAL INFORMATION DETAILS- For example: John Doe For example: 012-345-6789 For example:user@domain.com Select an option Name * Phone* Email * Gender* DONATION DETAILS Amount* Fund* Donate Any amount between R1 - R1000 Select an optionarrow_forwardBesides there is an options menu that includes two options in the main activity. These are: 1. New Student 2. Exit When you click on the “New Student” option, a “New Activity” opens and the teacher enters the Student ID, Visa, Final Number, Phone Number and clicks the Add button. Thus, the student's information is recorded in the database. In addition, the grade point average is calculated by taking 40% of the student visa and 60% of the final. Both the grade point average and this student's phone number are sent to MainActivity. When registration is complete, the main activity is updated to include the list of the currently added student. In addition, if the average score coming from the main activity to NewActivity is equal to or greater than 50, an SMS is sent directly to the student's phone number indicating that he or she has passed the course. For this process, necessary permissions are obtained by following the permission procedure. If the student's average is less than…arrow_forwardMenu option C The program reads in data from HowManyHours.txt, displays a report header with the report creator’s name, employee id, and department and who they created the report for. The body of the report displays the total number of students who used the program, the average credits taken, and the average study hours. In the following format –STUDY HOURS REPORT Created for Dr. Payne, A004567893 Dept: Computer Science Created By: Karen Smith, A00494928Dept: Advising Total Students: 3Average Credits: 9.00Average Study Hours: 20.00Menu option DThank the user for using the programTerminates the programarrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Np Ms Office 365/Excel 2016 I NtermedComputer ScienceISBN:9781337508841Author:CareyPublisher:CengageCOMPREHENSIVE MICROSOFT OFFICE 365 EXCEComputer ScienceISBN:9780357392676Author:FREUND, StevenPublisher:CENGAGE L
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:9781337508841
Author:Carey
Publisher:Cengage
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:9780357392676
Author:FREUND, Steven
Publisher:CENGAGE L