Programming Fundamentals I Java Programming Spring 2009 Instructor: Xuan Tung Hoang TA: Tran Minh Trung Lab guide #5.

Slides:



Advertisements
Similar presentations
We now view the Display Settings drop down menu for the Medline Format, 20 Items per Page and Recently Added Sort by options. To display click on the Apply.
Advertisements

RCFN.MDB Setup This is an ACCESS 2000 format database Save the RCFN.MDB database to your local or network drive Open the RCFN.MDB Click on the Tools Menu.
CourseWhere Guide for Instructors. To view, print and update Attendance and Grades Log on to CourseWhere using your ID and password Link to CourseWhere:
Library Online Catalog Tutorial Pentagon Library Last Updated March 2008.
Guide to using the myNATE website
Lakeland Click arrow to advance show. Notice the tabs. You may search by Keyword, Title, Author, Subject or Search OhioLINK. Keyword is the default.
Uploading a Turnitin Assignment Faculty of Humanities and Social Sciences.
Overseas Library Catalog – Request Item Overseas Library Catalog Request loaned item.
Blackboard 7 Student Tutorial Series How to Use the Task Feature.
COMS S1007 Object-Oriented Programming and Design in Java July 15, 2008.
Course Orientation Assignments Tool. If the Assignments tool has been added to the course, use the Assignments link in the Course Menu to access upcoming.
Quizzes and Surveys. Overview Introduction Beginning Saving Submitting Results.
Overseas Library Catalog – Basic Search Overseas Library Catalog Basic Search by Title: “ The Middle East: geography and geopolitics” by Ewan W. Anderson.
The Online Activities Module OAM Describing the F-7 & F-7A.
Defense travel system READ AND SELECT Full SSN, no dashes. Add the letter “G” at the end if the profile is for your M-day status travels. Use SSN without.
Logging in Once your account has been established, you can log into the system using your address and the password that was ed to you. If.
Overdrive on Android Devices Tutorial. eBooks Overdrive.
© 2007 CBHL The CBHL Distributed Library The Council on Botanical and Horticultural Libraries Copy Requests and Interlibrary Loans Using the CBHL Distributed.
User Guide for Individuals. Starting at crcnetbase.com, you will see the home page, if you are accessing through your university, you will see the university’s.
NATE Training Provider Portal Guide to using the myNATE website Submitting Class Rosters.
English version of the subjects. How and where to submit the report Please submit your report using CD-R or DVD-R with a soft or hard case, which include.
Xiaoying Gao Computer Science Victoria University of Wellington Copyright: Xiaoying Gao, Peter Andreae, Victoria University of Wellington Call a Method,
TST BOCES SCOOLS (South Central Organization of (School) Library Systems) INTERLIBRARY LOAN PROCESS…..An Overview Created by Michele Barr, TST ILL Login.
VG101 RECITATION 1 By TAs. CONTENTS Intro to SAKAI Intro to APG Intro to Online Quiz System Installation of VS2005 and possible resources Some common.
1. In the library Use the OPAC (Online Public Access Catalogue) 2. In the labs Use the library portal/catalogue 3. Off campus Use the library website/catalogue.
1 Georgia Tech, IIC, GVU, 2006 MAGIC Lab Rossignac Lecture 02b: Tutorial for Programming in Processing Jarek Rossignac.
Xiaoying Gao Computer Science Victoria University of Wellington Copyright: Xiaoying Gao, Peter Andreae, Victoria University of Wellington Exercise, printf,
NYS Division of Homeland Security And Emergency Services (DHSES) E-Grants Tutorial Creating an Application for the EOC RFP To access DHSES E-Grants you.
How to Create Your ILLiad Account Here is a step-by-step guide to creating an ILLiad Account, your gateway to your extended library.
Programming Fundamentals I Java Programming Spring 2009 Instructor: Xuan Tung Hoang TA: Tran Minh Trung Lab 03.
Braille + Mobile Manager And NLS Books 1 Part 1: from the Computer Part 2: Using the Braille +
Registering for Virtual Labs™
Library Books exercise cosc The classes Library class +ArrayList -ArrayList + Library() +initializeDefaultCategories():void +displayAllCategories():void.
Federal Acquisition Service U.S. General Services Administration
Spring 2009 Programming Fundamentals I Java Programming XuanTung Hoang Lecture No. 8.
Turn It In Getting Started. Access and click on Create an Account.
How To Request (Reserve) A Book ?. Online Request (Reserve) To request a book, enter the book title, e.g. “Malaysian taxation principles and practices”,
Print Row Function void PrintRow(float x[ ][4],int i) { int j; for(j=0;j
Login Screen Step 1: Please Enter your individual Login Id and Password Step 2: Click on Submit Button.
Guide to: Checking community service hours. Step 1  Log onto your My Missouri State account.
1 Project 5: Leap Years. 222 Leap Years Write a program that reads an integer value from the user representing a year and determines if the year is a.
How to register and create an online class as a teacher.
Programming Fundamentals I Java Programming Spring 2009 XuanTung Hoang Lab 01.
Netbeans QuickStart. Creating a project File->New Project –For now you want General->Java Application –Then fill in the project details.
XuanTung Hoang 1 Something to discuss Feedbacks on Midterm Exam Final exam and term project  Final exam requires solid knowledge/skills in Java  Be more.
BIS Lab 1. Homework server 2 Ex) 15DSA (15DSA(student number)) 0000(The initial password is ‘0000’) If you’re in Class1 -> 15DSA(student number)
How to students in your class using Owl Link Updated
Instant Enrollment Tutorial Updated March 21, 2012.
Lecture Five The Project 1. Wen Yu BNUZ LIMS Description Design a simple Library Information Management System (LIMS) for an university The system includes.
2016 Program Terms Report EHB Submission System Guide
Citation format 1 The “Citation” display option is similar to the abstract display but has some extra information such as MeSH terms and substances listed.
Online Student Orientation
Library Reserve System
The Smarter Balanced Assessment Consortium
The Smarter Balanced Assessment Consortium
Students How to register and join an online class as a student.
Fort Madison Public Library eBook & audiobook download
الوحدة الرابعة البرمجة وصياغة حل المسائل البرمجة وأهميتها أهداف الدرس الأول مفهوم البرمجة. الفرق بين المبرمج ومستخدم البرنامج. الحاجة إلى البرامج.
What you will need to Register
Vendor Portal Registration Procedures
Paper Submission Process
Paper Submission Process
Paper Submission Process
For Create a new account , For Registration Click New Register Link
Overdrive.
The Smarter Balanced Assessment Consortium
The Smarter Balanced Assessment Consortium
Dear colleague: We hope that the information within this file, will help you to sign up and submit your abstract.
New User Registration Click the ‘Register’ link to create your profile.
Presentation transcript:

Programming Fundamentals I Java Programming Spring 2009 Instructor: Xuan Tung Hoang TA: Tran Minh Trung Lab guide #5

XuanTung Hoang 2 LibMan - Project BookRec class -Title: String -ID: Int -Ammount: Int -Available: Int +setTitle(String title): void +getTitle(): String +setID(int ID): void +getID():int +setAmount(int anAmount):void +getAmmount():int +update(int n): void +getnAvailable():int LibMan class -libTitle: String -nBookshelves: Int -books: BookRecs +setTitle(String title): void +getTitle(): String +setnBookshelves (int n): void +getnBookshelves ():int +showLibInfo():void +addNewBook():void +placeBooktoBookshelf(int bookshe fID,BookRec bRec): void +bookStatus(int bookID):boolean +borrowBook(int bookID):void +returnBook(int bookID):void N 1 1 TestLibMan -option: int +main():void +showMenu():void +askOption():void

XuanTung Hoang 3 LibMan – new functions addNewBook()  Add new book bookStatus(bookID)  Available: Retuns true, Print out Title, # of books left  Otherwise: Return false borrowBook(bookID)  Check if the book is available or not  If available then borrow, and update the # of books left  Show again the updated status returnBook(bookID)  Update the # books left  Show again the updated status

XuanTung Hoang 4 LibMan – Template & requirements Links:    Requirements  Understand problem  Understand the structure of template code  Complete missed codes (fill in … area) Note: You can design your own program for solvi ng the problem

XuanTung Hoang 5 Templates & output examples TestLibMan.java C:\java TestLibMan ========== Main menu ======== 1. Show library information 2. Add new book 3. Show book's status 4. Borrow a book 5. Return a book ============================== Enter menu ID (1-5):

XuanTung Hoang 6 addNewBook() 2. Add new book Enter book's information: (1)Possition: 1 (2)(2) ID: 1 (3) Amount: 20 (4) Title: Java tutorial 2009

XuanTung Hoang 7 bookStatus(bookID) 3. Show book's status Enter book's ID: 1 Book title: Java tutorial 2009 Bookshelf ID: 1 Total amount: 20 Left amount: Show book's status Enter book's ID: 1 Book title: Java tutorial 2009 Bookshelf ID: 1 Total amount: 20 Left amount: 20

XuanTung Hoang 8 borrowBook(bookID) 4. Borrow a book Enter book's ID: 1 Book title: Java tutorial 2009 Bookshelf ID: 1 Total amount: 20 Left amount: 20 The book is borrowed successfully! Book title: Java tutorial 2009 Bookshelf ID: 1 Total amount: 20 Left amount: 19

XuanTung Hoang 9 returnBook(bookID) 5. Return a book Enter book's ID: 1 The book is returned successfully! Book title: Java tutorial 2009 Bookshelf ID: 1 Total amount: 20 Left amount: 20

XuanTung Hoang 10 Submission and Report Due: Right after lab time Compress your source/class files into a ZIP file Name the zip file according with the following template:  StudentID_labNumber.zip Example: _lab4.zip Submit the file to TA  address:  Subject: “StudentID_ICE0124_lab4” Example: _ICE0124_lab4