0% found this document useful (0 votes)
9 views2 pages

JavaScript Fundamentals Assignment Guide

The document outlines an assignment for a unit on JavaScript fundamentals, divided into three sections with varying point values. Students are required to answer questions related to JavaScript frameworks, data types, type coercion, operator precedence, leap year checks, random number generation, string manipulation, array operations, vowel counting, and exception handling. Each section specifies the number of questions to attempt and their respective marks.

Uploaded by

Abhinav kashyap
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views2 pages

JavaScript Fundamentals Assignment Guide

The document outlines an assignment for a unit on JavaScript fundamentals, divided into three sections with varying point values. Students are required to answer questions related to JavaScript frameworks, data types, type coercion, operator precedence, leap year checks, random number generation, string manipulation, array operations, vowel counting, and exception handling. Each section specifies the number of questions to attempt and their respective marks.

Uploaded by

Abhinav kashyap
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

UNIT 1 – JAVASCRIPT FUNDAMENTALS

Assignment 1
Assignment 1-A

Note: Attempt any two questions from the following [5 Marks Each]

Q1. What are some popular frameworks and libraries in the JavaScript ecosystem, and how have
they impacted web development?

Q2. Define and differentiate between primitive and non-primitive (reference) data types in
JavaScript.

Q3. Explain type coercion in JavaScript. Provide examples of explicit and implicit type coercion.

Assignment 1-B

Note: Attempt any two questions from the following [10 Marks Each]

Q1. Explain the concept of operator precedence and associativity.

Q2. Implement a JavaScript program that checks if a given year is a leap year or not.

Q3. Create a JavaScript program that generates a random number between a specified minimum
and maximum value.

Assignment 1-C

Note: Attempt any two questions from the following [ 20 Marks Each]

Q1. Build a JavaScript function that reverses a given string.

Q2. Develop a JavaScript program that finds the largest element in an array of numbers.

Q3. Write a JavaScript function that counts the number of vowels in a given string.

Q4. Create a JavaScript program that demonstrates the use of try/catch/finally for exception
handling.

You might also like