Unix Lab Syllabus
Unix Lab Syllabus
~
~
UNIX AND SHELL PROGRAMMING LABORATORY
~ Course Title
Course Code 23CBL306 L-T-P-C (0-0-2) 1
~ Exam Hrs. 3 Hours/Wee k 2
SEE 50 Marks Total Hours 30
~ Course Objective: The course provides a comprehensive introduction to UNIX commands and
utilities, students will develop Shell Programming and Vi editing skills.
~ Course Outcomes (COs): Upon completion of the course, students shall be able to:
Mapping to
~ No. Course Outcomes Mapping to POs
PSOs
~ Apply critical thinking and problem-solving
skills to design efficient and effective shell 1,3,5 1
:t..} 1.
scripts that accomplish specific tasks using
UNIX commands and utilities
~
2. Exhibit the ethics in lab and communicate the 8,10,12 -
~ results through report and presentation.
Course Contents:
~ Execution following basic UNIX commands
~ Is, ls -1, cat, grep, sed, cd, od, mkdir, echo, date, mv.
Design and Develop a shell scripts for following statements
~ . Write a shell script that takes a valid directory name as an argument and recursively descend
=--> all the sub-directories, finds the maximum length of any file in that hierarchy and writes this
Maximum value to the standard output.
'-w . Write a shell script that accepts a path name and creates all the components in that path name
~ as 9irectories. For example, if the script is named mpc, then the command mpc a/b/c/d
should create directories a, alb, a/b/c, a/b/c/d.
~ . Write a shell script that accepts two file names as arguments, checks if the permissions for
~ these files are identical and.if the permissions are identical, output common permissions and
otherwise output each file name followed by its permissions.
~ . Create a script file called file-properties that reads a file name entered and outputs it
~ properties.
. Write a shell script that accept one or more filenames as argument and convert all of them to
~ uppercase, provided they exist in current directory
Q . Write a shell script that accepts as filename as argument and display its creation time if file
exist and if it does not send output error message.
~ . Write a shell script that gets executed displays the message either "Good Morning" or "Good
~ Afternoon" or "Good Evening" depending upon time at which the user logs in.
. Write a shell script that accept the file name, starting and ending line number as an argument
~ and display all the lines between the given line number.
~
t-3
L
~
~
~
~
r ~
l
c;.--
v=
v=
Course Articulation Ma t rtX
Course
·
Program Outcomes (POs]
v
Outcomes
PS02
t::
cos POI POZ POJ P04 P05 P06 P07 P08 P09 POIO POii POIZ PSOI
~
COi
2 2 3 2 ~
CO2
2 2 2 ~l
~
I
~
Engineering Science Courses/Emerging Technology Courses/ Programming
.,-7
Language Courses - III
c=I
Fl
Course Title OBJECT ORIENTED PROGRAMMING WITH JAVA '-=1
Course Code 23CB307A L-T-P-C (2-0-2)3 ~
Exam Hrs. 3 Hours/Week 4
SEE 50 Marks Total Hours 28T+12L ~
Course Objective: Design and develop java application programs using object-oriented concepts.
Course Outcomes (COs): Upon completion of the course, students shall be able to: ~
No. Course Outcomes Mapping to Mapping
POs to PSOs ~
1.
Apply the concepts of OOP and Java constructs for the
l - ~
development of applications
~
Analyze the given java program to make suitable changes
2. 2 1
and write the output
Design and develop a java program, user interface to solve
3. 3 1
the given problem.
Conduct practical experiments for demonstrating object ~
4. 3,5,9,10 -
oriented concepts through java. ~
Course Contents: ·
Module 1 07 Hours ~
The History & Evaluation of Java: Java's Lineage, The Creation of Java, The Evolution of
Java, Java SE 8 . An Overview of Java: Object-Oriented Programming (Two Paradigms, ~
Abstraction, The Three OOP Principles), Using Blocks of Code, Lexical Issues (Whitespace, ~
Identifiers, Literals, Comments, Separators, The Java Keywords).
Data Types, Variables, and Arrays: The Primitive Types (Integers, Floating-Point Types, ~
Characters, Booleans), Variables, Type Conversion and Casting, Automatic Type Promotion in
Expressions, Arrays, Introducing Type Inference with Local Variables
Module 2 07 Hours
Operators: Arithmetic Operators, Relational Operators, Boolean Logical Operators, The