No student devices needed. Know more
25 questions
Haruto is a high school student who has never taken a programming course. He wants a programming language that is easy to learn, that contains English words and phrases, as well as easily recognized symbols. The counselor recommends a Javascript course. What type of programming language is this?
Assembly Language
High-Level Language
Application Language
Machine Language
Which term describes a set of instructions that lists steps that must be followed in a particular order, starting at the beginning and continuing to the end?
Assembly
Compiled
Executed
Sequential
Maryann is writing a set of instructions to determine whether a number is even or odd. She divided the problem into smaller, easier steps, as shown:
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."
Which programming approach is Maryann using?
Object-Oriented
Scripting
Functional
Structured
Horatio is interested in computer programming languages, but he has very little experience in using them. Which type of programming language should he explore because it is easier to learn, use, read and modify?
Assembly
High-Level
Application
Machine
Which of the following is used to store data in the computer's memory that the computer can access and use when running a program?
Variable
File
Data
Operator
Which type of programming error causes a program to stop loading or executing?
Syntax
System
Runtime
Logic
Which term is also used to describe the selection control structure?
Loop
Decision
Object
Sequence
What enables a programmer to determine the order in which instructions are executed, as well as the number of times (or even if) an instruction is executed?
Program Syntax
Logic Structures
Program Flow
Control Structures
Using short informal phrases to describe program functions (such as "if total is more than 10, add discount") is called:
Logical Thinking
Pseudocode
Flow Charts
Formatting
Which term describes the testing method used by programmers to work through program code by hand using a pencil and paper?
Real-Time Testing
Desk Checking
Error Testing
Syntax Checking
Which type of programming is designed by breaking problems into smaller, logical problems to make them easier to execute?
Scripting
Structured
Functional
Object-Oriented
Which variable data type is used to store a whole number that does not contain a decimal?
Boolean
Floating Point
String
Integer
Which of the following best defines the term "algorithm"?
A combination of zeroes and ones that represents an instruction to the computer
The rules for writing instructions in a specific programming language
A way to write programming code in short English phrases to describe the program components
A set of step-by-step instructions to solve a problem or perform a task
Aaron would like to create a program that allows the user to find the average of five numbers. He has asked for your help. Here is the pseudocode Aaron has written:
After examining the code, you determine that:
the program needs to multiply the five numbers entered, not add.
the program needs to provide the five numbers to the user.
the program will provide the correct answer.
the program needs to divide the sum of the numbers entered by 5, not multiply.
Julia has an idea. She wants to use a computer to create a list of daily "to-do" suggestions based on the previous activity on her calendar. To create this, she needs to develop a set of instructions to tell the computer what to-do to accomplish this task. This is known as:
a programming language
a flowchart
an algorithm
a computer program
Consider the following code. The instruction code shown is an example of high-level:
assembly language
machine language
computer language
programming language
Which term describes the various characteristics of an object, such as size, color and type?
Class
Property
Method
Argument
Which term describes a series of zeros and ones that represent the basic unit of data that a computer processes?
Code
Switch
Data
Byte
Elsa is programming a robot to move from her front door to her room. The robot will not be remote controlled and does not have any sensors to "see" its environment. She must program the robot with clear movements that start at her front door, then move down the hall, then turn into her room and finally stop. Which term describes this program?
Compiled
Assembly
Binary
Sequential
Consider the following example:
Problem: Tara has 15 tickets. Dean has 10 tickets. Tara gives Dean 2 tickets. How many more tickets does Tara have than Dean?
Solution:
Tara's tickets: 15
Subtract 2 tickets from Tara's total tickets:
15- 2 = 13
Dean 's tickets: 10
Add 2 tickets to Dean's tickets:
10 + 2 = 12
Subtract Tara's total tickets from Dean's total tickets:
13 - 12 =1
Answer: Tara has one more ticket than Dean.
Which term describes the instructions presented in this example?
Algorithm
Syntax
Statement
Programming Code
Which term is used to describe the use of zeroes and ones in a sequence to represent data?
Execute
Decimal
Binary
Syntax
The robotics team has created a solid design that can physically accomplish all of their tasks for competition. Now they must create the program that will control the robot. The code could be massive and be difficult for them to write and for the computer to execute. They decide to break problems into smaller, logical problems to make them easier to execute. Which type of programming is this?
Structured
Scripting
Object-Oriented
Functional
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?
Object
Selective
Sequence
Loop
Which term describes the testing method used by programmers to work through program code by hand using a pencil and paper?
Desk Checking
Error Testing
Syntax Checking
Real-Time Testing
Using short informal phrases to describe program functions (such as "if total is more than 10, add discount") is called:
Formatting
Flow Charts
Pseudocode
Logical Thinking
Explore all questions with a free account