quiz

Why does this separate definition cause an error?

Solution: This is an interesting problem, because sometimes we have no choice but to declare an explicitly qualified name. std::string convert(); namespace tools { class Numeric { // ... // parsed as: "friend std::string::convert ();" // (actual name is missing!). friend std::string ::convert(); }; } In that c...

online quiz using ASP dot NET

Hii, I need to develop an online quiz website that would be having MCQs. I would want to have one question appearing per page with a Numeric Pager so that the user can go back and forth. I tried using the FormView for displaying the questions and RadioButtons. I created a class QANS that would hold the answer selected by the user for t...

Coding Problems-help with AS3 quiz game

Ok, so could someone tell me what's wrong with this script? stop(); Start_Game.addEventListener(MouseEvent.CLICK, Start_function); function Start_function(e:Event){ gotoAndPlay("Question Board"); } ...

Ruby on Rails questionnaire tutorial?

Can't find any tutorial for creating a simple questionnaire system on RoR (without using Finite State Machines). I think the Model is simple: Quizzes (have many Questions) Questions (belong to Quizzes, have many Choices, have one Answer) Choices (belong to Questions) Responses (belong to Users, belong to Questions) Users (have many ...

quiz ; does this compile and if so what does it return (I know the answer)

found this typo recently if (name.find('/' != string::npos)) I was amazed that it even compiles at -Wall -Werror (didnt try with -pedantic) so coffee quiz - does it eval to true or false edit : answer - true string::npos -> inta (usually -1) '/' -> intb inta != intb -> bool true bool true-> int = 1 (probably) -> char 0x01 name.fin...

Rails - Any plugins for building a online quiz/test?

Hello guys, I'm trying to add some online tests to my site and before I rolled up my sleeves I was wondering if there is any ruby on rails plugin support for such a task. Essentially I'm looking for something that lets me add multiple choice questions. Performing the scoring logic would be an added bonus. Any one know of anything? ...

What will be the value of i in the following pseudocode?

I got this question in a programming test. Do you think this question is even correct? Look at the answer choices. (2^x means 2 raised to x) Consider the following pseudocode. x := 1; i := 1; while (x >= 1000) begin x := 2^x; i := i + 1; end; What is the value of i at the end of the pseudocode? a) 4 b) 5 c) 6 d) 7 e) 8 I am s...

Recommend JSP Quiz Tutorials

Hi Everyone, I need to make a quiz that uses JSP and servlets but I can't find any tutorials online which can help me create my own one. If there are any can someone recommend me some, I have tried Google and nothing reasonable has come up. Thanks. ...

PHP regex extract date

i have $date variable 2009-04-29 which is Y-m-d anybody can give idea how to extract into $d, $m, $y using simplest method as possible? regex is preferable. any more suggestion with simple method will be chosen. :) ...

Computer Quiz Management Software

My university is holding a quiz contest in 2 weeks, and I need some sort of software (desktop or web based) that can be used to manage the quiz. I need functionality like an admin panel for adding teams, creating matches between 2 teams, adding questions and answers. I then need the software to automatically display the questions, accept...

Trying to parse xml file for javascript quiz

Hi I am trying to create a javascript quiz, that gets the questions from a xml file. At the moment I am only starting out trying to parse my xml file without any success. Can anyone point me to what I am doing wrong? <html> <head> <title>Test</title> <script type="text/javascript" src="prototype.js"></script> </head> <body> <div class=...

Rails - Help scoring an online quiz in RoR

I'm trying to grade a quiz application I would like to make. I have a questions model with and ask(the actual question), 4 choices(a-d), and a correct answer(string). In the view I have the 4 question being diplayed then the correct answer choice (This is just a test for functionality) and then I created a text_field to accept the use...

How can I create The Oatmeal like quizzes (http://theoatmeal.com/quizzes) using Drupal module quiz ?

Hi, I am trying to create quizzes which are kind of like the ones found here : http://theoatmeal.com/quizzes on my drupal site. I am trying to use drupal's quiz module ( http://drupal.org/project/quiz ) Basically everyone answer, in every question, in a quiz will have some particular weightage. Say answer 1 will have 2 marks, ans two w...

Multiple Questions per page using Drupal Quiz

I'm using the Drupal Quiz module, and have setup some basic quizzes and stuff like that. However some further customization is required, involving more than 1 question per page, and a multi-type answer in this type of format: Question 1: Describe 4 things you did last summer a) [ short answer space - text field ] b) "I wept" c) "My who...

Online interview quiz

I am currently interviewing for a developer role in my company and I have had a lot of poor candidates come in so far. One of the things we have discussed is providing an online test for the candidates to fill in. Has anyone ever used an online service like this? Even if the service charges a fee that is not a problem. I would prefer if...

Do Java workbooks exist?

Does anybody know of a Java programming workbook? Kind of like pragmatic bookshelf's "Ruby Quiz", except for Java. Not a book of explanations, but a book of problems. Thanks in advance! ...

how to move from question to question for a quiz app

Essentially what I will be writing is a quiz type application. Basically there will be a paragraph or so to read, with one or more choices below. There will be several criteria to decide what the next question will be, ie. If it was a hard question and get it wrong, the next is easier, or maybe less choices, etc. Where would I put the l...

how to automate creation of vocabulary questions

We would like to prepare a quiz which will improve the vocabulary of the students. What does pittance mean? a) tiny, inadequate amount of payment b) to feel pity or remorse c) to go against, rebuttal an argument d) regret, wishing you could take back what has been done or said The answer to the above question is (a). So in order to c...

Quiz creator and sharepoint

Hi there i want to use a quiz creator software like quiz creator or articulate My problem is that i want to save quiz results to sharepoint lists. like : quizname : xx quiztaker: yy quiztime : x correct answers: 5 wrong answers : 7 etc. Is there any way to achieve this,or is there any open source .net quiz maker like these utilities to ...

Jquery and next fade in

Hey guys, I have a bit of a problem that I can't solve. I'm don't know much about jquery, so i'm hoping you can help me. Basically I have a quiz script that has questions in divs, I want when a person checks radiobox and presses "next question" button, the present div would fade out, and the next div would fade in. Here's how html code ...