Grace is creating a game about a cook in a kitchen. Grace wants the cook to flip a burger in the air. If it lands in the pan, the cook should earn points. If it falls on the floor, the cook should lose points. Which of these statements should Grace use? (1 point)

Which of the following describes an editor when writing a program? (1 point)

An editor is a software tool used by programmers to write and modify code. It provides features such as syntax highlighting, code completion, and debugging capabilities to enhance the coding experience. Thus, an editor is used for writing and modifying a program's code.

Which of these is an example of a Boolean value?

An example of a Boolean value is:

a) True

Boolean values are binary, meaning they can be either true or false. In this case, "True" represents a Boolean value of true.

Which of these is an example of a Boolean value? (1 point) Responses apple, banana, and pear apple, banana, and pear apple or banana apple or banana apple apple banana banana

An example of a Boolean value is:

c) apple or banana

In this case, "apple or banana" represents a Boolean expression where the value can be true if either "apple" or "banana" is true, and false if both are false.

With the statement, “If the dragon is hit by an arrow, the player gains 20 points; else, the player loses one life,” what happens if the arrow misses the dragon? (1 point) Responses The player loses one life. The player loses one life. The player gains 20 points. The player gains 20 points. The player loses 20 points. The player loses 20 points. There is no effect in the game.

If the arrow misses the dragon, according to the statement, the player loses one life. So the correct response is:

a) The player loses one life.

Which sentence best describes how block-based code works? (1 point) Responses Lines of code make physical blocks move. Lines of code make physical blocks move. Each block creates printer output. Each block creates printer output. Lines of code are used to print blocks. Lines of code are used to print blocks. Each block connects to one (or more) instructions written in code. Each block connects to one (or more) instructions written in code.

The correct response is:

d) Each block connects to one (or more) instructions written in code.

In block-based coding, visual blocks are used to represent different instructions or actions, and these blocks can be connected together to create a program. Each block represents a specific action or command in the code, and by connecting these blocks, the instructions written in code are formed.

Milagros designed a game by dragging and dropping pre-made blocks that contain elements of code. Which term best describes what Milagros used? (1 point) Responses blocking code blocking code basic code basic code block-based code block-based code editing code

The correct term that best describes what Milagros used is:

c) block-based code

In block-based coding, pre-made blocks containing elements of code are visually represented and can be dragged and dropped to create a program. This allows for a more beginner-friendly and intuitive way of coding, as users can visually piece together blocks to create the desired functionality of their program.

Which of the following is NOT one of the three main ways to control a program when writing code? (1 point) Responses sequence sequence derivative derivative selection selection iteration

The term "derivative" is not one of the three main ways to control a program when writing code.

The three main ways to control a program are:

1) Sequence: The code executes in a specific order, from top to bottom.
2) Selection: Using conditional statements like "if" and "else" to make decisions and execute different blocks of code based on those decisions.
3) Iteration: Using loops to repeat a block of code multiple times.

Therefore, the correct response is:

b) derivative

van wants to have code in a game that will make it possible to change the speed of a swimmer in the game. Which of these does Ivan need? (1 point) Responses a Boolean value a Boolean value output output a variable a variable a database a database

In order to change the speed of a swimmer in a game, Ivan would need a variable.

A variable is a named storage location in code that can hold different values. By using a variable, Ivan can store and update the speed value of the swimmer. This will allow for the ability to change and control the swimmer's speed dynamically during the game.

Therefore, the correct response is:

c) a variable

Mariella is trying to explain the concept of a variable to her sister who is new to programming. Which of the following analogies should Mariella use to help her sister understand? (1 point) Responses

a) A variable is like a box that can hold different items.

b) A variable is like a car that can drive at different speeds.
c) A variable is like a book with multiple chapters.
d) A variable is like a road with multiple lanes.

Mariella should use analogy a) "A variable is like a box that can hold different items."

This analogy helps to explain that a variable can hold different values, just like a box can hold different items. It demonstrates the concept of storing and updating different values in a variable, similar to storing and changing items in a box.

Mariella is trying to explain the concept of a variable to her sister who is new to programming. Which of the following analogies should Mariella use to help her sister understand? (1 point) Responses a car that uses gas a car that uses gas a boy that walks his dog a boy that walks his dog a box that holds mail a box that holds mail a banana that is overripe

