Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    New to the CF scene
    Join Date
    Nov 2008
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    I am desperately in need of ur Help

    My midterm exams are over. But i couln't solve a question there. Plz guide what might be the exact solution of the task?
    Question:[list]

    You are required to develop a simple GUI based database driven application.
    Core Tasks:-
    (i) Building database
    (ii) Connect to database
    (iii)Query the database
    (iv) Display result in proper format
    Tasks Details:[
    Use MS Access to create database with the name “DATESHEET” and add a
    table to it with name “STUDENT”.
    Your table should have following fields.
    rollNo
    studentName
    city
    degreeProgram
    courseID
    sessionID
    date
    time
    (i) Enter at least 20 records in the table.
    (ii) Create a System DSN with the name “studentDSN”.
    (iii) Build a simple GUI based program which will connect to this database
    and query all the records in the “STUDENT” table and display them.
    (iv) Use Grid Layout to display the records.
    (v) You should use Jlabel in every cell of the grid layout to display a field from
    table.
    (vi) Also add a header row in the layout which would contain the names of the
    fields. (Use hard coded names of table fields, do not use meta data)
    (vii) Marks will be deducted if any student does not use the same names
    (database, table and System DSN) as told above.
    (viii) Exceptions Handling related to DB should be handled properly.
    (ix) Code should be nicely aligned and well commented where required.
    (x) Also don’t forget to submit your database along with your code.

  • #2
    Gox
    Gox is offline
    Regular Coder Gox's Avatar
    Join Date
    May 2006
    Location
    Ontario, Canada
    Posts
    392
    Thanks
    2
    Thanked 20 Times in 20 Posts
    Is this really an exam question or your assignment?

    Either way, show us what you've done/did and we'll help you out, but no one is simply going to produce the code for that program for you.
    Last edited by Gox; 11-13-2008 at 08:50 AM.

  • #3
    New to the CF scene
    Join Date
    Nov 2008
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    @ Gox,
    Respected Sir,
    It is my exam midterm exam question. But its solution will help me to find out the solution of other such questions, assissting me to get prepared for final exams.

  • #4
    God Emperor Fou-Lu's Avatar
    Join Date
    Sep 2002
    Location
    Saskatoon, Saskatchewan
    Posts
    16,979
    Thanks
    4
    Thanked 2,659 Times in 2,628 Posts
    Next time could you please use a more descriptive title for you're thread please.

    This doesn't sound like an exam question; there are so many aspects it sounds more like a project. Unless its like an exam question for sun certification.
    Piece of cake to do in C#, not quite as pleasant in Java.

    I'm with Gox on this one, this is a lot of work for a volunteer army to do just to show you how you could do it.
    Which part in specific are you struggling on?
    PHP Code:
    header('HTTP/1.1 420 Enhance Your Calm'); 

  • #5
    Gox
    Gox is offline
    Regular Coder Gox's Avatar
    Join Date
    May 2006
    Location
    Ontario, Canada
    Posts
    392
    Thanks
    2
    Thanked 20 Times in 20 Posts
    We try to be careful around here about doing other people's homework, because if we do it, then people aren't learning.

    My suggestion is, if it really is a midterm question then ask your teacher for the solution. He/She definitely will have one which they used as a template to mark your exam.

    Furthermore, I strongly believe that programming is something that is learned through "doing", not from reading code and trying to memorize. Therefore, my next suggestion is that you try to do the question again. It'll be great exam review and will help you to learn and understand better than trying to read someone else's code.

    Post your code as you go along and if you get stuck and we'll try to help you out.
    Last edited by Gox; 11-13-2008 at 08:51 AM.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •