Monday, 22 October 2012

Is project management a worthwhile skill to learn?


My opinion here is it depends on whether you are going to become a team manager for big projects or not.  If your team is just working on smaller projects for small businesses, maybe developing a website, or setting up a network for the business, you would only need some basic knowledge and skill in directing a small team through a series of jobs.  On the other hand, if the project was something big, like developing and programming software for a big company that will be widely used, or undertaking a big restoration task for an old building, then this is an extreme case where you will need expert skills to be able to do the job efficiently and effectively.

Sunday, 21 October 2012

Yeah... about the embedded javascript...

Apologies about the immediate prompt as soon as you enter the blog.
I'm putting up my JavaScript folio tasks embedded into the blog posts.

I'll have it fixed shortly

Saturday, 20 October 2012

Here's a 7 minute video that I made to give you a better idea on how to use the basic for loop.  Enjoy :)

Wednesday, 17 October 2012

My four folio items


Folio 1:
//Convert a given temperature to a comment on the weather
var temp = prompt("Enter Temperate in Degrees Celsius") 
//Gather temperature data from the user and set the var temp to it.

if(temp < 0)
//if statement tests for entered temperature and categorises it accordingly {
document.write("It's freezing out there!")
}
else if(temp > 25) //High temp
{
document.write("It's hot out there!")
}
else //i.e. 0 <= temp <= 25
{
document.write("You don't need skis or boardshorts")
}

Folio 2:

var width = prompt("Enter the width of the window in meters:")

var height = prompt("Enter the height of the window in meters:")

var sqm = prompt("Enter the price per square meter in $:")

document.write("Width = "+width)
document.write("<br>")
document.write("Height = "+height)
document.write("<br>")
document.write("Area = "+(height*width))
document.write("<br>")
document.write("Price = $"+(height*width*sqm))

Folio 3:

var noPizza = prompt("Please enter the number of pizzas:")
//get no. of pizzas

var toppings = prompt("Please enter the toppings per pizza:")
//get no. of toppings every pizza

var toppingstotal = noPizza*toppings
//calculate the total no. of toppings required

var baseprice = noPizza*7
// coz each pizza costs $7

var toppingsprice = toppingstotal*0.6
//coz each topping costs 60 cents

var totalcost = baseprice+toppingsprice

document.write("Your order price is $"+ totalcost)

Folio 4:

var name = prompt("Please enter your name:")
var no1 = parseInt(prompt("Please enter the first number of your operation"))
var no2 = parseInt(prompt("Please enter the second number of your operation"))
var op = prompt("Please enter the mathematical operation (+, -, * or /)")

if (op === "+")
{
document.write(no1 + no2)
}
else if (op === "-")
{
document.write(no1 - no2)
}
else if (op === "*")
{
document.write(no1 * no2)
}
else if (op === "/")
{
document.write(no1 / no2)
}

document.write("<br><br>")
document.write("Well done "+name)


Monday, 8 October 2012

Functions

I've been learning all about functions in JavaScript and C.  They're very interesting and useful, especially in passing arguments when calling them, and I have been using functions this way in programming my christmas lights.

Sunday, 7 October 2012

Here's what I'm up to on the Codeacademy website:

Thursday, 13 September 2012

More progress on code academy is going well.  I'm just learning about functions - how to declare them and call them - a very useful concept and also available in basically all other programming languages.  I've also been told about interrupts which I think are so cool.  Interrupts are basically a subroutine (function) that is automatically called based on some form of input or a clock (timer).
From http://tldp.org/LDP/tlk/dd/interrupts.html