3_Computer science grade 10Using Scripts_did mat 1_2 variant
Оценка 4.6

3_Computer science grade 10Using Scripts_did mat 1_2 variant

Оценка 4.6
docx
09.05.2020
3_Computer science grade 10Using Scripts_did mat 1_2 variant
3_Computer science grade 10Using Scripts_did mat 1_2 variant.docx

Didactical material

Name __________________ Class ______________________

Objective: 10.4.2.3 use ready-made scripts in web-development

1.      On one single line, declare three variables with the following names and values:

firstName = "John"

lastName = "Doe"

age = 35

var ____________ = "John"_________ lastName = ____________ = _______;

2.      Use comments to describe the correct data type of the following variables:

var length = 16;          //__________________

var lastName = "Johnson"; // _________________

var x = {

  firstName: "John",

  lastName: "Doe"

}; //____________ 

3.      Multiply 10 with 5, and alert the result:

alert(10 _____ 5); 

Divide 10 by 2, and alert the result:

alert(10 _______ 2);                  


 

Didactical material Name __________________

Didactical material Name __________________
Скачать файл