// Every quiz file starts with a quiz header
This is a demonstration quiz for the WhizQuiz program. It gives an idea about
the different types of questions that can be include and the format in which
they actually appear in the web page.
Select the correct answers for the questions below and click on the submit
button.
// This is the section that defines the responses corresponding to
// overall score obtained on the quiz
Better luck next time!
Not Bad!
Very Good!
Excellent!
Your score for the demo quiz has been recorded.
// You can define various groups of questions and individual responses
// for performance within a certain group
Your knowledge about India seems to be very good!!
You definitely need to refer some books on India.
You seem to have a working knowledge of India,
but there is room for improvement. Why not review some Indian culture?
// This is a multiple choice question with a question image and a help link.
// It also demonstrates the use of the INFO tag.
What is the capital of India ?
Delhi is one of the oldest and biggest cities of India. Although
Bombay is considered the business capital of India, Delhi is the political
capital.
Bombay
Delhi
Madras
Calcutta
// These two are similar questions but of type LIST. Use list type questions
// when there are one or two word choices.
What is the national bird of India ?
Parrot
Eagle
Peacock
Wood Pecker
When did India gain independence?
India became an independent nation on the 15th of August, 1947.
1947
1847
1919
1889
// This question demonstrates individual responses for each choice.
When is the national language of India?
English
Hindi
Bengali
Bengali is a regional language spoken in some the eastern states
of India.
Gujarati
Gujarati is a regional language spoken mainly in the western state
of Gujarat.
// This question demonstrates the use of pre-formatted text inside the
// question text. Always use the HT and PRE tags for such questions.
What will the following code output?
#include <stdio.h>
int main ( void ) {
int x = 1 ;
int y = 3 ;
printf ( "%.3f", ( 1.0 ) * ( x / y )) ;
}
0.300
0.333
0.000
// This question demonstrates that you can have ungraded questions also.
Which is your favorite color ?
This question demonstrates that you can have non graded questions also.
Red
Yellow
Blue
// This question demonstrates the use of images for choices in a
// multiple choice question.
What is your favorite cartoon ?
Anyway, lets not fight over cartoons ?
Dilbert
Yep, Dilbert is so funny !!
Peanuts
Hagar the Horrible
// This is a true/false question.
Virginia Tech is the best !!
Yes, it is !!!
Definitely, it is one of the best schools in the country.
Better brush up on your math.
Good work! Keep it up.
What is the value of PI ?
// This question demonstrates how equations can be displayed as images
// for mathematical questions.
What is the value of the above expression?
Sorry, this is a tough one!