Skip to content

Project Check # 2 #19

Description

@ADVAYS16

Individual Review Ticket:

Screen Shot 2023-04-17 at 4 58 09 PM

Reflection:

  • Q11:

Screen Shot 2023-04-17 at 4 59 09 PM

Answer A is wrong as it implies all 3 are being selected equally. Answer D is correct as it would lead to Yellow being picked 1/6, and Blue being 1/6, and red being the remaining 2/3.

  • Q14:

Screen Shot 2023-04-17 at 5 01 27 PM

Answer is C as the programs will have same number of values but differing numbers.

  • Q21

Screen Shot 2023-04-17 at 5 02 20 PM

Answer is not A as This code segment moves the robot forward two squares, rotates it right one time so that the robot faces the bottom of the grid, and then moves the robot forward three squares. It should be B.

  • Q26

Screen Shot 2023-04-17 at 5 03 31 PM

Answer D is incorrect as it This code segment moves the robot one square forward from its initial location and then rotates the robot right. And after that the if statement is never executed again. It should instead be A.
  • Q41

Screen Shot 2023-04-17 at 5 05 00 PM

Answer is B as this expression uses theMax procedure to replace the midterm score with the higher of the two scores. The selected value is then added to the final exam score and assigned to One word, adjusted Total.
  • Q56

Screen Shot 2023-04-17 at 5 05 46 PM

Answer D is right the value of count starts at 1 and increases by twos, so it counts odd integers. The loop iterates 10 and therefore its from 1 - 19.
  • Q57

Screen Shot 2023-04-17 at 5 07 24 PM

Answer C is wrong as it simply outputs Happy. B is rights as it leads to the first two letters of harp being mixed with the last three letters of puppy.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions