M24-CAP-105 Practical -1
Part A – Introduction | |||
Name of the Programme | MCA | ||
Semester | Ist | ||
Name of the Course | Practical-1 | ||
Course Code | M24-CAP-105 | ||
Course Type | PC-1 | ||
Level of the course | 400-499 | ||
Pre-requisite for the course (if any) | |||
Course objectives | This is a laboratory course and the objective of this course is to acquaint the students with the understanding and implementing of client-side web technologies. Also, the concepts of operating systems and shell programming will be implemented by the students. | ||
Course Learning Outcomes (CLO) After completing this course, the learner will be able to: | CLO 1: Solve practical problems related to theory courses undertaken in the CC-1 and CC-2 from application point of view.
CLO 2: Know how to use the client-side web technologies. CLO 3: implement the various functions of operating systems. CLO 4: Designing and implementing the shell programs in Linux. |
||
Credits | Theory | Practical | Total |
0 | 4 | 4 | |
Teaching Hours per week | 0 | 8 | 8 |
Internal Assessment Marks | 0 | 30 | 30 |
End Term Exam Marks | 0 | 70 | 70 |
Max. Marks | 0 | 100 | 100 |
Examination Time | 0 | 4 hours | |
Part B- Contents of the Course | |||
Practicals | Contact Hours | ||
Practical course will consist of two components Part-A and Part-B. The examiner will set 5 questions at the time of practical examination asking 2 questions from the Part-A and 3 questions from the Part-B by taking course learning outcomes (CLO) into consideration. The examinee will be required to solve one problem from the Part-A and to write and execute 2 questions from the Part-B. | 120 | ||
Part-A
HTML/CSS Basics: • Creating a webpage structure with HTML. • Styling the webpage using CSS (inline, internal, and external styles). Responsive Design: • Making the webpage responsive using media queries. • Using frameworks like Bootstrap for responsive design. JavaScript Basics: • Adding interactivity with JavaScript (DOM manipulation, event handling). • Working with variables, loops, and conditions. Frameworks and Libraries: • Using front-end frameworks React. • Utilizing libraries such as jQuery for DOM manipulation. Introduction to React: • Create a simple React component that displays “Hello, World!” on the screen. • Use JSX syntax and explain its advantages over plain JavaScript. State and Props: • Build a component that takes props and renders them. • Implement state in a component and update it based on user interaction (e.g., button click). Basic Todo App: Develop a Todo application where users can add, delete, and mark tasks as completed. Use state to manage the list of tasks. Using React Router: |
60 |
• Set up React Router in a project and create multiple pages (e.g., Home, About, Contact).
• Implement navigation between these pages using Link and NavLink. Redux Integration: • Integrate Redux for state management in a React application. • Implement actions, reducers, and connect components to Redux store. Responsive Design with React Router: • Build a responsive multi-page application using React Router. • Ensure layout adjustments for different screen sizes using CSS media queries or frameworks like Bootstrap. |
|||
Part-B
1) Implement a simple program demonstrating the creation and synchronization of threads or processes. 2) Design and simulate a memory management system (e.g., paging, segmentation). 3) Implement algorithms like First Fit, Best Fit, and Worst Fit for memory allocation. 4) Implement a basic file system with operations like file creation, deletion, reading, and writing. 5) Compare different file allocation methods (e.g., contiguous allocation, linked allocation, indexed allocation). 6) Solve synchronization problems such as the producer-consumer problem or dining philosophers problem using semaphores or mutexes. 7) Implement a solution for deadlock prevention, avoidance, or detection. 8) Profile and analyze the performance of different scheduling algorithms (e.g., FCFS, SJF, Round Robin) using simulations. 9) Evaluate the impact of caching and paging strategies on system performance. 10) Write a shell script named hello.sh that prints “Hello, World!” to the terminal when executed. 11) Demonstrate running the script and explain how to make it executable using chmod. 12) Write a script greet_user.sh that prompts the user for their name and then prints a personalized greeting. 13) Use variables to store user input and demonstrate the use of read command. 14) Create a script check_number.sh that accepts a number as an argument. 15) Check if the number is positive, negative, or zero, and print an appropriate message using conditional statements (if-else). 16) Develop a script countdown.sh that takes a number as input and prints a countdown from that number to 1. 17) Use a loop (e.g., while or for) to implement the countdown. 18) Write a script file_info.sh that accepts a filename as an argument. 19) Check if the file exists and whether it is a regular file or directory. Display appropriate messages based on the checks. 20) Create a script word_count.sh that reads a text file (provided as an argument) and counts the number of words in the file. 21) Utilize command-line tools like wc and cat for reading and counting words. |
60
(Lab hours include instructions for writing programs and demonstration by a teacher and for running the programs on computer by students.) |
||
Suggested Evaluation Methods | |||
Internal Assessment: 30 | End Term Examination: 70 | ||
➢ Practicum | 30 | ➢ Practicum | 70 |
• Class Participation: | 5 | Lab record, Viva-Voce, write-up and execution of the programs | |
• Seminar/Demonstration/Viva-voce/Lab records etc.: | 10 | ||
• Mid-Term Examination: | 15 | ||
Part C-Learning Resources | |||
Recommended Books/e-resources/LMS:
1) Flanagan, D. (2020). JavaScript: The Definitive Guide. O’Reilly Media. 2) Kogent Learning. (2009). Web Technologies: HTML, JavaScript, PHP, Java, JSP, XML, AJAX – Black Book. Wiley India Pvt. Ltd. 3) Duckett, J. (2014). JavaScript and jQuery: Interactive Front-End Web Development. Wiley. 4) Robson, E., & Freeman, E. (2014). Head First JavaScript Programming: A Brain-Friendly Guide. O’Reilly Media. |