Answered step by step
Verified Expert Solution
Question
1 Approved Answer
15% 23:28 Select text MWD-650 Programming and Scripting UNICAF Dear students, prior attempting this second summative assignment, please carefully read all of the materials found
15% 23:28 Select text MWD-650 Programming and Scripting UNICAF Dear students, prior attempting this second summative assignment, please carefully read all of the materials found in week 1, 2, 3, 4 and 5 of the course shell and then develop programs to solve the under-listed programming problems. This course assessment carries the weight of 30% of your overall grade. 1. Write a JavaScript program to implement the popular bubble sort algorithm. 2. Write a web page that uses a prompt to ask the user what colour they would like the background of their paragraphs to be. It should then write a paragraph with the background set to the appropriate colour. 3. Given a string str, print all the combinations of the string in lexicographical order. Example: Input: str = "ABC" Output: A AB ABC AC ACB B BA BAC BC BCA C CA CAB CB CBA Input: ED Output: D DE ED MWD-650 Programming and Scripting Page 1 MWD-650 UNICAF Programming and Scripting All of your assignments need to be submitted by 11:59 p.m. (23:59 hours) UTC time at the latest. If you miss the deadline then UNICAF rules on late submissiononsubmission come into effect. O
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started