Search for question
Question

/n Assessment Brief Form 2 of 11 file:///home/shivam/Downloads/33284%20CSIL%20As... Assessment task details and instruc�ons You should answer all the ques�ons in the assignment. There are five ques�ons totalling 100 marks. The ques�ons cover work undertaken in the lectures and workshops. Write your answers in a document and remember to include all working out - remember that most marks are given for the working out. Ques�ons are at the end of this document. Assessed intended learning outcomes On successful comple�on of this assessment, you will be able to: Knowledge and Understanding 1. A1 - describe the key components that make up a computer and outline how some of them work. 2. A2 - discuss the issues involved in sending data from one computer to another. Transferable Skills and other Atributes 1. B1 - use Unix-like opera�ng systems at command-line level. 2. B2 - write and use simple scripts. 3. B3 - undertake simple system administra�on of a standalone Linux PC. 4. B4 - express and manipulate numbers using a variety of bases and representa�ons, par�cularly binary. 4. B5 - design and describe simple logic circuits. Module Aims Computer-based workshops to cover prac�cal Linux, leading towards assessment of a student's prac�cal ability. Students will be able to replicate the working environment on their own computer and will also be able to access the university system. 21/03/24, 09:15 Assessment Brief Form 3 of 11 file:///home/shivam/Downloads/33284%20CSIL%20As... To provide detailed low-level coverage of the internal opera�on of key parts of computers, specifically computer architecture, opera�ng systems, and communica�ons technology; Marking Band Descriptors Percentage Mark Level of Performance 90-100 80-89 Outstanding Excellent 70-79 Very Good 60-69 Good 50-59 Fair 40-49 Adequate 30-39 Unsa�sfactory 20-29 Poor 10-19 Very Poor 0-9 Extremely Poor Feedback arrangements You can expect to receive feedback from three weeks a�er the submission date with marks posted on Blackboard. Support arrangements You can obtain support for this assessment by viewing previous exams on Blackboard and the accompanying videos and by emailing me at n.murray@salford.ac.uk 21/03/24, 09:15 Assessment Brief Form 4 of 11 file:///home/shivam/Downloads/33284%20CSIL%20As... askUS The University offers a range of support services for students through askUS. Good Academic Conduct and Academic Misconduct Students are expected to learn and demonstrate skills associated with good academic conduct (academic integrity). Good academic conduct includes the use of clear and correct referencing of source materials. Here is a link to where you can find out more about the skills which students require htp://www.salford.ac.uk/skills-for-learning. Academic Misconduct is an ac�on which may give you an unfair advantage in your academic work. This includes plagiarism, asking someone else to write your assessment for you or taking notes into an exam. The University takes all forms of academic misconduct seriously. You can find out how to avoid academic misconduct here htps:// www.salford.ac.uk/skills-for-learning. Assessment Informa�on If you have any ques�ons about assessment rules, you can find out more here. Personal Mi�ga�ng Circumstances If personal mi�ga�ng circumstances may have affected your ability to complete this assessment, you can find more informa�on about personal mi�ga�ng circumstances procedure here. Personal Tutor/Student Progression Administrator If you have any concerns about your studies, contact your Personal Tutor or your Student Progression Administrator. Assessment Criteria You should look at the assessment criteria to find out what we are specifically looking at during the 21/03/24, 09:15 Assessment Brief Form 5 of 11 file:///home/shivam/Downloads/33284%20CSIL%20As... assessment and also refer to the tutorials and workshops completed. In Year Retrieval Scheme Your assessment is not eligible for in year retrieval. Reassessment If you fail your assessment, and are eligible for reassessment, you will need to resubmit in or before July. For students with accepted personal mi�ga�ng circumstances, this will be your replacement assessment atempt. The reassessment task will be the same as the original task. Linux Task 1: bash Scripts (20 marks) Submitting your work Your output should be composed of screenshots of the scripts that you have developed and also include screenshots of the testing of the scripts. Marking scheme for Q 1.1 and 1.2 (out of 10) • 0 means "No attempt" • 2 means "I can tell what question you are trying to answer." • 4 means "I can see what you are trying to do." • 6 means "A reasonable approach that shows you're on the right lines." • 8 means "The script works, but is only tested with the example from the question." • 10 means "The script works, and it has been tested with test cases checking for errors." 1. 1 using if statements (you can also use for or while) Write a script (called q1.sh) that will take two arguments and make sure that two arguments are input. You need to check if they are actually files (report an error if they are a directory). Then you need to output the first two lines of each file and sum the total number of characters in each file. seq 1 5 > 1.txt ←Bold text: what you type to run the script. seq 6 10 > 2.txt 21/03/24, 09:15 Assessment Brief Form 6 of 11 file:///home/shivam/Downloads/33284%20CSIL%20As... bash q1.sh 1.txt 2.txt 1. txt Not bold: what your script might output. 2. txt Total number of characters is 21. 1.2 - processing a variable number of arguments with while and using if Write a script (called q2.sh) that will read the arguments as your six module marks and find the average of the best five marks (the best 100 credits). bash q2.sh 67 52 43 56 78 47 Bold text: what you type to run the script. Average of best five modules: 60%. ← Not bold: what your script might output. Linux Task 2: System Administration (20 marks) System Specification You have been employed as Linux System Administrator for a small company with three other employees: • Ryan Reynolds . Hugh Jackman • Rob McElhenney Ryan Reynolds and Hugh Jackman would like to have a directory where they can each create and edit files that the other employees can only read. All files in a user's home directory should be private. It does not matter if files created in public places (such as /tmp) are readable by other employees, but they should not be writable by them. The users would like that when they type II it will run Is -I. Create an alias for this command and also add another alias that you think is useful. Implement a SLAX system that meets these requirements. Make sure you test your solution. Marking scheme 1. Create the system administrator. (3) 2. Create the aliases and test. (3) 3. Create the users. (6) 4. Create the directories. (4) 5. Test the users and the directories. (4) 21/03/24, 09:15