Making A Quiz Using Access?

Aug 11, 2009

I have created my own quiz for my aplication, but, a lot of people asked me , why can't the programe count right or wrong answers and one of them told me can you make a quiz that randomly selects questions?ok, I told them its all posible to make , but I actually coulndt make it working.So, usualy for a classic quiz I got the code to make a button go red if the answer is wrong, but I need the code line for the random question selection and the counting.I found some code but it didn't work,

View 3 Replies


ADVERTISEMENT

Making A Multiple Choice Quiz?

May 10, 2009

I need a multiple choice quiz but I've ran into some problems. So far i have 5 arrays: one for the questions and four for the answers. The question is displayed in a label and the answers on radio buttons. Problem one: I am using a random number generator to pull them but this allows them to be reused. How do I stop repeats. Problem two, my grading isn't always working.

View 3 Replies

Making Quiz - Assigning Point Value To Variable Depending On Answer

Nov 15, 2010

I am thinking is to have a question, then between 2-4 answers, and depending on the answer a point value gets assigned to a variable, but then when that one question is answered you can click a button that moves to a next page type of thing with a new question on it. I think I could probably figure most of this out but when it comes to switching to a different question I am not sure how I would do that.

View 11 Replies

Multiple Choice Quiz With Access, Get 3 Levels Of Answers?

Nov 22, 2011

I am working on a multiple choice quiz, admin screen, student login screen where they choose their level of difficulty. I have been able to start the quiz, have the questions and answers filled, user answers question, check if correct or not, if correct then the score is incremented.I am able to set up a variable for 'level' and want to write some code so that whatever is selected then that table / questions will be selected and displayed to the user.

The way I'm thinking at the moment seems very long winded. I think I'll have to write an IF ELSE statement/case statement for each of the 'navigaterecords' and the sql statment for beginners, intermediate and advanced.Assume there is a variable 'LEVEL' - have not actually done this yet. Where the code refers to 'advanced' is where I have been trying it out to select questions from the advanced table.

Imports System.Data
Imports System.Random
Imports System.Data.OleDb

[code]....

View 8 Replies

Multiple Choice Quiz With Access, Null Reference?

Jul 16, 2009

I have a button 'start quiz' which uses the dataset to fill the quiz form - ready for the user to start answering the questions.However, I am getting a 'null reference' at the point where the 'navigate records' on the quiz form is called. Have looked up that it means I have a variable that is null. But I have declared all the variables etc. Not sure what I'm doing wrong. I am very new to programming and I have spent quite a bit of time on this already.This is the code for the student user login:

Private Sub btnLoginStudent_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnLoginStudent.Click
FrmQuiz.Show()

[code].....

View 9 Replies

DB/Reporting :: Making UnCrossTab Query In Access With VBA?

May 27, 2010

converting a speadsheet into a proper data source. I have imported it in to a table called "B" in access 2007. The problem is that the data is spead out of multible columns and rows, looks like a crosstab query. I need to convert it back to its data. I could do it with UNION Queries but this would be unpractical due to the number of columns.I have created a public function in my module. But I am not sure on how to call it. I get the error:

Quote:

Circular reference caused by 'BOut'.

on this line:

Code: Set rstout = CurrentDb.OpenRecordset("BOut", dbOpenDynaset)

Here is my first try:I have a table called "B":

Quote:

InvoiceCode,XXX001,XXX002,XXX003,...
A,$10,$15,$20,...
B,$1,$2,3$,...

[code]....

View 1 Replies

Found For Making And Access Based Phonebook App?

May 16, 2010

Toying around with a tutorial I found for making and Access based phonebook app, but running into issues.

[Code]...

View 2 Replies

Making An Exe File Of .net Project With Ms Access Database?

May 15, 2011

I have made a project(made a new data set and forms made by dragging data set entries to form ) in vb.net in which i used ms access as database and now i created a setup file for it but when i run is its giving error regarding some connection to database.?

View 3 Replies

Making Table On Access For .net 2005 Connection?

Oct 18, 2009

Public Class HotelReservation
Dim currRec As Integer
Dim totalRec As Integer
Dim dt As New DataTable
Dim cmd As New OleDb.OleDbCommand("SELECT * from Reservation", conn)
Dim da As New OleDb.OleDbDataAdapter(cmd)
Dim ds As New DataSet

[Code]...

View 1 Replies

DB/Reporting :: Making Database Be A Ms Access File Instead Of Sql Server

Jan 20, 2010

WIth vb 2010 beta2, is it possible to use a Microsoft access save file instead of sql server (with no reduced functionality)?

View 2 Replies

Making A Program In VS 2010 By ADODB Connection With MS Access

Sep 23, 2011

I am using VB6 for a (ADODB Connection & Record set) database program by connecting MS Access file (MDB). Can I make same program in Visual Studio 2010 by ADODB connection with MS Access (MDB)?

View 1 Replies

Making An Access Database Shared By Multiple User

May 8, 2009

Not sure if this is the right Forum to post this question. If not guide me where to post... I have an Access database that I would like to be able to share with Multiple user cuncurently... I have seen it is being done but I am not sure how? Or may be I should be using SQL Express.

View 1 Replies

Making SlideShowExtender Retrieve Images From MS Access Database?

Jan 10, 2012

In my Microsoft access database I have a table called Picture and 3 fields: ID, Name, Image. I was wondering if it was possible to get all the images from the field 'Image' and display them into SlideShowExtender.

