Wednesday, December 3, 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
Friday, November 21, 2014
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!
Tuesday, November 18, 2014
Monday, November 10, 2014
Today in Period 3;
> Students will introduced to java script, reasons why they need to learn java script;
> Learn what java script can do,
> Learn the structure of java scripting and where to apply java script,
> Learn the different java script output,
> Learn basic syntax of java script,
> Learn java script statements;
> Learn how to add comments and the importance of comments.
> Students will introduced to java script, reasons why they need to learn java script;
> Learn what java script can do,
> Learn the structure of java scripting and where to apply java script,
> Learn the different java script output,
> Learn basic syntax of java script,
> Learn java script statements;
> Learn how to add comments and the importance of comments.
Subscribe to:
Posts (Atom)