0% found this document useful (0 votes)
66 views1 page

HSYD300 1 Jan June2022 T&L STM W7 V1 23032022

System dev 3 work ex 7 questions

Uploaded by

Bonginkosi
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)
66 views1 page

HSYD300 1 Jan June2022 T&L STM W7 V1 23032022

System dev 3 work ex 7 questions

Uploaded by

Bonginkosi
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
You are on page 1/ 1

Teaching and Learning Activity

Module: Systems Development 3 (HSYD300-1)


Week number (Date): 3 (31 March 2022)
Unit covered: Chapter 14 - 16

To enrich your learning experience at Boston even further, and to ensure that you are exposed to a
variety of resources in this module, announcements will be posted every week containing additional
materials or activities for you to work through.

It is important to note that these activities are neither compulsory nor weighted, but that it will be to your
advantage to participate. The purpose of the activities is to help you better understand the content of
your weekly unit/s of study, and it will assist in creating insight and deeper meaning.
This activity is based on Chapter 13 to Chapter 15 of the prescribed courseware for this module. The
suggested solutions for this activity will be posted on ColCampus on Thursday next week.

Question 1
In very simple terms, explain the use of JavaScript in developing web content.

Question 2
Use the JavaScript if… statement to determine if a person qualifies to drive a vehicle on public roads.
In your code, put the age of 20 as input and use that to test if at that age, a person qualifies for driving.
Assume that the legal age for driving is over 16 years.

Question 3
What would be the program’s output if the age provided in the code is below 16 e.g., 14? Refactor
your code in Question 2 so that the program can also issue appropriate output if the age provided is
below the legal age for driving e.g., 14 years.

Question 4
Explain the following terms in the context of JavaScript.
4.1 A Function?
4.2 A Function Declaration
4.3 A Function Expression

1 HSYD300-1-Jan-June2022-T&L-StM-W7-V1-23032022

You might also like