Homework 4
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.
6 years ago
10
Purchase the answer to view it

- java-and-python1.odt
- ACC225 Week 9 Final Project Comprehensive Problem-Perpetual
- OPS571Final_Exam (4)
- MGT-655 Module 8 DQ 1- Academic Medical Centers (AMC’s)
- Applied Linguistics Major
- For Madam-Professor only
- Advanced Toxicology Essay
- MGT 437 Week 2 Individual Assignment - Achieving Project Goals Simulation_
- ECO 205 Week 9 Capstone Discussion Question
- Case Study 2: Wireless and Mobile Technologies
- 5th Annual Edition Electronic Commerce The Second Wave