Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Noun Phrase Identification Technique-Learning Java Language- Lab Assignment, Exercises of Java Programming

This lab assignment was given by Sir Tariq Khursheed at Deenbandhu Chhotu Ram University of Science and Technology. It includes: Object-oriented, Noun, Phrase, Identification, Technique, class, Instance, Variables, List

Typology: Exercises

2011/2012

Uploaded on 07/12/2012

yumni
yumni 🇮🇳

5

(2)

27 documents

1 / 2

Related documents


Partial preview of the text

Download Noun Phrase Identification Technique-Learning Java Language- Lab Assignment and more Exercises Java Programming in PDF only on Docsity! Reg#.......................................... Name:……………………………. Object Oriented Programming Q: perform all the six steps of noun phrase identification technique to identify the classes, instance variables, and methods in the following text. A book shop maintains the inventory of books that are being sold at the shop. The list includes details such as author, title, price, publisher and stock position. Whenever a customer wants a book, the sales person inputs the title and author and the systems search the list and displays whether it is available or not. If it is not, an appropriate message is displayed. If it is, then the system displays the book details and requests for the number of copies required. If the requested copies are available, the total cost of the requested copies is displayed; otherwise the message “Required copies not in stock” is displayed. Book Title:String Author: String accNo:int searchBook(isbn): Book addBook(isbn): bool deleteBook(isbn):bool editBook(isbn):void Library Booklist[3][3]:Book menu(); Booklist is the list of books containing books of various categories. Each row in the array corresponds to a category. 0 1 Docsity.com
Docsity logo



Copyright © 2024 Ladybird Srl - Via Leonardo da Vinci 16, 10126, Torino, Italy - VAT 10816460017 - All rights reserved