paper 2011 final

Upload: malith-madushan

Post on 02-Jun-2018

215 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/10/2019 Paper 2011 Final

    1/5

    1

    University of Sri JayewardenepuraFaculty of Management studies and commerce

    End Semester Examination: Year I, Semester II (August 2011)

    ITC1321 Introduction to Information Technology II

    Duration: One and half (1 ) hours

    Question 01

    Nenasa is a library facility which is fully funded and maintained by a charitable organization.

    At present, the library is equipped with nearly 20,000 books belonging to various categories

    including Literature, History , Health and medical sciences, Social science and Law. A detailed

    record is kept for each book in the library and it includes the properties like Title, Author,

    Publisher, Category, Date of Entry etc. There may be multiple copies of the same book, but each

    of these is also assigned with a unique reference number. (i.e. They do not share the same

    reference number).

    The Library provides lending service only for its registered members. Registration is provided for

    a period of one year upon payment. A registered member is issued with an identification number

    which they subsequently use when borrowing the books. The library is keeping full detailed

    records for each of its registered members. Name, Gender, Age, Date of Registration and Date of

    Expiry are some of the details stored about the members.

    Books are lent for one day. Each member is allowed to borrow a maximum of two books per day.

    The library keeps records on each borrowing action of the members. These records generally

    include the details such as Lending No, Member, Book, Date of Lend etc.

    When a book borrows by a member the system want to record the staff members detail in the

    lending detail. The library is headed by a senior librarian and assisted by two assistant librarians.

    You are required to draw a suitable database design for the Nenasa Library by considering theabove scenario. Your solution should include the following.

    Relevant Entities and their attributes Primary keys , foreign keys Relationships among the entities and their type

    Total Marks 20

    Marks

    Q1Index No

    Q2

    Q3Lo in No

    Q4Lab

    TotalTime

    No of Pages: 5

  • 8/10/2019 Paper 2011 Final

    2/5

    2

    Question 02

    ABC Movie (Pvt) Limited is a movie rental shop and they are maintaining a database consist with

    four tables (Customer, Movies, Movie Copies and Movie Transaction). Create a database in your

    exam folder using MS Access software and save it with your Index Number .

    You have to create 04 tables and specifications have given in the following table. First column

    contains table names and the second column contains the field names of each table. The last

    column gives you some additional information and you should change appropriate settings to

    satisfy the given additional information. If an additional detail is blank for a field it means no

    additional settings for those fields.

    Table Name Field Name Additional details of the fieldCustomer Table NICNo User should be able to enter 10 characters. This is the primary

    KeyFNameLNameTelNoEmail User should be able to send an email directly when the email

    address field is clicked

    Movies Table MovieID Insert a mask to this field considering all MovieIDs arestarting letter M and has 4 digits.

    MovieTitle

    YearMadeMediaType User should be able to select CD, DVD and Tape from a list

    for this field

    Movie CopiesTable

    CopyID This is the primary KeyMovieID Could be selected from the list and the list should display

    MovieIDs from the Movies table

    MovieTransactionTable

    TransactionID This is the primary Key NICNoCopyIDDateHired Should be a valid dateDateReturnedPayment Cannot be a negative value. If user enters a negative value, it

    should display the message Invalid Number

    Total Marks 20

    Question 03

    Use the Airline Reservation Database that is given in your exam folder for this question.

    Part I

    a) Create a query to display the following information of passengers; Passport ID, Last Name,

    First Name, NIC, Contact Number. Save the Query as Q1 (03 Marks)

    b) Create a query to display the Aircraft Names which journey from Colombo to London. Save

    the Query as Q2 (04 Marks)

    c) Create a query to show the Total No of Seats Booked for each journey. (Display only

    Journey ID and No of seats booked ). Save the Query as Q3 (04 Marks)

  • 8/10/2019 Paper 2011 Final

    3/5

    3

    d) Create a query to filter/show passenger details when you enter passenger s Last Name as the

    parameter value to a prompt dialog box. Use Enter Passenger Name as the prompt dialog

    box statement. Save the Query as Q4 (04 Marks)

    Part II

    e) Create a report to display Reservation Details. Group the report details by the PassportID.

    Apply the following page setup settings to the document and Save the Report as

    ReservationDetails .

    Page Size : A4

    Orientation : Landscape

    Margins : 1 inch for all the sides. (05 Marks)

    f) Create a report to display the following details (JourneyID, AircraftID, StartingFrom,

    Destination, NoOfSeatsBooked).Use Journey table and the other relevant access object/s for

    creating this report. Save the Report as JourneyDetails

    (05 Marks)

    Part III

    g) Build a form to display passenger/passengers Details. Save the Form as Passengers

    (04 Marks)

    h) Build a form to display Reservation Details. Insert a button to the form to open the

    Reservation details report which was created in part II. Type ABC Airline Reservation

    System at the form footer. Apply the given picture Travel Plane .JPG as the form logo.

    Save the Form as Reservation .

    (06 Marks)

    i) Make a form to filter/display Journey Details based on a selected Aircraft ID. (Journey

    Details should be displayed in a sub form when you select Aircraft ID from a combo box in

    the same form). Save the Form as Aircrafts .

    (05 Marks)

    Part IV

    j) Create a Switchboard for your database to navigate through form/s and report/s using the

    structure given below. Forms and Reports should be navigated through Form Menu and

    Report Menu respectively.

    (05 Marks)

    Total Marks 45

    Journey Details Report

    Passenger

    Aircraft

    Main Menu

    Main Menu

    Form Menu Report

    Main Menu

    Reservation Details

  • 8/10/2019 Paper 2011 Final

    4/5

  • 8/10/2019 Paper 2011 Final

    5/5

    5

    University of Sri JayewardenepuraFaculty of Management studies and commerce

    End Semester Examination: Year I, Semester II (August 2011)

    ITC1321 Introduction to Information Technology II

    Answer for the Question 01

    Index No

    Login No

    Lab

    Time