This document provides instructions for Assignment 1 in the COMP1231 Web Programming course. It outlines 10 functions that students must implement in a JavaScript file. Each function solves a unique problem, like calculating change, converting between miles and kilometers, or reversing an array. Students will create a functions.js file with the 10 functions and a main.html file that includes and calls the functions.js file. Students must submit both files to the specified folder before the due date. Plagiarism detection software will be used to check for copied code.
In this video you will learn about
--Introduction to Algorithms
--Characteristics of an Algorithm
--Algorithms Analysis
--Priori Analysis
-- Posterior Analysis
-- Algorithm Efficiency
--Time Complexity
--Space Complexity
--Algorithm Design Tools
-- Pseudocode
--Flowchart
--Asymptotic Analysis/ Notations
--Big-Oh Notation
--Omega Notation
--Theta Notation
In this video you will learn about
--Introduction to Algorithms
--Characteristics of an Algorithm
--Algorithms Analysis
--Priori Analysis
-- Posterior Analysis
-- Algorithm Efficiency
--Time Complexity
--Space Complexity
--Algorithm Design Tools
-- Pseudocode
--Flowchart
--Asymptotic Analysis/ Notations
--Big-Oh Notation
--Omega Notation
--Theta Notation
Computer programming:Know How to FlowchartAngelo Tomboc
This topic guides you how to flowchart...What are the symbols. Some mathematical symbols are included to especially equal,more than, less than, not equal, more than or equal to, and less than or equal to. Flowcharting...what is that???Flowcharting is just a building house using your bricks, tools in carpenter, and a blueprint...So, [G]LHF ([G]OOD LUCK HAVE FUN) ^_^
COM1407: Program Control Structures – Decision Making & BranchingHemantha Kulathilake
At the end of this lecture students should be able to;
Define the operation of if, if-else, nested if-else, switch and conditional operator.
Justify the control flow of the program under the aforementioned C language constructs.
Apply taught concepts for writing programs.
Computer programming:Know How to FlowchartAngelo Tomboc
This topic guides you how to flowchart...What are the symbols. Some mathematical symbols are included to especially equal,more than, less than, not equal, more than or equal to, and less than or equal to. Flowcharting...what is that???Flowcharting is just a building house using your bricks, tools in carpenter, and a blueprint...So, [G]LHF ([G]OOD LUCK HAVE FUN) ^_^
COM1407: Program Control Structures – Decision Making & BranchingHemantha Kulathilake
At the end of this lecture students should be able to;
Define the operation of if, if-else, nested if-else, switch and conditional operator.
Justify the control flow of the program under the aforementioned C language constructs.
Apply taught concepts for writing programs.
Angular 16 is the biggest release since the initial rollout of Angular, and it changes everything: Bye bye zones, change-detection, life-cycle, children-selectors, Rx and what not.
Recorded webinar based on these slides given by Yaron Biton, Misterbit Coding-Academy’s CTO, can be found at: https://www.youtube.com/watch?v=92K1fgPbku8
Coding-Academy offers advanced web-techs training and software development services: Top-rated Full-stack courses for Angular, React, Vue, Node, Modern architectures, etc. | Available top-notch on-demand-coders trough Misterbit technological solutions | Coding-Academy Bootcamp: Hundreds of employed full-stack developers every year | Anything web, end to end projects | Tech companies and startups | Consulting to management and dev teams | Workshops for managers and leaders.
9 11 2
5 14 4
4 6 4
1 15 5
7 9 3
9 16 4
1 2 5
8 8 4
3 12 4
3 11 5
5 19 5
4 19 4
1 11 5
7 15 1
7 8 3
7 6 1
8 19 4
1 8 5
9 9 3
6 2 2
2 11 3
2 10 3
6 16 1
0 1 3
3 3 3
3 10 1
6 6 4
4 3 5
2 3 4
7 1 5
6 8 5
0 13 1
2 5 3
0 12 5
7 18 3
2 0 3
7 3 1
[IFT 102]
Introduction to Java Technologies
Lab 2: Control Flow & Arrays
Score: 50 pts (10 pts * 5)
I. Prelab Exercises (10 pts)
A. Textbook Sections 5.1-5.3
1. Rewrite each condition below in valid Java syntax (give a boolean expression):
a. x > y > z
b. x and y are both less than 0
c. neither x nor y is less than 0
d. x is equal to y but not equal to z
2. Suppose gpa is a variable containing the grade point average of a student. Suppose the goal of a program is to let a student know if he/she made the Dean’s list (the gpa must be 3.5 or above). Write an if... else... statement that prints out the appropriate message (either “Congratulations—you made the Dean’s List” or “Sorry you didn’t make the Dean’sList”).
3. Complete the following program to determine the raise and new salary for an employee by adding if ... else statements to compute the raise. The input to the program includes the current annual salary for the employee and a number indicating the performance rating (1=excellent, 2=good, and 3=poor). An employee with a rating of 1 will receive a 6% raise, an employee with a rating of 2 will receive a 4% raise, and one with a rating of 3 will receive a 1.5% raise.
// ************************************************************
// Salary.java
// Computes the raise and new salary for an employee
// ************************************************************
import java.util.Scanner;
public class Salary
{
public static void main (String[] args)
{
double currentSalary; // current annual salary
double rating; // performance rating
double raise; // dollar amount of the raise
Scanner scan = new Scanner(System.in);
// Get the current salary and performance rating
System.out.print ("Enter the current salary: ");
currentSalary = scan.nextDouble();
System.out.print ("Enter the performance rating: ");
rating = scan.nextDouble();
// Compute the raise -- Use if ... else ...
// Print the results
System.out.println ("Amount of your raise: $" + raise);
System.out.println ("Your new salary: $" + currentSalary + raise);
}
}
B. Textbook Section 5.4
In a while loop, execution of a set of statements (the body of the loop) continues until the boolean expression controlling the loop (the condition) becomes false. As for an if statement, the condition must be enclosed in parentheses. For example, the loop below prints the numbers from 1 to LIMIT:
final int LIMIT = 100; // setup
int count = 1;
while (count <= LIMIT) // condition
{ // body
System.out.println(count); // -- perform task
count = count + 1; // -- update condition
}
There are three parts to a loop:
· The setup, or initialization. This comes before the actual loop, and is where variables are initialized in preparation for the first time through the loop..
Just Click on Below Link to Download This Course:
https://www.devrycoursehelp.com/product/devry-gsp-115-week-3-assignment-latest/
DeVry GSP 115 Week 3 Assignment latest
Week 3: Loops and Branching
Instructions
Complete the following assignments. Copy and paste your finished code into a Word document, clearly identifying which assignment it is. Also, capture the output of the program and paste that into the Word document. If there are questions to be answered, put the answers after the output. When you complete all three of this week’s assignments, save the document as yourLastName_GSP115_W3_Assignments.docx.Submit it to the Week 3 assignment Dropbox.
I am Samuel H. I am a Mechanical Engineering Assignment Expert at matlabassignmentexperts.com. I hold a Ph.D. Matlab, University of Alberta, Canada. I have been helping students with their homework for the past 12 years. I solve assignments related to Mechanical Engineering.
Visit matlabassignmentexperts.com or email info@matlabassignmentexperts.com.
You can also call on +1 678 648 4277 for any assistance with Mechanical Engineering Assignments.
CASE STUDY InternetExcel Exercises, page 434, textRecord your.docxketurahhazelhurst
CASE STUDY
Internet/Excel Exercises, page 434, text
Record your findings in a Word document and submit it online
IBM has substantial operations in many countries, including the United States, Canada, and Germany. Go to finance.yahoo.com/q?s=ibm.
1. Click on Historical Prices. (Or apply this exercise to a different MNC.) Set the date range so that you can obtain quarterly values of the U.S. stock index for the last 20 quarters. Insert the quarterly data on a spreadsheet. Compute the percentage change in IBM’s stock price for each quarter. Next go to finance.yahoo.com/stock-center/ and click (under U.S.) on S&P Composite 1500 Index, which represents the U.S. stock market index, so that you can derive the quarterly percentage change in the U.S. stock index over the last 20 quarters. Then run a regression analysis with IBM’s quarterly return (percentage change in stock price) as the dependent variable and the quarterly percentage change in the U.S. stock market’s value as the independent variable. (Appendix C explains how Excel can be used to run regression analysis.) The slope coefficient serves as an estimate of the sensitivity of IBM’s value to the U.S. market returns. Also, check the fit of the relationship based on the R-squared statistic.
2. Go to finance.yahoo.com/stock-center/ and click (under “Europe”) on DAX, which represents the German stock market index. Repeat the process described in exercise 1 so that you can assess IBM’s sensitivity to the German stock market. Compare the slope coefficient between the two analyses. Is IBM’s value more sensitive to the U.S. market or the German market? Does the U.S. market or the German market explain a higher proportion of the variation in IBM’s returns (check the R-squared statistic)? Offer an explanation of your results.
Lab 5 Database Security
Use the script from week 1 for the week 5 lab.
1. Create four new users
a. The first user will have full rights to the database
b. The second user grant access to the Client’s table and allow them the rights to INSERT data into the clients table
c. The third user grant rights to create user logins and reset passwords
d. The fourth user grant column rights to the Course_Activity table allow access to the Course Code and Grade column. Allow user to UPDATE a maximum of 5 times per hour.
2. Login with each user to demonstrate the rights you have given them
a. User 1 login and create a VIEW for user 2 that just displays the Client table
b. User 2 login and add 3 more clients to the Clients table
c. User 3 login create two new users
d. User 4 login and UPDATE two new entries for Course Code and Grade Column for Client 1 and 2
e. For each user run the Show Privileges command to show correct rights and permissions have been applied
3. Show Log Files: For each user show log files (since we do not have MySQL Enterprise we cannot use the Audit function but as a substitute we can use the built-in log file function)
4. Create a Stored Procedure with User ...
After reviewing the Coleman (2016) article on executive compensation.docxAMMY30
After reviewing the Coleman (2016) article on executive compensation and reading this week's assigned readings, choose one of two statements below and construct an argument supporting your position:
The market trend towards escalating executive compensation reflects the critical importance of an executive to an organization’s long-term viability.
The growing compensation inequity between executive management and the average employee threatens to destabilize organizational morale and societal justice.
.
After reviewing the chapter on Recognizing Contributions, perform .docxAMMY30
**After reviewing the chapter on Recognizing Contributions, perform a self reflection and evaluate how well you recognize the contributions of your staff. For the assignment, develop an action plan for the next 12 months to improve your recognition efforts.
***Please write about and share what you gained.***
**Reflection paper and action plan (12 months) is the assignment requirement.
Textbook Reference
Kouzes, J. & Posner, B. (2012). The leadership challenge : how to make extraordinary things happen in organizations. San Francisco, CA: Jossey-Bass.
.
After reviewing the chapter on Recognizing Contributions, perform a .docxAMMY30
After reviewing the chapter on Recognizing Contributions, perform a self reflection and evaluate how well you recognize the contributions of your staff. For the assignment, develop an action plan for the next 12 months to improve your recognition efforts.
***Please reply when you are finished with this self-reflection and share what you gained.*** 2 page
Textbook Reference
Kouzes, J. & Posner, B. (2012). The leadership challenge : how to make extraordinary things happen in organizations. San Francisco, CA: Jossey-Bass.
.
After reviewing the background materials and doing your own research.docxAMMY30
After reviewing the background materials and doing your own research, discuss the value in looking at other countries’ policy successes and failures. How can it be beneficial to health policy development in our own country?
Be sure to support your answer with citations from reliable sources.
.
After reviewing the articles and videos, please address the followin.docxAMMY30
After reviewing the articles and videos, please address the following questions:
https://hbr.org/2016/05/different-cultures-see-deadlines-differently
https://hbr.org/video/2363497345001/reaching-across-cultures-without-losing-yourself
https://www.youtube.com/watch?v=4DSV1NUGS3o
1. How do you define cultural communication?
2. Do you agree with the concepts presented by Molinsky as he reviews the importance of global dexterity? Why or why not?
3. In your organization, what ideas regarding cultural communication do you think are important? How will you apply them as a leader?
Please reference a minimum of three external sources to support our points.
.
After reviewing Georgia v. Randolph and Fernandez v. Californi.docxAMMY30
After reviewing
Georgia v. Randolph
and
Fernandez v. California
, answer the following questions:
What defenses, if any, were asserted in these cases?
How did these cases impact law enforcement and prosecutors?
Do you agree with the U.S. Supreme Court’s decisions?
Were these decisions consistent with each other? How does consistency in legal decisions positively and negatively impact law-enforcement officers and attorneys?
.
After reviewing chapter 11 of the E-Text and the Required Resources .docxAMMY30
After reviewing chapter 11 of the E-Text and the Required Resources please discuss the following:
Discuss the challenges that law enforcement faces when seizing digital evidence and propose at least two solutions.
Discuss the five-paragraph SMEAC that should ideally find a place in any investigation plan. Which one of these do you feel is the most important? Why?
.
After reading Library ArticlesDevine, K., Kloppenborg, .docxAMMY30
After reading
Library Articles:
Devine, K., Kloppenborg, T. J., & O’Clock, P. (2010). Project measurement and success.
Journal of Health Care Finance,
38–50.
Sandrik, K. M. (2008). Navigating today's opportunities for capital.
Healthcare Financial Management, 62
(12), 78–83.
Schuhmann, T. M. (2009). Hospital capital spending: Shifting and slowing even before the financial meltdown.
Healthcare Financial Management, 63
(11), 92–102.
Answer the following:
Investment Decisions
What types of decisions would need to be made before the investment is made? Indicate the main kinds of information/data needed to evaluate this capital investment project.
.
After reading Trifles by Susan Glaspell complete the following works.docxAMMY30
After reading Trifles by Susan Glaspell complete the following worksheet:
“Trifles” Worksheet
Name: ___________________ Period ____
1. Title Implications: Explain what the word “trifles” literally means. ____________________________________________________________________ 2. Symbolic Setting.
A. Outside: What is the weather? ________________
Specifically, where is the murder site/ farmhouse located? ________________
B. Inside the house:
List two things that let the audience “feel” how literally cold it is: ____________________________________________________________________
3. List three significant details that are evidence of a poorly kept kitchen: ___________ ____________________________________________________________________
4. Thumbnail Sketch: Make a comment about each of the characters
A. Attorney Henderson_________________________________________________ B. Sheriff Peters ______________________________________________________ C. Mr. Hale __________________________________________________________ D. Mrs. Peters ________________________________________________________ E. Mrs. Hale _________________________________________________________
5. List two “put down” comments the men make against women: __________________ ____________________________________________________________________ ____________________________________________________________________
6. What evidence is there to suggest that John Wright was a hard man to live with ? ________________________________________________________________
7. Why hadn’t Mrs. Hale gone to see Minnie Wright in over a year? _______________ _____________________________________________________________________
8. Why does Mrs. Peters not like the phrase “married to the law”? _________________ ____________________________________________________________________
9. Why do the women hide the dead bird? ____________________________________
_____________________________________________________________________
10. What other action might they have taken?___________________________________
_____________________________________________________________________
How is each of these important?
A. John Wright’s decision not to pay for a party [shared] telephone line
B. Bird cage with broken door
C. Dead bird with its neck rung
D. Millie sang in the choir thirty years before
E. The quilt pieces
(The Log Cabin quilt pattern has been a favorite because it was a wonderful & frugal pattern for using up fabric scraps. In many of the old quilts the center square was red to symbolize the hearth of the home, its symbolic heart. The overall effect of the log cabin quilt is achieved by the use of light and dark fabrics and how they are arranged.)
.
After reading through Chapter 1, the focus was on targeting the five.docxAMMY30
After reading through Chapter 1, the focus was on targeting the five communities that make up the core field for ICT-enabled policy-making. Please answer the following question.
What are those five communities involved,
Provide a brief narrative for each community above to support your response
.
After reading There Is No Unmarked Woman, by Deborah Tannen, a.docxAMMY30
After reading "There Is No Unmarked Woman," by Deborah Tannen, answer the following question in a response 200 words long:
What is Tannen's strongest argument, or her strongest point, to support her thesis that women are unfairly scrutinized in society? Do you agree with her overall? Have things changed since she wrote this article in 1993?
.
After reading the U.S. Constitution and the Amendments respond t.docxAMMY30
After reading the U.S. Constitution and the Amendments respond to the following questions:
(i) What is the institutional power and the personal right you believe to be the most important, and explain why;
(ii) What is the institutional power and the personal right you would remove, and explain why;
(iii) What institutional power and personal right would you add to the U.S.
An institutional power is one that authorizes or limits action and/or organization of one of the three branches of government. Examples include the power of the legislative branch "to lay and collect taxes" (Art. I) or to not "make no law respecting an establishment of religion." (First Amendment)
A personal right is one that protects or empowers the people, such as "the right of the people to keep and bear arms." (Second Amendment)
Suggested length is 3-5 pages
Your points will be allocated on the following criteria:
Offering creative and/or critical opinions;
Expressing yourself clearly and concisely;
Forming logical arguments and conclusions;
Identifying and discussing counter-arguments;
Grammar and compliance with APA (6th edition).
.
After reading the two short primary source documents listed below, c.docxAMMY30
After reading the two short primary source documents listed below, construct an essay based on the following question:
How and why did black people use the language of the American Revolution—of natural rights—in freedom petitions to argue for their freedom and the abolition of slavery?
Your essay should be based on your reading and analysis of the primary source documents. Your paper should be 2 to 3 pages in length and use double-spacing and 12 point font. Please use MLA style.
.
After reading the section titled Dominant Microprocessor Company In.docxAMMY30
After reading the section titled “Dominant Microprocessor Company Intel Adapts to Next Trend” (Chapter 11 pg. 384-385) and the article titled “2018-2019 Intel Corporate Responsibility Report: Creating Value through Transparency,” complete a list of reasons how a single firm like Intel comes to dominate some markets.
Submission Details:
Response should be no less than 250 words
Follow the APA style of writing with in-text citations and a reference list.
.
After reading the section titled Dominant Microprocessor Compan.docxAMMY30
After reading the section titled “Dominant Microprocessor Company Intel Adapts to Next Trend” (Chapter 11 pg. 384-385) and the article titled “2018-2019 Intel Corporate Responsibility Report: Creating Value through Transparency,” complete a list of reasons how a single firm like Intel comes to dominate some markets.
Submission Details:
Response should be no less than 250 words
Follow the APA style of writing with in-text citations and a reference list.
.
After reading the paper for this week, Steinfield C, LaRose R, C.docxAMMY30
After reading the paper for this week, Steinfield C, LaRose R, Chew H, Tong S. Small and Medium-Sized Enterprises in Rural Business Clusters: The Relation Between ICT Adoption and Benefits Derived From Cluster Membership. Information Society. 2012;28(2):110-120. doi:10.1080/01972243.2012.651004, please answer the following questions in a 2-page main body APA formatted document. Please make sure that there is a title and references page. All references listed need to be cited in the document.
What kind of study is this? (Hint: the videos you watched)
Please make sure that you address the type of study and why you think this was used in this paper.
How is this paper related to the topics in this course?
Do you agree with the author’s conclusions?
.
After reading the Martin Luther King, Jr. speech in the attached lin.docxAMMY30
After reading the Martin Luther King, Jr. speech in the attached link, please write a 1-2 page response which addresses the following task: Summarize the excerpts from Martin Luther King, Jr.’s 1961 address defending the student sit-ins. Then, in your opinion, discuss the three main points made in Martin Luther King, Jr.’s address. Please explain your opinion in detail.
.
After reading the material from Shafer-Landau concerning the appeal .docxAMMY30
After reading the material from Shafer-Landau concerning the appeal of hedonism and the potential objections to the theory, what is your considered view on hedonism? Is it true or false as a moral theory? Do the advantages of hedonism outweigh the difficulties raised against it, or are the objections to hedonism fatal to the theory?
.
After reading the IMAA article this week on Effective Manageme.docxAMMY30
After reading the IMAA article this week on
Effective Management of Change during Mergers and Acquisition
, review the case study noted within the article on item 7. It is about a merger between AOL and Time Warner in 2001. There is a chart listed with the summary that shows the cultural differences between the two companies. Review that chart.
Using this as an example, conduct some research and find two companies that similarly merged or that was acquired by another company. Write a two-page summary of the merger or acquisition to include:
1 – the reasons why it occurred and when it occurred
2 - the approximate size of each company before the merger
3 - the organizational challenges faced
4 - was the merger successful or not and
why
5 - the state of the company now
Then include a simple four column chart similar to the example and show at least five cultural elements of the companies, the cultural differences in the two companies before the merger took place and then in the fourth column include the culture now in the acquiring company. List at least five cultural elements in the chart.
Cultural Element / AOL culture / Time Warner culture / Culture adopted
Your written assignment should be no less than 700 words. Avoid using direct quotes. Use your own words. If you do use any direct quotes, increase the length of your paper accordingly. Use APA citations and ensure you document where you found your data in a separate reference listing.
.
After reading the essay, Why Rational People Buy into Conspiracy Th.docxAMMY30
After reading the essay, "Why Rational People Buy into Conspiracy Theories," answer the following questions. Provide specific details to justify your reasoning:
What is a conspiracy theory? Identify and discuss at least two recent conspiracy theories mentioned on the news, social media, and/or internet.
How does the Internet and other media help "perpetuate paranoia" (12)?
Why do you think "rational people buy into conspiracy theories"?
.
Model Attribute Check Company Auto PropertyCeline George
In Odoo, the multi-company feature allows you to manage multiple companies within a single Odoo database instance. Each company can have its own configurations while still sharing common resources such as products, customers, and suppliers.
How to Make a Field invisible in Odoo 17Celine George
It is possible to hide or invisible some fields in odoo. Commonly using “invisible” attribute in the field definition to invisible the fields. This slide will show how to make a field invisible in odoo 17.
The French Revolution, which began in 1789, was a period of radical social and political upheaval in France. It marked the decline of absolute monarchies, the rise of secular and democratic republics, and the eventual rise of Napoleon Bonaparte. This revolutionary period is crucial in understanding the transition from feudalism to modernity in Europe.
For more information, visit-www.vavaclasses.com
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...Levi Shapiro
Letter from the Congress of the United States regarding Anti-Semitism sent June 3rd to MIT President Sally Kornbluth, MIT Corp Chair, Mark Gorenberg
Dear Dr. Kornbluth and Mr. Gorenberg,
The US House of Representatives is deeply concerned by ongoing and pervasive acts of antisemitic
harassment and intimidation at the Massachusetts Institute of Technology (MIT). Failing to act decisively to ensure a safe learning environment for all students would be a grave dereliction of your responsibilities as President of MIT and Chair of the MIT Corporation.
This Congress will not stand idly by and allow an environment hostile to Jewish students to persist. The House believes that your institution is in violation of Title VI of the Civil Rights Act, and the inability or
unwillingness to rectify this violation through action requires accountability.
Postsecondary education is a unique opportunity for students to learn and have their ideas and beliefs challenged. However, universities receiving hundreds of millions of federal funds annually have denied
students that opportunity and have been hijacked to become venues for the promotion of terrorism, antisemitic harassment and intimidation, unlawful encampments, and in some cases, assaults and riots.
The House of Representatives will not countenance the use of federal funds to indoctrinate students into hateful, antisemitic, anti-American supporters of terrorism. Investigations into campus antisemitism by the Committee on Education and the Workforce and the Committee on Ways and Means have been expanded into a Congress-wide probe across all relevant jurisdictions to address this national crisis. The undersigned Committees will conduct oversight into the use of federal funds at MIT and its learning environment under authorities granted to each Committee.
• The Committee on Education and the Workforce has been investigating your institution since December 7, 2023. The Committee has broad jurisdiction over postsecondary education, including its compliance with Title VI of the Civil Rights Act, campus safety concerns over disruptions to the learning environment, and the awarding of federal student aid under the Higher Education Act.
• The Committee on Oversight and Accountability is investigating the sources of funding and other support flowing to groups espousing pro-Hamas propaganda and engaged in antisemitic harassment and intimidation of students. The Committee on Oversight and Accountability is the principal oversight committee of the US House of Representatives and has broad authority to investigate “any matter” at “any time” under House Rule X.
• The Committee on Ways and Means has been investigating several universities since November 15, 2023, when the Committee held a hearing entitled From Ivory Towers to Dark Corners: Investigating the Nexus Between Antisemitism, Tax-Exempt Universities, and Terror Financing. The Committee followed the hearing with letters to those institutions on January 10, 202
2024.06.01 Introducing a competency framework for languag learning materials ...Sandy Millin
http://sandymillin.wordpress.com/iateflwebinar2024
Published classroom materials form the basis of syllabuses, drive teacher professional development, and have a potentially huge influence on learners, teachers and education systems. All teachers also create their own materials, whether a few sentences on a blackboard, a highly-structured fully-realised online course, or anything in between. Despite this, the knowledge and skills needed to create effective language learning materials are rarely part of teacher training, and are mostly learnt by trial and error.
Knowledge and skills frameworks, generally called competency frameworks, for ELT teachers, trainers and managers have existed for a few years now. However, until I created one for my MA dissertation, there wasn’t one drawing together what we need to know and do to be able to effectively produce language learning materials.
This webinar will introduce you to my framework, highlighting the key competencies I identified from my research. It will also show how anybody involved in language teaching (any language, not just English!), teacher training, managing schools or developing language learning materials can benefit from using the framework.
Acetabularia Information For Class 9 .docxvaibhavrinwa19
Acetabularia acetabulum is a single-celled green alga that in its vegetative state is morphologically differentiated into a basal rhizoid and an axially elongated stalk, which bears whorls of branching hairs. The single diploid nucleus resides in the rhizoid.
College for women department of information science
1. College for Women
Department of Information Science
Kuwait University
College of Computing Sciences and Engineering
Department of Information Science
COMP1231
Web Programming
Assignment #1
Due Date: Friday, February 26th, 11:59 pm
2. Weight: 7% of Final Grade
COMP1231 - ASSIGNMENT 1 2
Table of Contents
COMP1231 Assignment 1
...............................................................................................
............................. 3
3. Function 1: Student Information
...............................................................................................
.................... 4
Function 2: Calculate Change
...............................................................................................
........................ 5
Function 3: Miles to Kilometers
...............................................................................................
.................... 5
Function 4: Find Min and Max
...............................................................................................
...................... 6
Function 5: Count
Occurrences............................................................................
......................................... 6
Function 6: Convert Number Grade to Letter Grade
.................................................................................... 7
Function 7: Reverse the Order of the Array
...............................................................................................
... 7
Function 8: School Days Remaining
...............................................................................................
............. 7
Function 9: Count Vowels
...............................................................................................
............................. 8
5. Assignment Type: Individual Assignment
1. Description
In this assignment, you are to develop a JavaScript file that
contains the implementation of 10 functions. Each
function is represented as one step, and marks will be awarded
on the completion of each step (each function).
Each function is independent and solves a unique problem, as
such, treat and implement each function in isolation
of the others, that’s is, you should only focus on one problem at
a time.
PLEASE NOTE: Input validation is NOT required for any
function parameter – You may assume that all
input parameters provided to your functions, are all valid.
2. Objective
• Write decision-making statements and control structures to
solve problems
• Apply programming logic to solve basic to intermediate
problems
• Testing and debugging
6. 3. Learning Outcomes: After conducting this assignment
students will / will be able to:
1. Acquainted with implementing JavaScript functions
2. Follow instructions, and to implement various requirements
4. Instructions:
1. You are to create ONE JavaScript file which must be named
<STUDENT_ID>-functions.js, where
STUDENT_ID represents your student number.
2. The implementation for your 10 JavaScript functions must be
completed within your <STUDENT_ID>-
functions.js file.
You are NOT permitted to use any external files or libraries.
Using any external libraries will result in
a final grade of ZERO for your assignment submission.
3. Your JavaScript functions file must be configured for strict
mode (“use strict”)
7. The pages that follow provide the description of the 10
JavaScript functions that you must implement.
COMP1231 - ASSIGNMENT 1 4
Function 1: Student Information
function _one()
Create a JavaScript function that meets the following
requirements:
• Creates the following variables that assign your unique profile
information:
o your_name
o number_of_courses (this semester),
8. o program
o part_time_ job (true/false).
• Create a Boolean variable, set to true or false, based on
whether you have a part time job. Store the string
“have” or “don’t have” into another variable, based on the
Boolean.
• Display your student information to the cosole (console.log())
as illustrated below:
"My name is ???. I’m in the ??? program. I’m currently taking
??? courses." I ??? have a part
time job.
Where “???” should be replaced with your variable data
COMP1231 - ASSIGNMENT 1 5
9. Function 2: Calculate Change
function _two(cents)
Create a JavaScript function that meets the following
requirements:
• Is passed an integer parameter, representing a number of
Canadian cents.
• The function uses the parameter to determine the smallest
number of Canadian quarters, dimes, nickels and
pennies that are equal to the given (parameter) amount.
• Displays the calculated information as illustrated below:
Function 3: Miles to Kilometers
function _three(miles, kilometers)
Create a JavaScript function that meets the following
requirements:
• Receives two distances, one distance in miles and the other, a
distance in kilometers value.
• Converts the miles to the equivalent kilometer value
10. • Converts the kilometer value to the equivalent miles
• Displays the calculated information as illustrated below:
COMP1231 - ASSIGNMENT 1 6
Function 4: Find Min and Max
function _four( array )
Create a JavaScript function that meets the following
requirements:
11. • Receives an integer array as a parameter
• The function transverses the array to determine the minimum
and maximum values in the array.
• Displays the calculated information as illustrated below:
************** STEP 4 **************
Calling _four([-8, -1, -87, -14, -81, -74, -20, -86, -61, -10]);
The minimum value in the array is: -87, the maximum value is -
1
Function 5: Count Occurrences
function _five(string, char)
Create a JavaScript function that meets the following
requirements:
• Accepts two input parameters, a string and a character letter.
• The function determines the number of occurrences of the
character in the string.
• Displays the result to the console as illustrated below.
************** STEP 5 **************
12. Calling _five(“map”, “p”);
The word map has 1 occurrences of the character p
COMP1231 - ASSIGNMENT 1 7
Function 6: Convert Number Grade to Letter Grade
function _six( grade )
Create a JavaScript function that meets the following
requirements:
• Is passed a numeric grade, calculating and displaying the
corresponding letter grade based on:
100 - 90 = ‘A+’, 89 - 85 = ‘A’, 84 - 80 = ‘A’, 79 -76 = ‘B+’, 75
13. – 73 = ‘B’, 72 – 70 = ‘B-’, 69 – 66 = ‘C+’,
65 – 63 = ‘C’, 62 – 60 = ‘C-’, 59 – 56 = ‘D+’, 55 – 53 = ‘D’, 52
– 50 = ‘D-’, < 50 = ‘F’
• Displays the result to the console as illustrated below.
Function 7: Reverse the Order of the Array
function _seven(array)
Create a JavaScript function that meets the following
requirements:
• Receives character array
• The function reverses the order of the of the character array.
• Displays the results to the console as illustrated below:
************** STEP 7 **************
Calling _seven([j, p, g, F, c, x, A, c, q, I]);
Original order array = [j, p, g, F, c, x, A, c, q, I]
14. Reversed order array = [I, q, c, A, x, c, F, g, p, j]
Function 8: School Days Remaining
function _eight()
COMP1231 - ASSIGNMENT 1 8
Create a JavaScript function that meets the following
requirements:
• Receives no input parameters
• Determines the number of days until the end of the school year
• Please note the last day of the W2021 School Calendar is:
Friday, April 23rd, 2021
• Displays the result to the console as illustrated below
Function 9: Count Vowels
15. function _nine(word)
Create a JavaScript function that meets the following
requirements:
• Accepts a string parameter, counting the number of vowels
within the string.
• The function should be case insensitive, handling both upper
and/or lowercase letters.
• Displays the result to the console as illustrated below.
************** STEP 9 **************
Calling _nine(“flugelhorn”);
Vowel count: A=0, E=1, I=0, O=1, U=1, Y=0
Function 10: Alphabetical Order
function _ten(my_string)
16. Create a JavaScript function that meets the following
requirements:
COMP1231 - ASSIGNMENT 1 9
a. Create a JavaScript function that accepts a string parameter,
then organizes the string so it’s in alphabetical
order.
b. The function is case insensitive, that is, it does not
distinguish any difference between upper or lower case.
c. Displays the result to the console as illustrated below.
************** STEP 10 **************
Calling _ten(“Sameer”);
The string converted in alphabetical order is: aeemeS
COMP1231 - ASSIGNMENT 1 10
17. Submission Procedure and Rules
Please ensure to remove all instances of the following from
your final submission solution:
• document.write()
• innerHTML()
• alert()
• any commented code
• You should only have one console.log() per function, so any
debug related console output that
you may have used must be removed
Submission Procedure
1. In order to complete this assignment, you will need to create
the following TWO files.
I. <STUDENT_ID>-functions.js
As mentioned in the assignment instructions, this is where your
functions will be implemented.
A template of this file has been provided to you.
18. II. main.html
This file represents the HTML file that includes and calls your
JavaScript file and functions.
You must download and use the main.html file from following
location:
https://comp1231.gblearn.com/common/assignmentTemplate/as1
/main.html This template
contains instructions as to what exactly needs to be modified in
this file.
Students will be required to download
https://comp1231.gblearn.com/common/assignmentTemplate/as1
/main.html and add their student
id (matching student_id-functions.js file) and function names.
2. A JavaScript tester file will be made available that you can
utilize to assist with the testing of your solution.
The file is called s21a1tester.js and is already referenced within
the main.html. The test file will call your
functions and help you with the validation of your solution. The
file is served from gblearn server, and as a
consequence you will require an internet connection to run the
tester.
3. You must upload both your files (main.html and student_id-
functions.js) to the following directory in your
19. GBlearn account on or before the due date:
/comp1231/assignments/assignment1/
4. You must also submit your JavaScript file on my.gblearn.com
under comp1231/assignment 1.
Avoiding this step will result in a mark of ZERO for your
assignment submission. All
files/folders must be spelled exactly as specified above (all
lowercase without any spaces)
5. Late submissions are graded at a -10% penalty per day (five
day maximum)
We are going to use Moss
(https://theory.stanford.edu/~aiken/moss/ ) to detect similarities
in code among all
students. There will be zero tolerance for plagiarism. Please be
aware.
GOOD LUCK!
https://comp1231.gblearn.com/common/assignmentTemplate/as1
/main.html
https://comp1231.gblearn.com/common/assignmentTemplate/as1
/main.html
https://theory.stanford.edu/~aiken/moss/