Tuesday, March 31, 2009

Computer Architecture and Systems Portfolio Assessment Project

.


hello friends!

This Assessment Project will cover all the details about the equipment and costs involved in building our new office network system with 3 departments consisting of 15 machines.

At the very first step of project I want to assess the equipments which are required to build the office network system and also the capital costs involved .





Thus according to the analysis the estimated cost of the equipment will be 7309.00.


Report On The Network System Implementation

In the implementation of the network system in our new office we are going to choose the LAN network system. As we don’t need a lot of data transfer from our office to some wide area networks.

In our new office network, we are going to divide the 15 machines in three departments ( Pay roll, Finance and Hr ) and hence we have to look in to the division of machines now according to my own plan I would like to place 2 machines in payroll department, two machines in the hr department, one machine at front desk, two at the managers cabin and the remaining 5 computers in the finance department of the new office.

As we have three High performance machines, according to the plan we have to distribute one machine at the managers desk and the remaining two in the finance department of new office.

All the machines will run on the windows XP operating system as the employees are well aware of this, and doesn’t require further training.
.
Thanks
Raheel Ahmed.
.

Monday, March 30, 2009

Java Codes For CRAB & LOBSTER Subclasses


.




.



Hello Friends!

The following is the code for crab and Lobester which is nothing but a set of instructions written in Java and the creatures react to these instruction.

Code for Crab :

public class lobster extends Animal

{

/*** Act - do whatever the lobster wants to do. This method is called whenever* the 'Act' or 'Run' button gets pressed in the environment.*/

public void act()
{
if (atWorldEdge())
{
turn(17);
}
move();
if (Greenfoot.getRandomNumber(100) > 90)
{
turn(Greenfoot.getRandomNumber(90)-45);
}
if (canSee(Crab.class))
{
eat(Crab.class);
}
}
}


Code for Lobster :

public class lobster extends Animal
{
/*** Act - do whatever the lobster wants to do. This method is called whenever* the 'Act' or 'Run' button gets pressed in the environment.*/

public void act()
{
if (atWorldEdge())
{
turn(17);
}
move();
if (Greenfoot.getRandomNumber(100) > 90)
{
turn(Greenfoot.getRandomNumber(90)-45);
}
if (canSee(Crab.class))
{
eat(Crab.class);
}
}
}

By entering this code we can make lobster and crab to behave according to the game and we can also make appropriate changes to the code whenever neccessary.

Thanks
Raheel Ahmed.



.

Tuesday, March 10, 2009

Programme log (crab)

.

Hello friends!
The following table contains the update of all the programming we have done with the crab scenario today. Please have a look….

thanks

Raheel Ahmed


.

Programming log

.

Hello all
The following table contains the tasks alloted to me by John and have been successfully accomplished during the class work on 09 march 2009.

Thanks

Raheel Ahmed.

.

Monday, March 9, 2009

What is Green foot?

.


When you take a step into Java, sometimes people find it easier to learn things when there is something visual. Java is an effective platform to build a UI on, but if you’re a beginner or even an intermediate user of Java, it can be certainly overwhelming. So there is Greenfoot

It’s a framework, from the makers of the Java editor, BlueJ, that allows people to code in Java using a simple and robust API to code a visualized game. That’s a mouthful, I know, but it’s a lot easier to understand broken down. Basically, Greenfoot has a world and from there you extend it to be your world and stage for everything that is interactive. Then you have Actors which can be nearly anything, like Spaceships, Fish, people or circles. You get to code the rest from there. Any thing involving logic is done by you and all of the visual stuff is just put into a folder then referenced using the fancy methods provided by Greenfoot.
.