RISE Programming and Logic 2

अब Quizwiz के साथ अपने होमवर्क और परीक्षाओं को एस करें!

Katherine is creating a computer program that will allow the cursor to jump to a different location when the mouse is clicked on a certain image. Which programming component should Katherine use to tell the program what to do when the mouse is clicked on the image?

An event handler

Which type of language is translated entirely into machine language before use?

Compiled

They decide to use a graphical diagram that uses symbols to represent the steps. What is this diagram called?

Flowchart

Felix and his team are given a mission to create a program that finds the average age (in the total number of days, not years) of the students at their school. What should be their first step for creating an algorithm to solve a problem?

Identify and understand the problem.

What is the first step for creating an algorithm to solve a problem?

Identify and understand the problem.

Erik is using object-oriented programming to design a game. He has created a Dragon class, and he has used the Dragon class to build two Dragon objects. Which term describes the objects that Erik built using the Dragon class?

Instances

Luigi has created a program for a game that has a "monster" character appear from a "cave" in the middle of the screen, move randomly off the edge of the screen and then reappear in the cave. It repeats while the game is played. What is another term for this loop control structure?

Iteration

Jackson is creating a program that asks users four random questions. The question list is 20 questions long. He wants the program to ask the first random question, remove it from the list, and then ask another, remove it and repeat until only four questions are asked. Which control structure is Jackson using?

Loop

Which control structure includes the do/while statement?

Loop

To focus on the logic and make refinements to a program before translating it into a programming language, a programmer often creates an outline of the program's algorithm. What is the term for this type of outline?

Pseudocode

Consider the following: Input a number Check to see if the number ends in 0, 2, 4, 6 or 8? If yes, write "The number is even." If no, write "The number is odd." This is an example of which type of control structure?

Selection

Lucy is sharing her program with a student at another school. She is having a video conference with the student and shows a section of code that she is working on. Lucy describes it as the decision control structure. The other student is confused. What other name can this structure be called?

Selection

Which control structure will execute an instruction only after the computer evaluates conditions to determine if a certain condition exists?

Selection

How is structured programming similar to a recipe?

The steps must be performed in a certain order to produce the proper result.

Charles is stuck. He knows that computers use zeros and ones in a sequence to represent data, but he cannot remember the name of this term. His teacher reminds him that it is referred to as:

binary

Which type of statement is an example of a selection programming structure?

if/else


संबंधित स्टडी सेट्स

ATI TEAS VII Online Practice B - Mathematics

View Set

Med/Surg I - Knowledge & Clinical Judgement Advanced Test

View Set

Comparative Religion: Judaism, Christianity, & Islam

View Set

Review Questions Chapter 10 - 16

View Set

Chapter 14 and 16 Financial Markets

View Set

Certified Advance Admin Reviewer 211- updated

View Set

Physiology WK 10.1 Chapter 19 Blood Flow My Lab & Mastering

View Set