[go: up one dir, main page]

0% found this document useful (0 votes)
5 views3 pages

ICT102

Ict sheet

Uploaded by

warriord876
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views3 pages

ICT102

Ict sheet

Uploaded by

warriord876
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

T322 : ICT102 Introduction to Programming

Tutorial 1

Topic: Introduction to Java Tools

Submission: End of Week

This tutorial will introduce you to the tools needed for programming, You will also be
introduced to the basics of configuring the Java Runtime Environment, creating a Java file,
compiling and running a Java program.

Exercise 0: Installing Eclipse for Personal Computers

Please download from the following link

https://www.eclipse.org/downloads/

Install on the computer and Run.

Exercise 1: First Java application

Follow the instruction for HelloWorld tutorial in Eclipse.

If it is not visible open the Welcome screen by clicking on Help->Welcome

Next click on the Tutorials and select the Java Development-> HelloWorld application.
Exercise 2: Declaring variables

- Declare two integer variables x and y,

- Assign them any values.

- Print addition/subtraction/multiplication and division of these two variables on to the screen

Submission Task (- Grade 1%)

Follow the same steps as in Exercise 2, but change the step 2 to ask the user for input for these values
by using Scanner class.
Alternatives to Eclipse

Best is to use Eclipse desktop installation (as in Exercise 0). If you are unable to get it then you may use
some other editors or online tools to edit your projects, but the instructions in labs might not match.

If you are unable to install because of any version issues you can try to use the online IDE at the below
link

https://www.eclipse.org/che/

As another alternative below online editor can also be used

https://www.codiva.io/

Please discuss with your tutor for any specific issues.

----------------------------------------------------------------

You might also like