Reference no: EM132366674
Assignment: Part 1 : JavaScript
Here, you are asked to write a number of small codes to perform certain tasks.
A41: Give an example for creating an object in JavaScript.
A42: Give an example using onclick event to call msg() function, of your own choice.
A43: Give an example to change HTML attribute values.
A44: Give an example to change the style of an HTML element.
Part 2: Python
Here, you are asked to write a number of small codes to perform certain tasks.
A45: Define two set variables and perform the following operations: union, intersection, difference and symmetric difference.
A46: Transpose a matrix (which is created by using a nested list).
A47: Find the sum of natural numbers using recursive function.
A48: To sort the words in alphabetic order using "for loop" and display it.