Skip to content

Instantly share code, notes, and snippets.

@BillFoster
Created February 13, 2012 19:13
Show Gist options
  • Save BillFoster/1819215 to your computer and use it in GitHub Desktop.
Save BillFoster/1819215 to your computer and use it in GitHub Desktop.
cast to vector problems - works for L to V and not for a1 to b below
{ notes: " Lists to vectors as below. Vectors to lists would be more efficient as could then sum up over subranges i.e. rows and columns"
name: MAS1342 20122013 CBA1a_1
extensions:[stats]
percentPass: 50
shuffleQuestions: false
rulesets:{
std:[all,fractionNumbers, !collectNumbers,!noLeadingMinus]
}
navigation: {
allowregen: true
showfrontpage: false
reverse: true
browse: true
}
feedback: {
showtotalmark: true
}
questions: [
{
name: MAS1342 20122013 CBA1a_1
variables: {
a: "sort(repeat(random(0..1#0.001),m*n-1))"
m:"random(4..6)"
n:"random(4..6)"
L:"[1,2,3]"
V:"vector(L)"
a1:"a+1"
a0:"[0]+a"
//b:"vector(a1)"
//c:"list(b)"
}
statement: """
"""
parts: [
]
advice: """
"""
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment