NEW
Font size
WorksheetsCoding Lessons 1 and 2l
Total questions: 20
Worksheet time: 10mins
What type of error causes a program to produce incorrect results, such as the sum of two values instead of the difference of two values?
syntax
bit
runtime
logic
An algorithm is the process of
devising a set of step by step instructions to solve a problem or perform a task
desk checking
binary
translating a program instructions into machine language
Java, Visual Basic, Python, and C++ are examples of what type of programming language?
machine
high level
assembly
sprite
Which of the following statements are not correct about desk-checking?
it is a simple method using a pencil and paper
it is very effective
it is a high level process
it is a computerized process
The purpose of compilers and interpreters is to _________ so the computer can understand its instructions.
buy programs
translate programs
identify programs
test programs
Which type of error is usually identified by the compiler or interpreter?
logic
runtime
system
syntax
which of the following is a number system that uses the values 0 and 1 , and is the primary language that computers use to communicate?
assembly
decimal
pseudocode
binary
There are _____ types of programming errors.
7
5
3
4
Problem solving is
devising a set of step by step instructions to solve a problem or perform a task
translating a program's instructions into machine language
using pencil and paper to work through an existing program by hand
determining whether an existing program performs its intended task and works efficiently
Which program translates a series of instructions, executes them, and then translates the next series until the program is fully executed?
transistor
interpreter
assembler
compiler
Which tool used to plan computer programs is a pictorial representation of program steps?
debugging
pseudocode
assembly
flowchart
Logical thinking is
the steps required to create a solution
systematic steps to correct an error
the process of solving a problem
progressively moving from one connected thought to another
Which of the following is a program that translates other programming languages into machine language?
transistor
assembler
compiler
binary
The general problem- solving strategy includes the following activities: understand the problem, devise a plan, test the plan, review the result, and revise. What is the next step in the process?
create a series of statements using code
return to step 2 and revise until the most efficient method is found
create procedures needed to execute the solution
return back to step 1 and repeat the process until the solution is found.
What type of error occurs while the program is running?
syntax
logic
system
runtime
Which tool used to plan computer programs is an English-like representation of program steps?
debugging
assembly
machine
pseudocode
What is the name of the process that identifies errors and make necessary corrections to meet the program's intended outcome?
flowchart
binary
debugging
assembly
What is the pencil and paper method of finding errors?
slicing
debugging
desk checking
testing individual components
What is not included in a testing plan?
desk checking
machine language
debugging
creating new algorithms
Which of the following is not a goal of testing?
to determine if performs as intended
to determine if the program works efficiently
to find errors
to ensure that it solves the original problem
