CIW Course Revision Site
Click here for domain name registration and web hosting

Tutor Marked Assignment JS TMA-02

In a Nutshell - CIW Course Section 2 Part A

JS TMA-02 - CD Access Code: 7299

Q1. Which of the following statements are correct?

Q2. Indicate, using 1, 2, 3 or 4 (1 being the highest, 4 the lowest), the precedence of the following operators:

Q3. The _____ statement repeats a group of statements for a particular range of values.

Q4, Which of the following statements are correct?

Q5. Which of the following pieces of coding contain correct syntax?

a) function saleItem(){
var item = prompt("Item name?","");
alert("You entered: " + item);
}
b) function saleItem()(
var item = prompt("Item name?","");
alert("You entered: " + item);
)
c) function saleItem(){
var item = prompt["Item name?",""];
alert["You entered: " + item];
}
d) function saleItem()[
var item = prompt("Item name?","");
alert("You entered: " + item);
]

Q6. Indicate which of the following statements are correct:

Q7. Indicate which of the following statements are correct:

Q8. Which of the following statements are correct:

Q9. There are two types of loop control statement, the ________ statement and the ________ statement.

Q10. Which of the following statements are correct:

Design by Stephen

Certified Internet Webmaster

Page last Edited: 25 Nov 2011