Displaying 20 results from an estimated 22 matches for "quizzes".
2006 Mar 15
8
Tags to ruby interface: What I am missing? (repost)
...d ''quiz'', ''postamble_presentation'' %></p>
<!--[eoform:quiz]-->
The ddl for the tables is:
create table presentations
(
ID char(36) not null primary key,
text varchar (1024),
audio varchar (1024),
visual varchar (1024)
);
create table quizzes
(
ID char(36) not null primary key,
name varchar (255) not null,
preamble_presentation char(36),
postamble_presentation char(36),
foreign key (preamble_presentation) references presentations(ID),
foreign key (postamble_presentation) references presentations(ID)
);
2006 Mar 09
2
Newbie question: How to represent parent-child denormalization
...pment. My idea of a perfect
screen is plain white that is sparsely populated with black text with a
single font and no effects. The default stylesheets that rails
generates are quite a bit more elaborate than I would choose to
build :o)
I am trying to build a flash-card application that contains quizzes,
questions, possible answers, and presentations, plus historical records
of users''s answers over time (quiz_instances, question_instances,
response_instances).
I have been working from Thomas and Hansson (Agile Web Development With
Rails), but I appear to be missing something in the move...
2006 Apr 02
2
"Quiz" site
Hi,
I am thinking about how to best design a quiz site in RoR. I think it
should be fairly easy, but have run into a wall. In the simplest form,
the view would grab all of the questions for a particular quiz and
display them (e.g. multiple choice, so 4 option buttons per question).
However, I can''t figure out how to "mark" the quiz. The form is
submitted to the
2008 May 09
5
dynamic models
Hi
In my app , a user can create a set of question then a table is
dynamily created , in the database,to store the answers of the
questions. the name of the table is answers_x (x is the id of the
questionniare).
Is it possible to dynamicly create a model, to handle the answer_x
tables ?? I can''t manually create a model then restart the server.
2009 Dec 03
5
Bar Plots: Error Bars
...centered on the bars and some of them aren't even close). Here's the
code that I'm using:
> marks <- sample(4:10, size=50, replace=TRUE)
> dim(marks) <- c(10,5)
> classavg <- colMeans (marks, na.rm=FALSE, dims = 1)
> barplot(classavg, main="Class Average for Quizzes", xlab="Quiz",
> ylab="Average", names = c("1","2","3","4","5"), ylim=c(0,12), axis.lty=1)
box()
> max <- apply (marks, 2, max)
> min <- apply (marks, 2, min)
> arrows(1:5, min, 1:5, max, code=3, angle=90,...
2009 Apr 28
1
broken link on http://us1.samba.org/samba/docs/SambaIntro.html
...html and noticed that the the link to the Dilbert site on http://www.unitedmedia.com/comics/dilbert/ isn't working. I'm a Dilbert fan myself :) so I thought I'd mention a page I have bookmarked: http://www.answerconnect.com/articles/dilbert-fans It has a bunch of neat fan sites and quizzes and whatnot. I figured it might be a good addition to your page, if you were going to replace that dead link.
Hope I could be of some help. Have a good day!
-Angelica
2006 Mar 15
0
[ADV] Best of Ruby Quiz available
Railsriders:
Quizmeister James Edward Gray II selected the best 25 Ruby Quizzes
from last year, then carefully collected answers and annotated them.
The result is "The Best of Ruby Quiz", a wonderful book which will
teach any Ruby programmer new techniques and approaches to coding.
If you want to hone your programming skills, stick to the front part
of the b...
2006 Apr 20
1
Rails is losing key information
...TIP_PRESENTATION_ID EXPLANATION_PRESENTATION_ID
44 43
----------------------------------
Firebird DDL:
----------------------------------
create table presentations
(
ID INTEGER not null primary key,
textvalue varchar (1024),
audio varchar (1024),
visual varchar (1024)
);
create table quizzes
(
ID INTEGER not null primary key,
name varchar (255) not null,
preamble_presentation_id INTEGER references presentations(ID),
postamble_presentation_id INTEGER references presentations(ID)
);
create table questions
(
ID INTEGER not null primary key,
PARENT_ID INTEGER not null refere...
2006 Apr 01
12
Repost: Why is rails generating bad SQL?
...the SQL
before it tries to run it):
--------------------------------
Looking for Parent= ff2d7022-be0a-11da-9f01-00400506faf5
Initial request = nil
SQL Conditions = ''nil''
Have one ID to check: ff2d7022-be0a-11da-9f01-00400506faf5
find all - finder_sql= SELECT FIRST 1 * FROM quizzes WHERE (quizzes.id
= ''--- !map:HashWithIndifferentAccess
ff2d7022-be0a-11da-9f01-00400506faf5: ""
'')
I instrumented ActiveRecord.find
2006 Mar 14
1
I''m missing something obvious to a taglib programmer ...
...d ''quiz'', ''postamble_presentation'' %></p>
<!--[eoform:quiz]-->
The ddl for the tables is:
create table presentations
(
ID char(36) not null primary key,
text varchar (1024),
audio varchar (1024),
visual varchar (1024)
);
create table quizzes
(
ID char(36) not null primary key,
name varchar (255) not null,
preamble_presentation char(36),
postamble_presentation char(36),
foreign key (preamble_presentation) references presentations(ID),
foreign key (postamble_presentation) references presentations(ID)
);
2006 Mar 28
1
Rails generates query with reserved word for field name
...> "Quiz"
acts_as_list :scope => :parent_id
# TODO: auto-increment for seq
end
create table questions
(
ID char(36) not null primary key,
PARENT_ID char(36) not null,
presentation_id char(36) not null,
seq integer not null,
foreign key (PARENT_ID) references quizzes(ID),
foreign key (presentation_id) references presentations(ID)
);
create unique ascending index quest_seq on questions (PARENT_ID,SEQ);
2004 Jun 25
0
further problems with arima..
Sorry to keep quizzing the r-helpers but I'm having real difficulty with
arima.
I am happy that i have chosen the best fitting arima model for my
data,(in this case arima(1,1,1) but when i use the predict function the
forecast damps to a constant value after just two or three values, and
from a time series of almost 3000 values i am left with only a couple of
predicted values. I have tried
2013 Dec 01
0
MOOC on Statistical Learning with R
...and is based entirely on our new book
“An Introduction to Statistical Learning with Applications in R”
(James, Witten, Hastie, Tibshirani 2013, Springer). http://www-bcf.usc.edu/~gareth/ISL/
The pdf of the book will also be free.
The course, hosted on Open edX, consists of video lecture segments, quizzes, video R sessions, interviews with famous statisticians,
lecture notes, and more. The course starts on January 22 and runs for 10 weeks.
Please consult the course webpage http://statlearning.class.stanford.edu/ to enroll and for for further details.
---------------------------------------------...
2005 Nov 18
1
challenge: using 'subset = <computed>' inside function ..
I've been asked by someone else whom I originally taught
`` to just work with substitute() and then all will be fine'' ...
But it looks to me that I've been caught here.
Is it possible to make this work along the way we thought it should?
1) Inside a function, say tst() with the 'formula' and a 'data' argument,
2) call another modeling function using
2007 Sep 02
17
A Proposal To Magically Remove ''params''
I have a magical proposal for the anti-magic web framework.
Controller methods do not use arguments and yet expect arguments. This
is handled through this params hash because we don''t know in advance
what parameters a client could pass to Merb. But in almost every
instance, it is too much to know all the query parameters - one
doesn''t care if the user threw in an extraneous
2011 Jun 13
2
Xapian 1.2.6 released
I've uploaded Xapian 1.2.6 (including Search::Xapian 1.2.6.0).
As usual you can download from:
http://xapian.org/download
You can read an overview of the release here:
http://trac.xapian.org/wiki/ReleaseOverview/1.2.6
The full lists of user-visible changes are linked to from there, and also
from the "[news]" links on the download page.
As always, if you encounter problems,
2006 Jul 20
11
Any good alternative to single-table-inheritance?
I''m looking to implement model inheritance in a new application. Is
there any good alternative to single-table-inheritance?
--
-Alder
2006 Aug 08
7
undelete
I just removed a bunch of Personal stuff I should not have.
Is there anyway to undelete???
Jerry
2006 Nov 03
10
[PLUGIN] rspec_resource_generator - RESTful scaffold generator with RSpec specifications
rspec_resource_generator
========================
By Pat Maddox
Use this generator to generate RESTful scaffolding with RSpec specifications.
Syntax is exactly the same as the scaffold_resource generator:
./script/generate rspec_resource ModelName [field:type field:type]
When you run this generator, it will create a migration, model, and
model spec file. In addition, it gives you a RESTful
2007 Oct 10
9
Rspec Textmate bundle errors
Hello all,
Having a problem with the Rspec textmate bundle and having quizzed
the guys in #textmate to no success about the errors, I''ve been
suggested to try you guys!
When I run the "Run Behaviour Description" command, I get the
following errors:
/Users/alastair/Library/Application Support/TextMate/Bundles/
RSpec.tmbundle/Support/lib/spec/../spec/mate/runner.rb:34:in