This repository contains my JavaScript Practical Assignment for the course CMSACOR11P, part of the B.Sc. Computer Science (Hons) program at West Bengal State University. This project demonstrates solutions to various JavaScript tasks, enhancing foundational client-side programming skills through calculations, sorting algorithms, and data operations.
- Live Demo: Project Link
- Repository: GitHub Repository
This assignment includes a set of JavaScript solutions covering a range of tasks from mathematical calculations to sorting and data operations. Each question is interactive, providing hands-on experience with JavaScript fundamentals, such as loops, conditionals, and functions.
Below is a list of all questions covered in this project:
Create event driven program for following:
- Print a table of numbers from 5 to 15 and their squares and cubes using alert.
- Print the largest of three numbers.
- Find the factorial of a number n.
- Enter a list of positive numbers terminated by Zero. Find the sum and average of these numbers.
- A person deposits Rs 1000 in a fixed account yielding 5% interest. Compute the amount in the account at the end of each year for n years.
- Read n numbers. Count the number of negative numbers, positive numbers and zeros in the list.
Create event driven program for following:
- Input a string and use String Copy function.
- Without using string function reverse a string.
- Take a list of random numbers and bubble sort the list.
- Take a list of random numbers and sort the list using selection sort.
- Using searching algorithm search a number from the list.
- Merge two given list.
- Take an input and find if the data exists in the list.
- Take input of user id and password and give access after proper authentication.
To explore the solutions:
- Home Page: Overview of the assignment with access to questions and solutions.
- Questions Tab: Each question is listed with an interactive solution. Click on any question to view its solution.
If you want to use this code for your own assignment, you mainly need to use the JavaScript files and some parts of the HTML. The CSS in this project is for design purposes only, so you may modify or exclude it as needed. However, you're welcome to use the entire code if desired.
The homepage listing the questions is not part of the assignment; I added it for better navigation and organization. Note that the website is not optimized for mobile devices.
- Deeptanu Sen
- Email: deeptanusends2005@icloud.com
This project was created as part of my course requirements and to enhance my JavaScript programming skills.