Announcement

Collapse
No announcement yet.

Random selection

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Random selection

    Здравствуйте. Помогите, пожалуйста, новичку.
    Есть файл sample.quiz с вопросами, которые появляются, но всегда одни и те же. А как сделать случайный выбор вопросов? Спасибо за помощь.
    Вот взял готовый код, что нужно исправить?
    ​​​​​​​







    Attached Files
    Last edited by Ulrich; 03-16-2021, 06:37 AM.

  • #2
    This is ENGLISH only
    Don't be lazy and use Google Translate , then someone might Help you

    Comment


    • #3
      Hello. Please help the newbie.
      There is a sample file.quiz with questions that appear, but always the same. And how to make a random selection of questions?
      Thanks for the help.Here I took the ready-made code, what should I fix?
      Attached Files

      Comment


      • #4
        I have several Quiz apz and question maker [still in progress] using xml and sqlite for storing answers
        but you will have to post your sample for me to look at
        as just code in docx makes no sense

        Comment


        • #5
          Originally posted by colc View Post
          I have several Quiz apz and question maker [still in progress] using xml and sqlite for storing answers
          but you will have to post your sample for me to look at
          as just code in docx makes no sense
          I think our friend meant this source:
          Attached Files

          Comment


          • #6
            OK I have done some pics to show.
            Click image for larger version

Name:	quiz1.png
Views:	542
Size:	26.4 KB
ID:	306485 to change quiz chande file name here
            Click image for larger version

Name:	quiz2.png
Views:	472
Size:	10.7 KB
ID:	306486 true / false quiz
            Click image for larger version

Name:	quiz4.png
Views:	448
Size:	31.5 KB
ID:	306487 to change Q & A open file with text editor > change > save or saveas

            Click image for larger version

Name:	quiz3.png
Views:	458
Size:	78.9 KB
ID:	306488

            Hope this helps

            Comment


            • #7
              Originally posted by colc View Post
              OK I have done some pics to show.
              Click image for larger version

Name:	quiz1.png
Views:	542
Size:	26.4 KB
ID:	306485 to change quiz chande file name here
              Click image for larger version

Name:	quiz2.png
Views:	472
Size:	10.7 KB
ID:	306486 true / false quiz
              Click image for larger version

Name:	quiz4.png
Views:	448
Size:	31.5 KB
ID:	306487 to change Q & A open file with text editor > change > save or saveas

              Click image for larger version

Name:	quiz3.png
Views:	458
Size:	78.9 KB
ID:	306488

              Hope this helps
              You are the angel of salvation for all of us, colc
              But I think he meant that the questions and answers were random , or no?!

              Comment

              Working...
              X
              😀
              🥰
              🤢
              😎
              😡
              👍
              👎