Back

Question Set 16

Seven questions · 10 minutes · the Create Task rules

divider

What This Is

The only question set in this course about rules rather than code. Every question here is something that decides points on the Create Task, and every answer is something you were told at session 50.

This one is worth getting to 7 out of 7. Not because it is easy — two of these are genuinely subtle — but because the cost of not knowing them is measured in exam points rather than in homework points.

Set a timer for 10 minutes. Mark each answer sure or unsure. Guess rather than leave a blank.

You start building at session 51, and from that session on I cannot tell you whether you have these right. This set comes back before then.


The Questions


Question 1

The Create Performance Task is scored out of 6 points. Which statement about where those points come from is accurate?

  • (A) All six points are earned from the program, video, and Project Reference submitted in class
  • (B) Two points are earned from the submitted work, and four from the written responses on the exam
  • (C) Four points are earned from the program code, and two from the video
  • (D) The six points are split evenly between the submitted work and the exam

Question 2 — Select all that apply

A student builds their Create Task program in C# with Raylib. Which of these count as student-developed procedures?

Every method in this program was written by the student
using Raylib_cs;
int[] points = { 3, 7, 2, 9 };
int size = 5;
Raylib.InitWindow(400, 400, "Grid");
while (!Raylib.WindowShouldClose())
{
if (Raylib.IsKeyPressed(KeyboardKey.Space))
{
size = 3;
}
Raylib.BeginDrawing();
Raylib.ClearBackground(Color.Black);
DrawGrid(size, size);
Raylib.DrawText($"Score: {ScoreFor(1)}", 10, 370, 20, Color.White);
Raylib.EndDrawing();
}
Raylib.CloseWindow();
void DrawGrid(int rows, int cols)
{
for (int r = 0; r < rows; r++)
{
for (int c = 0; c < cols; c++)
{
Raylib.DrawCircle(c * 60 + 40, r * 60 + 40, 20, Color.SkyBlue);
}
}
}
int ScoreFor(int player)
{
return points[player] * 10;
}
  • (A) The main program, including its while loop
  • (B) DrawGrid
  • (C) The if that checks the Space key
  • (D) ScoreFor
  • (E) Raylib.DrawCircle

Question 3

Which of these would cause a student to lose the Program Requirements point?

  • (A) Their procedure does not have a parameter
  • (B) The selection and the iteration appear in two different procedures
  • (C) Their list contains only one element
  • (D) The program produces no output

Question 4

Which parts of the Create Performance Task may a student work on with a partner?

  • (A) The program code only
  • (B) The program code and the video
  • (C) The program code and the Personalized Project Reference
  • (D) All three components

Question 5

A student's Personalized Project Reference shows their program code with the comments still in it. What is the consequence?

  • (A) They lose the Program Requirements point
  • (B) They lose one written-response point
  • (C) They are asked to resubmit the reference
  • (D) They score zero on the entire Create Performance Task, including the written responses

Question 6

A Create Task program must include a list whose data is used. A program's list counts as being used when the program:

  • (A) creates new data from the list's existing data, or accesses multiple elements of it
  • (B) declares the list and assigns values to it
  • (C) displays one element of the list
  • (D) passes the list to a procedure

Question 7

A student finds a shuffling function on a programming forum and adds new functionality to it. To use it legitimately in their Create Task, they must:

  • (A) rewrite it so that no line matches the original
  • (B) get permission from the person who posted it
  • (C) name where the code came from in their program documentation
  • (D) move it inside a procedure of their own

Submit

Seven answers, each marked sure or unsure, plus how far you got when the timer went off. Worth 5 points, graded on completion.

And one written answer, in a sentence or two: Question 3 has three options that describe things the rubric explicitly allows. Pick one of them and say why it might still be a bad idea in your own program.

Start the Timer