0% found this document useful (0 votes)
2 views5 pages

Practical

Download as docx, pdf, or txt
Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1/ 5

**Practical Number**: Practical Assignment #1

**Practical Significance**:
JavaScript is a widely used programming language for web development. Understanding how to
evaluate expressions and display messages is fundamental to web programming. In this assignment,
we will create a simple web page that allows users to enter expressions, evaluates them, and displays
the results.

**Relevant POs (Program Outcomes)**:


- PO1: Demonstrate proficiency in JavaScript programming.

- PO2: Develop web applications using HTML and JavaScript.

- PO3: Analyze and solve simple programming problems.

**Practical Outcomes**:
- Create a web page with an input field for expressions.

- Implement JavaScript code to evaluate the entered expressions.

- Display the evaluation result on the web page.

**Minimum Theoretical Background**:


To complete this assignment, you should have a basic understanding of:

- JavaScript syntax and variables.

- Arithmetic operators for expression evaluation.

**Program Code and Output**:

**Results**:
**Practical Number**: Practical Assignment #2

**Practical Significance**:
In web development, making decisions and using looping statements are essential skills for
controlling the flow of a program. In this assignment, we will create a web page that demonstrates
the use of decision-making constructs (if statements) and looping statements (for and while loops) in
JavaScript.

**Relevant POs (Program Outcomes)**:

- PO1: Demonstrate proficiency in JavaScript programming.

- PO4: Apply decision-making and looping constructs to solve programming problems.

- PO5: Develop interactive web applications using HTML and JavaScript.

**Practical Outcomes**:

- Create a web page with input elements for user interaction.

- Implement JavaScript code that utilizes decision-making constructs (if statements) to make choices
based on user input.

- Implement JavaScript code that uses looping statements (for and while loops) to repeat actions
based on user input.

**Minimum Theoretical Background**:

To complete this assignment, you should have a basic understanding of:

- JavaScript's `if` statement for decision making.

- JavaScript's `for` and `while` loops for repeating actions.

- HTML elements and event handling.

**Program Code and Output**:

**Results**:
**Practical Number**: Practical Assignment #3

**Practical Significance**:

Arrays are fundamental data structures used in programming for storing collections of values.
Understanding how to work with arrays is crucial for manipulating data efficiently. In this assignment,
we will create a web page that demonstrates various JavaScript array functionalities.

This exercise enables students to gain practical experience in using JavaScript array methods. It
enhances their ability to work with arrays effectively, a crucial skill for web development. Students
learn to apply array methods for tasks like sorting, filtering, mapping, and reducing data, which are
essential in real-world programming. This exercise emphasizes the importance of data manipulation
skills in software development.

**Relevant POs (Program Outcomes) **:

- PO1: Demonstrate proficiency in JavaScript programming.

- PO6: Manipulate and work with arrays and data structures.

- PO8: Implement interactive web applications with JavaScript and HTML.

**Practical Outcomes**:

- Create a web page with input elements and buttons for user interaction.

- Implement JavaScript code that showcases various array operations, including adding/removing
elements, searching, and performing operations on array elements.

**Minimum Theoretical Background**:

To complete this assignment, you should have a basic understanding of:

- JavaScript arrays and their properties/methods.

- HTML form elements and event handling.

**Program Code and Output**:

**Results**:
**Practical Number**: Practical Assignment #4

**Practical Significance**:

Functions are essential building blocks in JavaScript for structuring and organizing code.
Understanding how to define and use functions is crucial for creating reusable and maintainable
code. In this assignment, we will create a web page that demonstrates various JavaScript function
functionalities.

**Relevant POs (Program Outcomes) **:

- PO1: Demonstrate proficiency in JavaScript programming.

- PO7: Create and use functions effectively in JavaScript.

- PO8: Implement interactive web applications with JavaScript and HTML.

**Practical Outcomes**:

- Create a web page with input elements for user interaction.

- Implement JavaScript code that showcases function declarations, parameter passing, return values,
and function invocation.

**Minimum Theoretical Background**:

To complete this assignment, you should have a basic understanding of:

- JavaScript function syntax and usage.

- Function parameters and return values.

- HTML form elements and event handling.

**Program Code and Output**:

**Results**:
**Practical Number**: Practical Assignment #5

**Practical Significance**:

Strings are fundamental data types in programming and are commonly used for text processing.
Understanding how to work with strings is essential for tasks like data validation and manipulation. In
this assignment, we will create a web page that demonstrates various JavaScript string
functionalities.

**Relevant POs (Program Outcomes) **:

- PO1: Demonstrate proficiency in JavaScript programming.

- PO9: Manipulate and validate strings effectively.

- PO8: Implement interactive web applications with JavaScript and HTML.

**Practical Outcomes**:

- Create a web page with input elements for user interaction.

- Implement JavaScript code that showcases string manipulation, searching, and validation.

**Minimum Theoretical Background**:

To complete this assignment, you should have a basic understanding of:

- JavaScript string methods and properties.

- HTML form elements and event handling.

**Program Code and Output**:

**Results**:

You might also like