+ All Categories
Home > Documents > OnlineTest-1

OnlineTest-1

Date post: 06-Apr-2018
Category:
Upload: apoorva-sharma
View: 219 times
Download: 0 times
Share this document with a friend

of 22

Transcript
  • 8/3/2019 OnlineTest-1

    1/22

    Automated Online Test System

    Presented

    by

    Zelda Colson

    Welcome To

    (OLT)

  • 8/3/2019 OnlineTest-1

    2/22

    (Teacher) OTL is an Automated Online Test System that allows a teacheror an educator to create his / her test that can consist of multiple choice testquestions and true / false test questions which are generated by utilizing theUnix environment. The administer/ teacher is allow to generate as manyquestions as needed. This Automated Online Test System which theadministrator has to supply his/ her own testbank thus the system will

    randomly generate questions for a test. This particular system also has it ownautomated Scoring system etc.

    (Student) OTL is an Automated Online Test System that allows a student(s) to take online test and have the capability to view his / her scoreimmediately after taking the online exam. The student is also given theopportunity to view both the correct and incorrect solutions. Thus, this will

    give the student opportunity to hopefully improve on the next time if some ofthe same answers or presented.

    Scope

  • 8/3/2019 OnlineTest-1

    3/22

    System Path

    C

    Create a repositoryBy typing the command~testlab/bin/Xrepository/Xrepos_Create then hitEnter then type rehash

    Install online test byTyping the command

    ~cis4932joe/bin/Install_OnlineTester.csh Xthen type rehash

    Create a test bank noteyou can look atsamplebank.txt as anexample you may need tocheckin in order to use it.Make sure you use thesample naming technique

    UU P

    Please check to make sureall the files needed are in

    your repository

    Now type MakeTest.cshand hit enter. Selecteach choice in order andmake sure to enter in alltest information asrequested note to useruse the testbank that you

    created.

    If the test is generated sucessfullyThe run the test by typing the

    ./testname-t.run and see if there are anyError with your test. If the test does not

    Generate please check your testbankIt may be that you have simply entered

    a double quote which is not allowedor that you may some simple parse errors

    After finding that all the testcomponents are working oneis now ready to have his/ her

    students access the test

  • 8/3/2019 OnlineTest-1

    4/22

    System files & components

    ScoreAnswer-t.oScoreAnswer-v.oScoreAnswer-x.o

    ScoreAnswer.h

    GetAnswer.cpp*GenTest.csh

    GenTest.runAnsList.cpp

    quiz.cpp Ge

    MakeTest.csh

    BinRepoistory

    Compute scores

    and store scoresinthe repository

    Get Answerand displaypreviousanswer.

    Load theanswer

    Object filesHeader filefor theversion of

    the scoringfunction

    Generate An

    Online Test

    Generate

    test main

    Programfromquizx.cpptemplate

    Helpgeneratemainprogramcomponents

  • 8/3/2019 OnlineTest-1

    5/22

    Continued

    GenQuestions.h

    GenQuestion.o

    Generate nq questions from bank ofnb questions, and save question list

    Object file

    Xrepos_Create Create brand newrepository

    Xa_update_Schedule

    Use to add newassignments toschedule

  • 8/3/2019 OnlineTest-1

    6/22

    Inside Make Test.csh

    Define Test

    Option 1: testid,numquestions,

    numtries,duemonth,dueday, duehour,maxtries

    Generat

    Generate testcomponentsfrom testbank

    Set test id

    Set testbanksize

    Generate Testmain ProgramSource code

    TPmcopy

    quizx.cppTPmcopyGenTest.csh

    Build Version of

    Test(excutable)

    TPmcopyAnsList.cpp,scoreAnswer.h,GenQuestions.h,GetAnswer.cpp,ScoreAnswer-

    $testsyle.o,GenQuestion.0

    Quit

  • 8/3/2019 OnlineTest-1

    7/22

    System Stakeholders

    Thestakeholders:Teachers -User who will utilize the system to createhis/her own online test

    Students-User who will utilized the system by takingthe test created by the tester

  • 8/3/2019 OnlineTest-1

    8/22

    Views and Constraints (Student)

    Views

    Welcome Message

    User name

    Date/ Time (Start andCompletion)

    Test score

    Test name

    Answers both old answer andnew answer

    Questions

  • 8/3/2019 OnlineTest-1

    9/22

    Constraints

    It also alerts one to re-enter if there is an opportunity to try again

    at particular question thus it will only allow the person to re-enter

    an answer according to the maxtries defined for test.

    It also alerts one if they no longer are able to re-take the testthat they have reached his/ her maximum attempts at taking the test.

    It records the test try in advance to prevent student from studyingthe test without penalty.

    After so many attempts the system will supply a new version of the

    test to the student.

  • 8/3/2019 OnlineTest-1

    10/22

    Test Results Examples

    1) Define Test | | 2) Generate Test Components from TestBank | | 3) Generate Test Main Program Source Code | | 4) Build Version of Test Program | | | | 0) QUIT | +--------------------------------------------------------+

    WORKING ONT TEST# 1, 2 Questions, 3 TRIES, Due on 1/12 at 11 PM, TESTID = test1, TestBankSize = 50, SourceFileName = test1.cpp, tryLimit = 3 Enter Choice: 1 Enter test#: 1 Enter number of questions: 10 Enter number of tries per question list: 3 Enter Month Due (1-12): 4 Enter Date Due (1-31): 1 Enter Date PM Hour (1-11): 11 Enter maximum number of tries at exam: 3

  • 8/3/2019 OnlineTest-1

    11/22

    Enter Choice: 2 STARTING UP ... Test Program Builder

    Enter name of question BANK file: unixbank.txt

    Enter name of question CLASS file (e.g., test1, quiz1, final): test1class.cpp

    Enter name of test PROCEDURES file (e.g., test1, quiz1, final): test1proc.cpp

    WORKING ONT TEST# 1, 10 Questions, 3 TRIES, Due on 4/1 at 11 PM, TESTID =test1,TestBankSize = 40, SourceFileName = test1.cpp, tryLimit = 3Enter Choice: 3

    No matchRCS/ quizx.cpp,v --> quizx.cpp

    revision 1.22doneWORKING ONT TEST# 1, 10 Questions, 3 TRIES, Due on 4/1 at 11 PM, TESTID =test1,TestBankSize = 40, SourceFileName = test1.cpp, tryLimit = 3

  • 8/3/2019 OnlineTest-1

    12/22

    -

    RCS/AnsList.cpp,v --> AnsList.cpp revision 1.1 done No match RCS/ScoreAnswer.h,v --> ScoreAnswer.h revision 1.1 done No match

    RCS/GenQuestions.h,v --> GenQuestions.h revision 1.1 done No match RCS/GetAnswer.cpp,v --> GetAnswer.cpp revision 1.8 done No match RCS/ScoreAnswer-t.o,v --> ScoreAnswer-t.o

    revision 1.1 done No match RCS/GenQuestions.o,v --> GenQuestions.o revision 1.1 done

    Enter Choice: 4Enter test style (t - Tutorial; v - Verification; x - Live): t

  • 8/3/2019 OnlineTest-1

    13/22

    Errors Found Deficiencies

    The system currently is allowing the

    students to have the opportunity

    to take the test more times then

    that which was predefined when

    generating the test.

    The system at this time does not alert

    The user to the fact that when a

    compile error occurs in the system

    that it may be the simple fact that

    he/she may have placed double quote

    someone within the test bank that

    not allowed.

  • 8/3/2019 OnlineTest-1

    14/22

    Errors Found (Continued)

    The system does not allow you to re-enter information if you have already hit enter beforeyou have deleted and corrected the incorrect information. By simply going back if youalready hit entered. You can not go back to the previous line you have to go back to thebeginning by selecting that choice where you entered the information in incorrectly. Thus,you are required to re-enter all the previous lines even if some of the lines previously wereentered in correctly.

    The system does not alert the user that he / she must append class.cpp when asking forthe name of the class file.

    The system does not alert the user that he/ she must append proc.cpp when ask for thename of class procedure file. The system will allow a user to enter the number of questions as being a letter when it

    should only accept positive number and not characters , however, it will alert the user aftercompleting step 4 the it does there is an compile error in test 1 that has undeclared e.However it should alert the user that he/ she must re-enter when he/she entersunacceptable values at the time that it occurs. WORKING ON TEST# 1, 2 Questions, eTRIES, Due on 6/31 at 1 PM, TESTID = test1, TestBankSize = 50, SourceFileName =test1.cpp, tryLimit = 2

    test1.cpp: In function `int main()': test1.cpp:132: e' undeclared (first use this function) test1.cpp:132: (Each undeclared identifier is reported only once for each function it appears in.) . The user should be alerted not to let the banksize = the number of question or the system

    will not work correctly. Thus one should enter the bank size as being larger than thenumber of question be entered.

    . The system should be more informative when it comes to presenting error deficiencies.

    O

  • 8/3/2019 OnlineTest-1

    15/22

    Online Test(Use Case Diagram)

    Teacher

    Modify, add, delete, testinformation

    Define Test

    Generate TestComponentsfrom Test Bank

    Generate TestMain ProgramSource Code

    Build Version ofTest Program

    Modify/VerifyStudents TestInformation

    View Student Testinformation/ generatetest information

    O li T

  • 8/3/2019 OnlineTest-1

    16/22

    Online Test(Use Case Diagram)

    Student

    Allowed to re-enteranswer if enteredincorrectly

    View answerentered and thecorrect answer

    Print Testinformation

    Request for Testscore modification

    Can Access / TakeOnline Test

    Student Can Verify His/HerOnline Test Information

  • 8/3/2019 OnlineTest-1

    17/22

    Online TestClass-Diagram

    char A;bool present;bool loaded;

    AnsList

    AnsList()Close() :voidLoad(char filename[]) :voidGetPrevious(int qnum, char prev[]) :voidReplace(int qnum, char ans[]) :voidSave(char filename[]) :void

  • 8/3/2019 OnlineTest-1

    18/22

    Online TestSequence-Diagram Define Test

    Teacher

    DefineTest View

    StartSystem()

    View

    Submit(Choice1)

    Controller

    Define TestView Display()

    Submit ( testnum, numquestions,numtries, dueday duehour maxtries)

    Test

    Main view :: View

    View :: Display()

    CreateTest :: test()

  • 8/3/2019 OnlineTest-1

    19/22

    Online TestSequence-Diagram Generate Test Components from Test Bank

    Teacher

    Model ViewController

    Viewdisplay()

    Generate TestComponentsfrom Test Bank

    If choice =2

    MVS :: Choice

    Generate Test :: setname for questionBank file

    System

    Generate Test : : setname of question ClassfileGenerate Test : : setname of textProcedures file

    Generate Test : :set name ofquestion Class file

    Generate Test : : set

    TestBankSize

    display :: testnum, numquestions,numtries, dueday duehour ma tries ,

    TestBankSize SourceFileName

  • 8/3/2019 OnlineTest-1

    20/22

    Online TestSequence-Diagram Generate Test Main Program Source Code

    Teacher

    Model ViewController

    Viewdisplay()

    Generate TestMain ProgramSource Code

    If choice =3

    MVS :: ChoiceGenerate Test Main::GenTest($testnum$duemonth $dueday$duehour$testbanksize$numquestions $numtries$maxtries)

    System

    display :: testnum, numquestions,numtries, dueday duehour ma tries ,TestBankSize SourceFileName

  • 8/3/2019 OnlineTest-1

    21/22

    Online TestSequence-Diagram Build Version of Test Program

    Teacher

    Model ViewController

    Viewdisplay()

    If choice = 4

    MVS :: Choice

    Build Version :: set teststyle

    System

    display :: executeable files

    Build Versionof TestProgram

  • 8/3/2019 OnlineTest-1

    22/22

    Online TestSequence-Diagram Quit

    Teacher

    Model ViewController

    Viewdisplay()

    If choice = 0

    MVS :: Choice

    System

    display :: MakeTest.csh TERMINATING

    Build Versionof TestProgram


Recommended