CRD-2: Developers create and innovate using an iterative design process that is user-focused, that incorporates implementation/feedback cycles and that leaves ample room for experimentation and risk-taking
0 of 5 questions completed
Questions:
You have already completed the quiz before. Hence you can not start it again.
Quiz is loading…
You must sign in or sign up to start the quiz.
You must first complete the following:
0 of 5 questions answered correctly
Your time:
Time has elapsed
You have reached 0 of 0 point(s), (0)
Earned Point(s): 0 of 0, (0)
0 Essay(s) Pending (Possible Point(s): 0)
Average score |
|
Your score |
|
Pos. | Name | Entered on | Points | Result |
---|---|---|---|---|
Table is loading | ||||
No data available | ||||
In the following code segment, score and points are initially positive integers. The code segment is intended to add the value of points to score during the gameplay. However, if doing so would cause score to be greater than 100, then the game shows YOU WIN!!! and score should be assigned the value 0 to reset the game.
Which of the following changes can be made so that the code segment works as intended?
Use the AP CSP Exam Reference Sheet from AP Computer Science Principles Course & Exam Description to understand the blocks.
The following procedure is intended to return true if the list of numbers of myList contains only negative numbers and is intended to return false otherwise. The procedure does not work as intended.
For which of the following contents of myList does the procedure NOT return the intended result?
Use the AP CSP Exam Reference Sheet from AP Computer Science Principles Course & Exam Description to understand the blocks.
Big tech companies (Facebook, Google, Netflix, Amazon, Apple, etc) are some of the best jobs to apply for. All tech companies give a coding test to all job applicants during their interview. Below is a chart on how the tech companies score a job applicants coding exam that is part of their job application.
Let score represent the coding score of the job applicant. The following code segment is intended to display the appropriate job applicants coding skills based on score. The code segment does not work as intended in all cases.
For which of the following values of scores does the code segment NOT display the intended coding skill assessment? (Select two answers)
Use the AP CSP Exam Reference Sheet from AP Computer Science Principles Course & Exam Description to understand the blocks.
Test
Test