I'm using moodle 3.2 and I wonder if someone can help me with questionary activity.
I want to create like a rolplay in moodle using a quiz, in which the question or page a respondent sees next based on how they answer the current question.
Lets say if I have :
For question 1)
if user response
a) then move to question X
b) then move to question Y
c) then move to question X
d) then move to question H
Not sure how to achieve this.
Best Regards,
Thanks
Sebastian.
Take a look at the lesson module in Moodle - https://docs.moodle.org/en/Lesson_module - that sounds like exactly what it does.
Related
I am relatively new to Flutter and just building a Web App for learning purpose. If someone knows Taxfix, which is by the way amazing!, I am wondering how they did this really nice question and answer design? LookHere Sorry that it is in German, but I hope you get the point.
How could you achieve smth. similar? I guess the Main part is a ListView?! And then just dynamically somehow create new questions out of the answers before? I guess the StateManagement is the key?
To concrete the question, how could I achieve a ListView, showing only one item per page and adds dynamically new questions based on the answers before? Does someone has a really short and basic example und how to get something like that running?
Sorry if that is a dumb question, but maybe someone has implemented already an example like that.
Anyway, thx for the help,
Daniel
how could I achieve a ListView, showing only one item per page
with listview you can use change the scroll direction to horizontal
|-listView
|-myfullscreenwidget which scrolls horizontally
adds dynamically new questions based on the answers before
this is mainly a datasource question. you might want to ask this questions first
Is the data source local or online
Nature of questions, bool, multi-choice, short answer,
How to validate response
finally communicate with the database and push more questions to the list
I want to make an iPhone app just like a questionnaire/Quize, and want to store all questions in sqlite database , i need to have One question that can be a label and 4 radio buttons for answers, user will select the option and will go for the next question, questions and answers will be saved in sqlite and at the end user will come to know how many he made correct or wrong choices.
Please suggest me any tutorial or anything that can be help full for me,please guise i will be grateful to u for this kindness in advance.
Just make a database with a table with columns like so : id, question, answer1,answer2,answer3,answer4,correct answer, did answer correct;
If you don't know SQL just use a wrapper like FMDB
After that just us use the built in function to get from database the question with a certain id (i.e. question number) and pass that to your question-asking class . When the user presses on an answer, check if it's correct and modify "did answer correct" columns.
Break your project into set of questions:
1. How to create GUI in iPhone?
2. How to connect to database in iPhone?
3. How to create label, radio buttons in iPhone?
4. How to submit form in iPhone?
Etc.
Then search the web for each of these. Perform these examples individually, test them and combine them.
Voila you've got a brand new questionnaire application :)!!!
I am posting the question again with more clarity.
I am trying to develop a component similar to the UI for timeline component in "Timeli" app.Ia m not sure how to start or which iOS controls to use for this .The requirement is to show the years in a horizontal table view.Pinching on the tableview should expand that particular cell and at some particular point the cell should break into the different months in that year.If the user further try to expand a particular cell by pinching then that cell should break into the different days .Reverse should also work.It would be great if anyone can help me with some tips or suggestions to star developing this.
I don't know that particular app, but I can give some general advice: browse through the open source components at Cocoa Controls; find one that is similar to what you want to create; download the source code and study it.
Even if you can't find exactly what you want, you might learn some techniques that will help you figure out how to build the control you want to build.
If you want more specific help, you're going to have to make an attempt, and then ask a specific question where you explain what you're doing and what's not working. Generic "how do I build this?" questions don't usually work too well here, because nobody knows where you are starting from.
I need to create a from in lift with username and phone number.
can someone give a full example how to create a simple form in lift that can be submitted? or a reference to a good one. all examples I have seen are not full or has too many options for me, and I couldn't manage to compile them.
Thanks,
Ohad.
You can find an excellent, simple example in the introductory course given by David Pollak in London here. The snippet for the simple form (instead of a phone number as you comment it has an age) is here. The html associated is this one, just comment the Lift Screen section and uncomment the simple form.
Please also note that Lift has a very active and willing to help community, so you can also ask these questions in the Lift mail list.
This might be simple but not able to get the work done.
here is a modelformset using which specific # of forms could be displayed:
formfact = formset_factory(ModelForm,extra = count)
fset = depffact(prefix='new')
My question is:
how can i display single form a time,how can i modify it such a way that everytime user
clicks a button previous forms are validated and one more modelform is displayed.
i.,show form1,if asked for show #2,#3 etc
i tried keeping track of count and using that count but was not successful.Ideas most welcome
by mistake i asked similar question twice
but i did answer it in this post incase if you want to refer. if you have a better solution, appreciate you sharing it.