Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6213381
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T06:41:10+00:00 2026-05-24T06:41:10+00:00

I need a suggestion about a scenario. E.g. if a student is taking assessment

  • 0

I need a suggestion about a scenario. E.g. if a student is taking assessment quiz online from his home and during this quiz …the elecricity failure happens in the middle of quiz. so in that scenario, how would we manage the state. I mean what could be the possible solution for that.. the solution can be in any form. Please give ur suggestions about how would you handle that situation. Previously, the states are being stored using sessions and cache.

Thanks in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T06:41:11+00:00Added an answer on May 24, 2026 at 6:41 am

    Electricity failure on student’s side

    Your quiz probably flows from page to page where each page POSTs data to the server. You should just save posted data to some persistent medium (database would be best).

    Identifying users after restart

    1. Users are anonymous

      If your users don’t need to login before taking the quiz you have to identify them somehow. Give them a persistent cookie with some identifier that you use in your DB to store their answers, so if power goes down and when they come back you will still be able to know who they are, because cookie will be sent to you automatically. The problem here is of course what happens when multiple students use the same machine. You’d have to solve that too. The easiest way is to let your users login to your quiz app.

    2. Users are logged in

      This is the simple case where you simply save their answers along with their ID. It works similar to first example but with the difference, that you know who they are exactly (know their name etc.)

    What if you have several quizzes?

    If that’s the case you probably don’t want to create a separate table for each one to store answers in. Th best way in this case would be to have a single table schema:

    UserID, QuizID, CurrentStep, Answers
    -------------------------------------
    

    This will give you all the information about where users are in the quiz (so you they can continue after power failure) and save answers as XML data. Current step may help you when quiz is a stepped process and users return to existing unfinished quiz. This will help you display the first unfinished step to them, so they can easily continue where they left.

    This will give you enough possibilities to store several different quizzes in the same table. XML data can provide simple straightforward answers or branched ones. Depends what your quizzes are like.

    What kind of DB should you choose?

    You can either choose schematic database like MySql, Oracle or SQL Server or you can go with a document-oriented database that may be much more suited to your needs. Depending on the platform you use you will find a suitable doc-type DB.

    Assessment based on pool of questions

    As you say you have a pool of questions and I suspect a DB schema like this should support the business process. You’d have these tables:

    • Subject – this table is needed in case you’d have a centralized application for various study subjects
    • Group – has defined question groups and relates to Subject table; groups may be semester 1, semester 2 or similar; These groups will make it possible to select a set of assessment questions that are related to some subject and are part of the group that should be assessed
    • Question – this is the actual pool of questions; Every question has related data to table Group; this table could have additional metadata that would have information about question level which could count toward result question/answer points
    • Student – your students must most likely login into this application and as pointed out by several answerers here it’s also recommended approach especially since I suspect students will be using common facility workstations which means that multiple students may be using the same computer
    • Assessment – this is one of the central tables, that holds data about students taking assessment test; it’s related to Student table, has timestamp when assessment started etc.
    • AssessmentQuestion – a relational table that’s used to record student’s answers; When assessment starts an X number of records within this table are created, that actually point to particular questions that were selected for a student out of the appropriate question pool; it has at least three columns: StudentID, QuestionID and answer (nullable); additional columns are needed in case students are allowed to set an answer of don’t know or similar; in this case an additional column AnswerState would be added and would relate to a lookup table with predefined states.

    When a student starts an assessment and in the meantime a power failure occurs, you can always know which questions student already answered and which ones should still be answered.

    You could also have additional tables with correct answers so assessment would be automated, giving results immediately after assessment questions are all completed.

    Algorithm that chooses questions could be done in a way so questions are equally distributed on the long run.

    But you could make the system even more complicated with even more administrative data that would automate as much tasks as possible and make them configurable so it would be more widely useful.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need some suggestion on how to go about this specific android problem: activity
I need suggestion about YAMI library . I have a system which receives Json
I know my question isn't about programming problem, I just need a suggestion to
Locally I need to code against Java 1.4. I tried the suggestion in this
I would like your suggestion about this problem... To make it simple, I'll consider
I am really new in PHP and need a suggestion about array search. If
Basically I need a suggestion about making an iOS application, where I can connect
I need a excel-like grid control in MFC, do anyone have good suggestion to
Since I am new to using Unity 2.0, I need some pointer or suggestion
I need suggestions on how can I download attachments from my IMAP mails which

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.