

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


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.
Title:String Author: String accNo:int searchBook(isbn): Book addBook(isbn): bool deleteBook(isbn):bool editBook(isbn):void Library Booklist[3][3]:Book menu();
Reg#.......................................... Name:…………………………….