Java程序辅导

C C++ Java Python Processing编程在线培训 程序编写 软件开发 视频讲解

客服在线QQ:2653320439 微信:ittutor Email:itutor@qq.com
wx: cjtutor
QQ: 2653320439
COMP6442 - lab01 - CECS - ANU Skip navigation Computer Science Courses ANU College of Engineering & Computer Science EXPLORE ANU »   Home About Study Research Giving Alumni Current students Staff News Events Maps Library Jobs       ANU College of Arts & Social Sciences ANU College of Asia & the Pacific ANU College of Business & Economics ANU College of Engineering & Computer Science ANU College of Law ANU College of Medicine, Biology & Environment ANU College of Physical & Mathematical Sciences » more academic areas A-Z INDEX » A B C D E F G H I J K L M N O P Q R S T U V W X Y Z Search query Search button Computer Science Courses ANU College of Engineering & Computer Science Computer Science Courses School of Computer Science Current students Courses list COMP6442 Home Schedule Lecture Notes Assignments Labs/Tutorials Old Exams Marks and Lab registration Announcements Discussion People Related sites Wattle Forums ANU College of Engineering & Computer Science Current students (ANU) COMP 2100/2500/6442: Lab 1 - Tools for Software Development The objective of this lab is to get familiar with ssh, gitlab and a powerful text editor while getting a quick refresher in Java programming. Pre-lab Tasks - Mastering key tools [2 marks] These tasks must be completed BEFORE THE LAB and are marked off at the beginning of the scheduled lab period. Tutors may take up to 10 minutes to mark the pre-lab exercises of all students. SSH & GITLAB On a Linux machine using the command line: Set up an ssh public/private key pair that you can use for the gitlab server. Add your public key to the gitlab server at gitlab.cecs.anu.edu.au Create a "helloworld" project in CECS gitlab Clone this repository into a directory on a Linux machine Text editor It is crucial to be familiar with a powerful text editor or IDE to be productive while writing code. There are two kinds of text editors, those that run on the terminal such as vim, emacs; and those that have a GUI such as gedit. An IDE goes further than a text editor and provides features that allow a programmer to debug and run code from within the IDE. A very popular and common IDE for Java programming is eclipse. You should be comfortable using a text editor and an IDE. Open a HelloWorld.java file using your favourite text editor or IDE Write a simple program that prints "Hello World!" to standard output. Compile and run this program Add and commit this HelloWorld.java file to local git repo and then push it to the gitlab server In-class Activity [2 marks] Java Programming Create a project called lab_practice on your CECS gitlab server Add your tutor as a master to this project Write a program in Java to simultaneously compute the maximum and minimum values in an array. Use the ArrayList data structure. Use a random number generator to initialize values in the array. Add and commit this program to the lab_practice project Compile and run this program and see that it generates the correct output Updated:  23 February 2016 / Responsible Officer:   JavaScript must be enabled to display this email address. / Page Contact:   JavaScript must be enabled to display this email address. / Powered by: Snorkel 1.4 Contact ANU Campus Map Copyright Disclaimer Privacy Freedom of Information +61 2 6125 5111 The Australian National University, Canberra CRICOS Provider : 00120C ABN : 52 234 063 906