View 2 Replies

Methods Access Level - Making Public For Only One Class

Mar 20, 2009

I have a class which has various methods that I need to make public to only 1 other class. Is this possible? I don't want to make them public for everybody, just that 1 class.

View 1 Replies

Best Way For Creating Quiz

Jun 21, 2010

I would like to create a quiz and wonder what is the best way.

1. Using a textfile to read in the questions/answer
2. Using radio buttons
3. Or something else you suggest?

View 2 Replies

Make Quiz System Using .net?

Mar 31, 2011

I make a 2 questions and then 4 choices for each question..and the 4 choices is made up with radiobutton.. and 1 of the 4 choices is only the right answer..Computing of right answer in each question is the thing that I want to know, how to do..

View 1 Replies

VS 2008 How To Make A Quiz

Mar 11, 2011

I want to make a quiz that generates score and save in access 2007.

View 4 Replies

Create A Quiz Game Application In .NET?

Sep 23, 2010

I am building a quiz application in .net just like on flash mini games, is this possible in .net? and what is the easiest way to create this? make moving objects, cartoon interface and etc. also, it is supposed to be a standalone application.

View 1 Replies

Make A Quiz Result Permanent?

Mar 31, 2009

The Quiz is timed. Its result is in "m:s" format. How to make this result permanent, i.e. when the game is restarted the results would still be there?[cod]e...

View 5 Replies

Make A Quiz Result Sortable?

Apr 2, 2009

Make a Quiz result sortable? Option Strict On[code]...

View 2 Replies

Quiz Program - Asking Five Questions With Yes Or No Answer

Mar 19, 2009

I'm trying to make a quiz application with Visual Basic at the moment. I want to write a routine that asks five questions to which the answer must be either Yes or No. It must add up the number of Nos and if the number of Ns is less than two then print out "pessimist", otherwise print out "optimist". So far this is the design of what I've done. [URL]. However, I have no code which I've produced on my own.

Code:
Public Class Form1
Inherits System.Windows.Forms.Form
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
End Sub
End Class

I really don't know how I can kind of add up all the results from each individual question, seeing as radio buttons are used.

View 2 Replies

SQL Statement : Create A Quiz System?

Jul 13, 2011

I'm trying to create a quiz system and I have 200 question stored in question table.I have two quizID which is 1 and 2. Each quizID have about 100 questions. I trying to randomly select 50 question from the 100 question.

SELECT [QuestionID], [Title], [Answer1], [Answer2], [Answer3], [Answer4], [CorrectAnswer]
FROM [Question]
WHERE ([QuizID] = @QuizID)
ORDER BY NEWID()

View 1 Replies

VS 2008 : Setting Up Quiz Program?

Apr 3, 2009

I'm trying to make a quiz application with Visual Basic at the moment. I want to write a routine that asks five questions to which the answer must be either Yes or No. It must add up the number of Nos and if the number of Ns is less than two then print out �pessimist�, otherwise print out �optimist�.I'm only at the very beginning stage of the program, I've created the design of it but I'm not too sure whether the code concept for the radio buttons is right. How can I expand on this?

Public Class Form1
Inherits System.Windows.Forms.Form
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim numberOfNos As Integer = 0

[code]....

View 8 Replies

What Procedures To Be Followed To Create A Online Quiz

Jul 14, 2009

i am begginer to vb.net can i know what procedures to be followed to create a online quiz in vb.net. i have to create a project.

View 1 Replies

Make A Simple Quiz Style Web Application ?

Feb 27, 2012

I am learning VB at the moment and i'm planning how i'm going to make a simple quiz style web application. I want to have a series of questions, one per panel, that a user can select from multiple choice and proceed to next question with at least one option needing to be selected before going to the next question. At the end users get their score out of X.

Forgetting the validation and other bits i need. My thinking is to use a series of panels that have my questions in, so one panel per question, and by default they are all set no invisible bar the first question. Then as the user selects the question the next panel is revealed and the previous hidden, and so on etc.

View 1 Replies

Program That Fills A 2D Array With Quiz Scores?

Jan 27, 2011

I want to write a quick program that fills a 2D array with quiz scores. Consider there is 5 Students and each have completed 3 Quizes. I want the program to display a class average as well as a student average.

I've gotten as far as a nested for/next loop but I am stumbling over the language for accumulating and displaying the average.[code]...

View 2 Replies

Prompt User For # Of Quiz Scores To Input?

Mar 1, 2011

Am to prompt user for # of quiz scores to input, should then create an array large enough to hold those number of scores, set up loop that allows user to enter approp. # of scores, all scores will be integers, each score should be placed in the array.

[Code]...

View 1 Replies

Quiz Engine - Using Database To Retrieve Question

Jul 7, 2009

I have been visual basic for sometime now and I want to develop a quiz engine that uses database to retrieve question. I also want it to be able to save users name.

View 1 Replies

Add A Timer To A Console Math Quiz Application In VB 2005

May 15, 2009

I'm a newbie and trying to develop my first program. The program is a console math quiz application. I want to add a timer to the code that tells the user the the amount of time it took for them to complete the quiz. I have no clue as to how I need to implement this.

[Code]...

View 1 Replies

Create A Quiz On Visual Basic 2008 With Two Buttons?

Jul 21, 2010

I am trying to create a quiz on visual basic 2008 with two buttons : true; false that present one question at a time. At the end of the quiz, I would like the program to add up the number of correct questions.

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved