Friday, 16 January 2015

Week 31: January 12-16 Exercise 1

Hi!

       On monday, I'm late because of something I can't remember. But we made another exercise and nobody got this in our batch. And then on the next day, I did it! Yes! 


     Here is our exercise 1:



The While Loop

 A while loop is a control structure that allows you to repeat a task a certain number of times.

Syntax:

The syntax of a while loop is:
while(Boolean_expression)
{
   //Statements
}
When executing, if the boolean_expression result is true, then the action inside the loop will be executed. 
This will continue as long as the expression result is true.
Here, key point of the while loop is that the loop might not ever run. 
When the expression is tested and the result is false, the loop body will be skipped 
and the first statement after the while loop will be executed.

Example:

public class Test {

   public static void main(String args[]) {
      int x = 10;

      while( x < 20 ) {
         System.out.print("value of x : " + x );
         x++;
         System.out.print("\n");
      }
   }
}
This would produce the following result:
value of x : 10
value of x : 11
value of x : 12
value of x : 13
value of x : 14
value of x : 15
value of x : 16
value of x : 17
value of x : 18
value of x : 19
Taken from http://www.tutorialspoint.com/java/java_loop_control.htm
signing off...



Friday, 9 January 2015

Week 30: January 5 - 9: Frustrated!

  Hi!

           How sad? We did'nt enter to our ICT class for taking the scholarship exam in UPANG.  But it does'nt work because of unfortunate happenings like we're not prepared and others entered our ICT class. I hate it! I should've just entered to our ICT class. I promise not to repeat this kind of wrong decision.:)



          On the next day, we've checked our folders and files!:) I'm so very happy because I had improved myself  even how. And then we made an activity. As usual, I did'nt made it right. But I'll try in our house to study even though I can't understand.:)








signing off...

Friday, 2 January 2015

December 21- January 2 Welcome 2015!

 Hi!


Friday, 26 December 2014

December 22 - 26 Christmas Vacation

  Hi!

signing off...

Saturday, 20 December 2014

Week 29: December 15-19 Chill!

Hi!

     Done in flow chart 5! Oh Yeah! And its our christmas party!


     The purpose of a while loop is to execute a statement or code block repeatedly as long as expression is true. Once expression becomes false, the loop will be exited.





Following example illustrates a basic while loop:
<script type="text/javascript">
<!--
var count = 0;
document.write("Starting Loop" + "<br />");
while (count < 10){
  document.write("Current Count : " + count + "<br />");
  count++;
}
document.write("Loop stopped!");
//-->
</script>
This will produce following result:
Starting Loop
Current Count : 0
Current Count : 1
Current Count : 2
Current Count : 3
Current Count : 4
Current Count : 5
Current Count : 6
Current Count : 7
Current Count : 8
Current Count : 9
Loop stopped! 

                              That's all!

Taken from: http://www.tutorialspoint.com/javascript/javascript_while_loop.htm

  signing off...

Sunday, 14 December 2014

Week 28: December 8-12 Applying Flow Charts

Hi!

      Here are some examples on our flow charts..




        Each symbol has its own function within the program. Each symbol represents a piece of the code written for the program. The Start/End symbol can be used to represent either the beginning or ending of a program. The symbol for Process allows you to show how the program is functioning, like when you need the program to calculate two numbers or even analyze the information.
     When you decide to enter data, show it on the screen, or print it to paper, you use the Input/Outputsymbol. The Display symbol signifies that information is displayed to the user.





    There are many other symbols frequently used in flowcharts. The Decision symbol is used for things like If Statements, where you must choose an option based on a specified criteria. A decision question may be something as simple as If the grade is at least 70 then send out the messagePassing to the screen. Otherwise, send Failing to the screen.





Taken from: http://education-portal.com/academy/lesson/flowchart-symbols-in-programming-definition-functions-examples.html#lesson


signing off...




.

Sunday, 7 December 2014

Week 27: December 1-5 JavaScript 4

Hi!

  Well, we just continued typing and busy making flow charts.


Here are some examples of JavaScript 4...






  Looping Statements

     Looping statements are used to run the same block of code a specified number of times.
In VBScript we have four looping statements:
  • For...Next statement - runs code a specified number of times
  • For Each...Next statement - runs code for each item in a collection or each element of an array
  • Do...Loop statement - loops while or until a condition is true
  • While...Wend statement - Do not use it - use the Do...Loop statement instead



    The Nested Loops operator performs the inner join, left outer join, left semi join, and left anti semi join logical operations.
Nested loops joins perform a search on the inner table for each row of the outer table, typically using an index. Microsoft SQL Server decides, based on anticipated costs, whether to sort the outer input in order to improve locality of the searches on the index over the inner input.
Any rows that satisfy the (optional) predicate in the Argument column are returned as applicable, based on the logical operation being performed.
Nested Loops is a physical operator.

signing off...

Hi!

       On monday, I'm late because of something I can't remember. But we made another exercise and nobody got this in our batch. And then on the next day, I did it! Yes! 


     Here is our exercise 1:



The While Loop

 A while loop is a control structure that allows you to repeat a task a certain number of times.

Syntax:

The syntax of a while loop is:
while(Boolean_expression)
{
   //Statements
}
When executing, if the boolean_expression result is true, then the action inside the loop will be executed. 
This will continue as long as the expression result is true.
Here, key point of the while loop is that the loop might not ever run. 
When the expression is tested and the result is false, the loop body will be skipped 
and the first statement after the while loop will be executed.

Example:

public class Test {

   public static void main(String args[]) {
      int x = 10;

      while( x < 20 ) {
         System.out.print("value of x : " + x );
         x++;
         System.out.print("\n");
      }
   }
}
This would produce the following result:
value of x : 10
value of x : 11
value of x : 12
value of x : 13
value of x : 14
value of x : 15
value of x : 16
value of x : 17
value of x : 18
value of x : 19
Taken from http://www.tutorialspoint.com/java/java_loop_control.htm
signing off...



Week 31: January 12-16 Exercise 1

Friday, 16 January 2015
Posted by Unknown
  Hi!

           How sad? We did'nt enter to our ICT class for taking the scholarship exam in UPANG.  But it does'nt work because of unfortunate happenings like we're not prepared and others entered our ICT class. I hate it! I should've just entered to our ICT class. I promise not to repeat this kind of wrong decision.:)



          On the next day, we've checked our folders and files!:) I'm so very happy because I had improved myself  even how. And then we made an activity. As usual, I did'nt made it right. But I'll try in our house to study even though I can't understand.:)








signing off...

Week 30: January 5 - 9: Frustrated!

Friday, 9 January 2015
Posted by Unknown
 Hi!


December 21- January 2 Welcome 2015!

Friday, 2 January 2015
Posted by Unknown
  Hi!

signing off...

December 22 - 26 Christmas Vacation

Friday, 26 December 2014
Posted by Unknown
Hi!

     Done in flow chart 5! Oh Yeah! And its our christmas party!


     The purpose of a while loop is to execute a statement or code block repeatedly as long as expression is true. Once expression becomes false, the loop will be exited.





Following example illustrates a basic while loop:
<script type="text/javascript">
<!--
var count = 0;
document.write("Starting Loop" + "<br />");
while (count < 10){
  document.write("Current Count : " + count + "<br />");
  count++;
}
document.write("Loop stopped!");
//-->
</script>
This will produce following result:
Starting Loop
Current Count : 0
Current Count : 1
Current Count : 2
Current Count : 3
Current Count : 4
Current Count : 5
Current Count : 6
Current Count : 7
Current Count : 8
Current Count : 9
Loop stopped! 

                              That's all!

Taken from: http://www.tutorialspoint.com/javascript/javascript_while_loop.htm

  signing off...

Week 29: December 15-19 Chill!

Saturday, 20 December 2014
Posted by Unknown
Hi!

      Here are some examples on our flow charts..




        Each symbol has its own function within the program. Each symbol represents a piece of the code written for the program. The Start/End symbol can be used to represent either the beginning or ending of a program. The symbol for Process allows you to show how the program is functioning, like when you need the program to calculate two numbers or even analyze the information.
     When you decide to enter data, show it on the screen, or print it to paper, you use the Input/Outputsymbol. The Display symbol signifies that information is displayed to the user.





    There are many other symbols frequently used in flowcharts. The Decision symbol is used for things like If Statements, where you must choose an option based on a specified criteria. A decision question may be something as simple as If the grade is at least 70 then send out the messagePassing to the screen. Otherwise, send Failing to the screen.





Taken from: http://education-portal.com/academy/lesson/flowchart-symbols-in-programming-definition-functions-examples.html#lesson


signing off...




.

Week 28: December 8-12 Applying Flow Charts

Sunday, 14 December 2014
Posted by Unknown
Hi!

  Well, we just continued typing and busy making flow charts.


Here are some examples of JavaScript 4...






  Looping Statements

     Looping statements are used to run the same block of code a specified number of times.
In VBScript we have four looping statements:
  • For...Next statement - runs code a specified number of times
  • For Each...Next statement - runs code for each item in a collection or each element of an array
  • Do...Loop statement - loops while or until a condition is true
  • While...Wend statement - Do not use it - use the Do...Loop statement instead



    The Nested Loops operator performs the inner join, left outer join, left semi join, and left anti semi join logical operations.
Nested loops joins perform a search on the inner table for each row of the outer table, typically using an index. Microsoft SQL Server decides, based on anticipated costs, whether to sort the outer input in order to improve locality of the searches on the index over the inner input.
Any rows that satisfy the (optional) predicate in the Argument column are returned as applicable, based on the logical operation being performed.
Nested Loops is a physical operator.

signing off...

Week 27: December 1-5 JavaScript 4

Sunday, 7 December 2014
Posted by Unknown
 

Blog Template by YummyLolly.com - Header made with PS brushes by gvalkyrie.deviantart.com
Sponsored by Free Web Space