version.exam: Create 1 instance of a specific Exam

version.examR Documentation

Create 1 instance of a specific Exam

Description

Create 1 instance of a specific Exam

Usage

version.exam(Qbank, V, exnumber = "Exam 1", seqnum = "2", examdate ='',
instructor="",  course="", instructions="", SAMP=TRUE, ncol=2)

Arguments

Qbank

question bank

V

Character string output files

exnumber

Exam number

seqnum

Version Number

examdate

Date of the examination

instructor

character, name of teacher

course

character, nqme of course

instructions

vector of character strings

SAMP

logical, if TRUE a random ordering to the questions is produced

ncol

number of columns on page, default=2

Value

Side Effects

Author(s)

Jonathan M. Lees<jonathan.lees@unc.edu>

See Also

ran.exam, make.exam, prep.exam

Examples

##  the example creates files on the local system - thus not run
## Not run: 
data(QBANK1)

examdate="THURS Sep 20 2007"

version.exam(QBANK1, "exam1A" , exnumber="Exam 1", seqnum="1", examdate=examdate)


##################
examdate=date()

seqnum="1"
exnumber="Exam 1"
V = "exam1A"
outtex = paste(sep=".",V, "tex" )
outMAST  = paste(sep="", V, "MAST" )


MASTtex  = paste(sep=".", outMAST , "tex" )

outsolut  = paste(sep="", V, "solutions.tex" )
Me = "Jonathan M. Lees"

course="GEOL 105"

examname=paste(sep=" ", exnumber, "Seq", seqnum)

K = length(QBANK1)

instructions=c(
paste(sep=" ", "There are",K," number of questions."),
"Answer all questions.","Use number 2 pencil",
"Mark each box clearly.")

version.exam(QBANK1, "exam1B" , exnumber="Exam 1", seqnum="B",
examdate=examdate, instructor=Me, course=course , instructions=instructions)


## End(Not run)


ProfessR documentation built on Aug. 21, 2023, 9:07 a.m.