Wednesday, December 10, 2014
Password Validation
Today will continue the Password Validation program. Students will apply form elements and javascript.
This will also prepare students for the final program.
Thursday, December 4, 2014
Tuesday, December 2, 2014
Monday, December 1, 2014
We will have a quiz today applying IF/Then statement.
Instructions:
1. Edit your ECS page and add the following link "6. Quiz no. 1 IF/THEN"
2. Create another page entitled "Quiz no. 1 IF/THEN".
3. Create a javascript to solve the problem below.
Given 3 int values, a b c, return their sum. However, if one of the values is 13 then it does not count towards the sum and values to its right do not count. So for example, if b is 13, then both b and c do not count.
luckySum(1, 2, 3) → 6
luckySum(1, 2, 13) → 3
luckySum(1, 13, 3) → 1
Instructions:
1. Edit your ECS page and add the following link "6. Quiz no. 1 IF/THEN"
2. Create another page entitled "Quiz no. 1 IF/THEN".
3. Create a javascript to solve the problem below.
Given 3 int values, a b c, return their sum. However, if one of the values is 13 then it does not count towards the sum and values to its right do not count. So for example, if b is 13, then both b and c do not count.
luckySum(1, 2, 3) → 6
luckySum(1, 2, 13) → 3
luckySum(1, 13, 3) → 1
Thursday, November 20, 2014
Objectives
Today students will learn control statements,
they will understand the syntax of If/Then statement,
they will use If/Then statement to create a simple program,
they will work/improve their blog and post Javascript application #4.
Good Luck!
Wednesday, November 19, 2014
Subscribe to:
Posts (Atom)