473,387 Members | 1,463 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Making a Quiz question?

122 100+
Can one make a quiz using Card Layout?
and if so can be connected to a db

thanks
sandyw
Mar 10 '08 #1
7 2255
BigDaddyLH
1,216 Expert 1GB
Can one make a quiz using Card Layout?
and if so can be connected to a db

thanks
sandyw
I have always believed that if you can dream it, you can do it. But then I had this dream where the Irresistible Force meets the Immovable Object...

But to answer your question, why couldn't a program with a Swing GUI connect to a database? Have you looked at Sun's tutorials?

http://java.sun.com/docs/books/tutor...ing/index.html
http://java.sun.com/docs/books/tutorial/jdbc/index.html
Mar 10 '08 #2
sandyw
122 100+
I have always believed that if you can dream it, you can do it. But then I had this dream where the Irresistible Force meets the Immovable Object...

But to answer your question, why couldn't a program with a Swing GUI connect to a database? Have you looked at Sun's tutorials?

http://java.sun.com/docs/books/tutor...ing/index.html
http://java.sun.com/docs/books/tutorial/jdbc/index.html

Thanks BigDaddy for the info..
you rock

I forgot to also ask can this be applied to the internet.

Sorry instead of trying to find this info on the internet its much faster to ask the experts on this site.

thanks
Mar 10 '08 #3
JosAH
11,448 Expert 8TB
Can one make a quiz using Card Layout?
and if so can be connected to a db

thanks
sandyw
What do you need that CardLayout for? And why does that database come in
all of a sudden?

kind regards,

Jos
Mar 10 '08 #4
BigDaddyLH
1,216 Expert 1GB
Thanks BigDaddy for the info..
you rock
I try to stay still, but the boat still rocks ;-)
Mar 10 '08 #5
sandyw
122 100+
What do you need that CardLayout for? And why does that database come in
all of a sudden?

kind regards,

Jos
I though using the CardLayout would be faster to lay out plus each question would be one card. The db is used to track the students score ie results of all the quiz they have taken.
If this is not the best ideal can you direct me to which would be.
sandy
Mar 10 '08 #6
JosAH
11,448 Expert 8TB
I though using the CardLayout would be faster to lay out plus each question would be one card. The db is used to track the students score ie results of all the quiz they have taken.
If this is not the best ideal can you direct me to which would be.
sandy
So you need to manage a set of quizes, a single quiz, questions for a quiz, a
single question (and the correct answer), users, a single user and the quizes
s/he did and the score(s) for the quizes taken and maybe a bit more.

Did you analyze your problem a bit? I just did a bit of 'entity' or class analisys.
That card layout is just a minor concern.

kind regards,

Jos
Mar 10 '08 #7
JosAH
11,448 Expert 8TB
I have always believed that if you can dream it, you can do it. But then I had this dream where the Irresistible Force meets the Immovable Object...
I sometimes dream that I can fly, but no matter how much I flap my arms the
next morning I don't notice a lift off. My wife laughs hysterically by that doesn't
count and my parrots squeaking like hell isn't an incentive either ...

kind regards,

Jos ( <--- earth bound ;-)
Mar 10 '08 #8

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Sketcher | last post by:
Hi, I am trying to create a quiz, Code is as follows: <html> <head> <title>Quiz</title> </head> <BODY> <Center><TABLE cellSpacing=3 cellPadding=0 border=0>
5
by: Vandana Rola | last post by:
Hello Everyone, I am a beginner in Javascript.I want to create fun quiz tool using javascript (no database). The feature of that tool is every question has five choices. The user needs to select...
20
by: __PPS__ | last post by:
Hello everybody in a quiz I had a question about dangling pointer: "What a dangling pointer is and the danger of using it" My answer was: "dangling pointer is a pointer that points to some...
4
by: DAL | last post by:
I want to build my kid a program that cycles through questions (using a label for the question), and lets him choose one of two radio buttons for the right answer. How do I get every set of...
16
by: C++ Hell | last post by:
Hey everyone just designing a quiz for school and managed to write the code for the questions and answers thou i have to add scores and at the end an overall score does anyone have any idea what to...
0
by: philip | last post by:
hello, i am now developing a quiz application for my school using ASP.NET and SQL SERVER 2005, here is a senario: It will have 20 students for taking a quiz in a classroom, they have to answer...
0
NoPeasHear
by: NoPeasHear | last post by:
I don't know what I am doing wrong... I used this tutorial... http://www.permadi.com/tutorial/flashMXQuiz/index.html It works with their quiz.xml file, but when I add an option for multiple...
3
by: computerkid101 | last post by:
Hey everyone, I am making an online quiz (school project) and basically I have 4 radio buttons (the options; multiple choice) and then an answer button. What I want is for the user to answer and...
6
by: vb08isgreat | last post by:
Alright, this is how it is. I'm making a quiz game on Visual Basic 2008 Express Edition. There is 25 questions, and each form is one question. I have the splash screen done, and then form one...
3
by: empiresolutions | last post by:
I am building a app that creates quizzes. This is how it goes - - Create Quiz - Provide up to 10 different types of Quiz Results - Give up to 50 Questions - Each Question has up to 10 possible...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.