Mariella should use the analogy of "a box that holds mail" to help her sister understand the concept of a variable.

This analogy helps to illustrate that a variable is a container that can hold different values, just like a box can hold different mail items. The contents of the box can be changed or updated, similar to how the value of a variable can be modified during the execution of a program.

Jasmine wrote a program where the actor does things in order. Which term best describes this program? (1 point) Responses sequential sequential selection selection conditional conditional iteration iteration

The correct term that best describes Jasmine's program is:

a) sequential

In a sequential program, the code executes in a specific order, step by step, from top to bottom. Actions or commands are performed in the order they are written in the code. This means that the program's actor or execution follows a sequential flow.

Therefore, the correct response is:

a) sequential

When computer code encounters the word “if,” what does it do? (1 point) Responses iterates iterates checks if the condition is true or false checks if the condition is true or false follows a sequence follows a sequence repeats the instructions

When computer code encounters the word "if," it checks if the condition is true or false.

The "if" statement is a conditional statement that is used to perform a certain action or execute a block of code only if a specific condition is evaluated as true. If the condition is true, the code inside the "if" block will be executed. Otherwise, if the condition is false, the code inside the "if" block will be skipped.

Therefore, the correct response is:

b) checks if the condition is true or false

when programming, why should you frequently save your work? (1 point) Responses to check for errors to check for errors so your work won’t get lost if you have a computer problem so your work won’t get lost if you have a computer problem to distinguish your project from other projects to distinguish your project from other projects to keep your categories separated logically to keep your categories separated logically

When programming, you should frequently save your work so that your work won't get lost if you have a computer problem.

Saving your work regularly ensures that any progress or changes you have made to your code are preserved and can be recovered in case of unexpected events like power outages, system crashes, or other computer problems. By saving your work, you minimize the risk of losing hours or even days of effort by having a recent backup available.

Therefore, the correct response is:

b) so your work won't get lost if you have a computer problem.

Dr. Bloom is writing a test for a history class and wants to ask a question that will have a Boolean value for the answer. Which of these should Dr. Bloom use? (1 point) Responses essay questions essay questions short-answer questions short-answer questions multiple choice questions multiple choice questions true-false questions true-false questions

Dr. Bloom should use:

c) true-false questions

True-false questions are questions that have a Boolean value for the answer. They present a statement, and the test-taker needs to determine whether the statement is true or false. This allows for a clear binary (true or false) response.

Therefore, the correct response is:

c) true-false questions

Which of these is an example of a conditional statement? (1 point) Responses I eat lunch at noon. I eat lunch at noon. If I am hungry, I will eat lunch. If I am hungry, I will eat lunch. I eat a sandwich and an apple. I eat a sandwich and an apple. After I got hungry, I ate lunch.

The example of a conditional statement is:

b) If I am hungry, I will eat lunch.

Conditional statements, also known as "if statements," involve a condition followed by a block of code that will be executed if the condition is true. In this specific example, "If I am hungry" is the condition, and "I will eat lunch" is the action that will be performed if the condition is true.

Therefore, the correct response is:

b) If I am hungry, I will eat lunch.

Tynker has a particular layout, with the blocks on the left, editor in the middle, and output on the right. Which word best describes this screen layout? (1 point) Responses block-based block-based interface interface editor editor player

The word that best describes the screen layout with blocks on the left, editor in the middle, and output on the right is:

b) interface

Interface refers to the overall visual layout and arrangement of different elements in a software application or platform. In this case, Tynker has a specific layout where the blocks are located on the left, the code editor is in the middle, and the output is on the right. This layout helps users interact and work with the Tynker programming environment.

Therefore, the correct response is:

b) interface

a) If the cook successfully flips the burger in the air and it lands in the pan, the cook earns points.

b) If the cook successfully flips the burger in the air and it lands on the floor, the cook loses points.
c) If the cook unsuccessfully flips the burger in the air and it lands in the pan, the cook earns points.
d) If the cook unsuccessfully flips the burger in the air and it lands on the floor, the cook loses points.

Grace should use statement a) "If the cook successfully flips the burger in the air and it lands in the pan, the cook earns points."