Note: For information about the points this response earned, please see the Create Commentary (.pdf/66.6KB).
Submit one video in .mp4, .wmv, .avi, or .mov format that demonstrates the running of at least one significant feature of your program. Your video must not exceed 1 minute in length and must not exceed 30MB in size.
The video presented is a sample submission from a student and may not contain any audio. User-submitted descriptions are provided below, describing the purpose and functionality of the content depicted in the video.
2. Written Responses
Submit one PDF file in which you respond directly to each prompt. Clearly label your responses 2a–2d in order. Your response to all prompts combined must not exceed 750 words, exclusive of the Program Code.
Program Purpose and Development
2a. Provide a written response or audio narration in your video that:
- identifies the programming language;
- identifies the purpose of your program; and
- explains what the video illustrates.
(Approximately 150 words)
Sample response to 2a:
2b. Describe the incremental and iterative development process of your program, focusing on two distinct points in that process. Describe the difficulties and/or opportunities you encountered and how they were resolved or incorporated. In your description clearly indicate whether the development described was collaborative or independent. At least one of these points must refer to independent program development.
(Approximately 200 words)
Sample response to 2b:
The process of creating my program was a very large struggle that took a long period of time in creating and making it right. At the start I had troubles trying to figure out where to start my code as we had not independently created our own code in the past before. However after I a while I was able to find my footing in creating the program. My program itself was independent and I had very little help in creating my own program. This helped and hurt me at the same time as while I was able to learn a lot coding the program, my code was very small in general compared to others in this class. The main struggle I had was finding a way in creating a mystery number for my code. This took a while as I wasn't collaborating with others to find out how to. However after looking back on previous code I had created before, I was able to create my mystery number generator and solved my problem. After that, I just added on with basic code had done in the past and implemented it into my code and was successfully able to make my program.
2c. Capture and paste the program code segment that implements an algorithm (marked with an oval in section 3 below) that is fundamental for your program to achieve its intended purpose. Your code segment must include an algorithm that integrates other algorithms and integrates mathematical and/or logical concepts. Describe how each algorithm within your selected algorithm functions independently, as well as in combination with others, to form a new algorithm that helps to achieve the intended purpose of the program.
(Approximately 200 words)
Sample response to 2c:
My algorithm is able to implement many others algorithms in multiple ways. It first is able to integrate the variables by creating its own variable for guessing. After this it is able to implement other situations such as if the number is over the secret number or if the number is smaller than the secret number created by the mystery number. This is able to implement previous code created by the mystery number that I had created in my code. Also another portion of code that I created is the use of adding a chat if you win or have not gotten the mystery number. It creates an alert that pops up on your screen if you have achieved success in finding the mystery number as it will say "well done it was 'mystery number'."
This algorithm keeps track of how many of each prize has been collected. In the code just before this segment I create a list that stores the number of each prize that was collected, and set all the values of the elements to
0. I needed to integrate an algorithm for simulating one purchase with an algorithm for continuing until one of each prize is won.
The first algorithm is the
set block combined with the
replace block. I take the current value of a certain element in the list and add 1, to mark one more of that prize.
The second algorithm involves the
repeat block that continues
until I have one of each kind of prize. I needed a way to stop this loop when you have a complete set of prizes. The repeat
until block has a condition "
not countOfEach contains 0." In effect this allows the
repeat to continue
until the list contains no zeros.
2d. Capture and paste the program code segment that contains an abstraction you developed (marked with a rectangle in section 3 below). Your abstraction should integrate mathematical and logical concepts. Explain how your abstraction helped manage the complexity of your program.
(Approximately 200 words)
Sample response to 2d:
My abstraction was able to handle my program in multiple ways. It was able to hold the random number that I had created which helped make my program succeed. It also helped in creating situations of what to do when numbers are guessed. Such as holding the code of the secret number and popping up words when a specific number is shown. These concepts were created logically as previous code had helped show me the way.
3. Program Code
Capture and paste your entire program code in this section.
- Mark with an oval the segment of program code that implements the algorithm you created for your program that integrates other algorithms and integrates mathematical and /or logical concepts.
- Mark with a rectangle the segment of program code that represents an abstraction you developed.
- Include comments or citations for program code that has been written by someone else.