This document appears to be an exam for a course on UNIX and shell programming. It contains two parts: Part A consists of 10 short answer questions worth 2 marks each on concepts like file permissions, redirection, and commands like sort, tee, and uniq. Part B consists of longer answer questions worth 10 marks each, asking students to explain commands like chgrp, chmod, and sort in more detail and provide examples. It provides a breakdown of the cognitive levels assessed, with most questions targeting the remember and understand levels based on Bloom's taxonomy.
This document appears to be an exam for a course on UNIX and shell programming. It contains two parts: Part A consists of 10 short answer questions worth 2 marks each on concepts like file permissions, redirection, and commands like sort, tee, and uniq. Part B consists of longer answer questions worth 10 marks each, asking students to explain commands like chgrp, chmod, and sort in more detail and provide examples. It provides a breakdown of the cognitive levels assessed, with most questions targeting the remember and understand levels based on Bloom's taxonomy.
This document appears to be an exam for a course on UNIX and shell programming. It contains two parts: Part A consists of 10 short answer questions worth 2 marks each on concepts like file permissions, redirection, and commands like sort, tee, and uniq. Part B consists of longer answer questions worth 10 marks each, asking students to explain commands like chgrp, chmod, and sort in more detail and provide examples. It provides a breakdown of the cognitive levels assessed, with most questions targeting the remember and understand levels based on Bloom's taxonomy.
Roll Number: _________________ Programme: M.Sc Date: 22.09.2023 Branch : Software Systems Time: 02.45pm to 04.15pm Semester : III Course Code: 22IST33 Duration: 1.30 Hours Course Name: UNIX and shell programming Max Marks : 50 PART – A (10*2=20 marks) ANSWER ALL QUESTIONS 1. List the various attributes of a file. [CO2, K1] 2. In what order the list command lists the files in a directory? Is it possible to [CO2, K2] change this default order? (NPTEL) 3. Mention the command used for changing file permissions. [CO2, K1] 4. Clearly distinguish between relative and absolute permission assignments? [CO2, K2] 5. Draw the structure of pipe. [CO2, K1] 6. How to mix inputs from standard input and a file? [CO3, K1] 7. Show the sample database file using student list. [CO3, K1] 8. State the uses of sort command. [CO3, K1] 9. How can you make duplicates of standard input and send them to different [CO3, K1] files? 10. Name the commands that are moving by one position. [CO3, K1]
PART-B (3*10=30 Marks)
ANSWER ANY THREE QUESTIONS 11. Illustrate the following commands in file attributes. [CO2, K2] i. The 1s-1 command ii. The touch command 12. Explain the two widely used commands that handle columns and fields in [CO2, K2] UNIX environment. 13. Make use of sort command to classify the sorting on specific fields (more [CO3, K3] than one field) / character positions with suitable example. 14. Sketch the three modes of vi editor with suitable shell script. [CO3, K3]
Taxonomy (K1) (K2) (K3) (K4) (K5) (K6) Level Percentage 26.7 40 33.3 - - - KONGU ENGINEERING COLLEGE, PERUNDURAI, ERODE – 638 060 Continuous Assessment – II – September 2023 Roll Number: _________________ Programme: M.Sc Date: 22.09.2023 Branch : Software Systems Time: 02.45pm to 04.15pm Semester : III Course Code: 22IST33 Duration: 1.30 Hours Course Name: UNIX and shell programming Max Marks : 50 PART – A (10*2=20 marks) ANSWER ALL QUESTIONS 1. Mention the different permissions associated with a file. [CO2, K1] 2. Infer the meaning of “The execute permission will reference to regular files and [CO2, K2] directories”. 3. How can you find out the inode number of any desired file? Comment on the [CO2, K1] inode number, if you can. 4. Write the syntax and assignment expression for chmod command. [CO2, K1] 5. Define Redirection. [CO3, K1] 6. Draw the structure of tee command. [CO3, K1] 7. State the uses of trash and terminal files. [CO3, K1] 8. How to merge sorted files? [CO3, K1] 9. Name the two special files available in the /dev directory. [CO3, K1] 10. Consider the following operations to be performed in UNIX. “The pipe sorts all [CO3, K3] files in the current directory modified in the month of “June” by order of size and prints them to terminal screen. The sort option skips ten fields then sorts the lines in numeric order”. Which UNIX command will perform above set of operations and write the syntax?
PART-B (3*10=30 Marks)
ANSWER ANY THREE QUESTIONS 11. Explain the chgrp command and umash command file permissions with [CO2, K2] example. 12. Interpret the following sort command: [CO2, K2] i. Having the sorted data in the original file. ii. Sorting numeric data items. 13. Choose the UNIQ command and tr command and apply it with certain [CO3, K3] environments. 14. Identify the different commands that are used to invoke and quit the vi editor. [CO3, K3]