CompSci 94 Fall 2024: Assignment #5

Due: Thursday, November 7, 2024 - 11:59pm

15 points

This is individual work. You may talk to other students in the course about your design and for ideas, but you are to write the complete Alice program by yourself. You may receive help from the Professor, UTA's or TA.

Part 1: Tutorial on Interactive Quizzes

The purpose of this assignment is for you to create an interactive animated quiz of your choice.

First you should complete the tutorial called "A Simple Quiz" so you can learn how to ask interactive questions. This program is not to turn in, but to learn how to interactively prompt a question and create a response based on the answer.


Part 2: Alice Program and StoryBoard

You must draw a storyboard for your story. You should have at least four scenes (and no more than 10) with a picture (sketch), list of objects and a written description of what happens in the scene OR what might happen since there are choices.

The animation must include the following features:

  1. Must have at least two procedures you write (not including myFirstMethod). These procedures should be useful in some way.

  2. Must have at least one function you write that must be useful in some way.

  3. Must have at least one array in your program for which you traverse through all the items in that array in a useful way.

  4. Must prompt the user with at least four quiz questions and ask for at least three different inputs (see functions getStringFromUser, getDoubleFromUser, etc. ) (See the extra handout called "A Simple Quiz" described above.)

  5. Must display how many questions the user has gotten correct so far during the quiz (this is like displaying the score).

  6. Create a little animation that happens whenever a question is answered correctly and a different animation that happens whenever a questions is answered incorrectly. (This might be a good place to call a procedure and/or use your array).

  7. In one of your functions or procedures, you must change something at least one of four different ways. (this is similar to how the fish moved around randomly three different ways in prior classwork).

  8. At the end you must say how many quiz questions out of 4 they got correct. For example have one of the objects say "You got 3 of the 4 questions correct."

  9. The presentation must be nice. 20% of the grade is on presentation and comments in code. BE SURE TO PUT COMMENTS IN YOUR CODE.

Implement your design and create an Alice program. Be sure your animation has all the requirements listed above. Be sure to include comments in your code. Each function or procedure should also have a comment at the start of it to explain what it does.


Part 3: Make a Video

You can use Zoom or some other way to make a video of your program. Put the following things into your video.

  1. Your video should first show the code for your procedures and function, and you should explain what they do and show where in the code they are called.

  2. Be sure to explain what is changing at least four different ways.

  3. You should also explain where and how you use one array.

  4. Then play your Alice world a first time.

  5. Then play your Alice world a second time with different results (miss the questions you got right the first time, for example).

SUBMISSION

Turn the following items in Canvas.

You will need to do four things to turn in your assignment. Under Canvas assignments:

  1. Submit your Alice program (.a3p file)

  2. Submit your Storyboard as a .pdf or an image file

  3. Submit your Video OR put the URL for your video in the Reflect form. You do not have to submit the Video if you submit the URL in the reflect form. Make sure the video is public if it is a url.
  4. Fill out the REFLECT form. It is on the assignment page.