Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here



I want to make one quiz which will start whene I click button test in the movie input.dir.
Name of the quiz movie is test.dir and he has file questions.xml where I put 10 question for quiz.

First question :
1. I want to put in this file questions.xml 40 questions and randomize 10 questions but I dont know how to do this.

Second question

2. Whene I try incorporate this movie with all movie which I made and whene I want to see my project whene I click on test.dir it is write me script error.
Everything is good whene I try do this from the movie input.dir but in the finally project i have this message error.

Thak you for you help.

RE: quiz

I would put 40 questions in a Prop List. Then you can pick random 10 from the list using the method I posted in other thread. Do you need help parsing your XML and creating a Prop List?

Kenneth Kawamoto

RE: quiz

Yes I need. Thank you.

RE: quiz

<?xml version="1.0"?>
<questionText>    Kapacitet radne memorije racunala izrazava se u ?</questionText>
<incorrect>    Hz</incorrect>
<incorrect>    Milisekundama</incorrect>
<correct>KB ( kilobajtima)        </correct>
<incorrect>Niti jedan od odgovora nije tacan</incorrect>
<questionText>ROM je memorija</questionText>
<correct>koja cuva sadrzaj i nakon iskljucenja racunala</correct>
<incorrect>koja trenutno memorira aplikacijske programe</incorrect>
<incorrect>koja ima promjenjiv kapacitet</incorrect>
<incorrect>radna memorija racunala</incorrect>
<questionText>Hard disk je?</questionText>
<incorrect>glavna memorija racunala u koju se privremeno memoriraju podaci i programi</incorrect>
<correct>    sekundarna memorija velikog kapaciteta</correct>
<incorrect>ROM memorija za trajno pohranjivanje programa</incorrect>
<incorrect>Komunikacijski uredjaj</incorrect>
<questionText>Ink-jet je vrsta?</questionText>
<incorrect>    sekundarnih memorija</incorrect>
<incorrect>vrpca za memoriranje vecih kolicina podataka</incorrect>
<correct>tintnog stampaca</correct>

<questionText>    Aritmeticko logicka jedinica je osnovna komponenta: ?</questionText>
<incorrect>memorije sa izravnim pristupom u koju se smjestaju podaci i programi</incorrect>
<correct>sredisnje procesne jedinice (CPU)</correct>
<incorrect>Kontrolne jedinice     </incorrect>
<incorrect>Svi odgovori su tacni</incorrect>
<questionText>Kontrolna jedinica je osnovna komponenta ?</questionText>
<incorrect>aritmeticko logicke jedinice</incorrect>
<incorrect>memorije sa izravnim pristupom u koji se smjestaju podaci</incorrect>
<correct>sredisnje procesne jedinice    </correct>
<incorrect>nista od navedenog</incorrect>
<questionText>Jedan megabajt ( 1 MB) predstavlja ?</questionText>
<incorrect>1024 bajtova</incorrect>
<correct>1048576 bajtova</correct>
<incorrect>32768 bajtova   </incorrect>
<incorrect>256 bajtova</incorrect>
<questionText>Razlucivost monitora ovisi o </questionText>
<incorrect>operacijskom sistemu</incorrect>
<correct>grafickoj kartici</correct>
<incorrect>procesoru    </incorrect>
<incorrect>nista od navedenog</incorrect>
<questionText>Na disketu (3,5 incha) je moguce pohraniti ?</questionText>
<incorrect>1 MB ( mega bajta)</incorrect>
<correct>1,44 MB</correct>
<incorrect>2 MB   </incorrect>
<incorrect>1,2 MB</incorrect>
<questionText>Za pohranjivanje 2 MB podataka potrebne  su</questionText>
<incorrect>4 diskete</incorrect>
<correct>2 diskete</correct>
<incorrect>1 disketa ( 3,5 incha)  </incorrect>
<incorrect>3 diskete</incorrect>

RE: quiz

Looks good, but if possible I would like to structure it slightly differently:


<?xml version="1.0"?>
    <question id="1">
        <questionText>Kapacitet radne memorije racunala izrazava se u ?</questionText>
        <answers correct="3">
            <answer id="1">Hz</answer>
            <answer id="2">Milisekundama</answer>
            <answer id="3">KB ( kilobajtima)</answer>
            <answer id="4">Niti jedan od odgovora nije tacan</answer>
    <question id="2">
        <questionText>ROM je memorija</questionText>
        <answers correct="1">
            <answer id="1">koja cuva sadrzaj i nakon iskljucenja racunala</answer>
            <answer id="2">koja trenutno memorira aplikacijske programe</answer>
            <answer id="3">koja ima promjenjiv kapacitet</answer>
            <answer id="4">radna memorija racunala</answer>
If this is not feasible then we can still use the one you have. What do you think?

Kenneth Kawamoto

RE: quiz

Thank you for your help.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close