NEW
Font size
WorksheetsProgramming and Logic Review
Total questions: 16
Worksheet time: 23mins
The purpose of compilers and interpreters is to _________ so the computer can understand its instructions.
build programs
test programs
translate programs
identify programs
Which of the following is a program that translates other programming languages into machine language?
binary
transistor
assembly
compiler
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 of the following is a number system that uses the values 0 and 1 and is the primary language that computers use to communicate?
decimal
assembly
binary
pseudocode
Java, Visual Basic, Python, and C++ are examples of what type of programming language?
procedural
machine
assembly
high level
The set of rules that must be followed when writing program instructions for a specific programming language is called:
binary
syntax
machine language
executing
A set of instructions that tells a computer what to do to accomplish a particular task is called:
programming language
an application
software
a computer program
Which statement is true regarding structured programming?
It focuses on on classes and objects that can be reused and changed
It has the same structured and set of commands as machine language, but uses symbols and and recognizable codes
It is a set of rules for defining how declarations, functions, commands and other statements should be arranged in a computer program
it divides the problem into smaller, more manageable tasks that are performed in a sequence to solve the larger problem
Binary is base on which number system
6
10
8
2
turnRight ();
for (var count =0; count <5; count++){ move Forward ();
The instruction code shown is an example of high level
computer language
machine language
assembly language
programming language
Olivia thinks that her first program code is quite good and that it will run well. She is surprised to learn that the computer , however; is not able to understand the language her code is written in without first translating it. What is the only language that a computer can understand without needing to be translated?
application
machine
high level
assembly
Mario has begun learning a programming language. He thought that he would write the code in plain English, however, programming languages require that he learn and follow a special set of rules referred to as
syntax
machine
assembly
executing
Basic math taught in elementary school is a base of 10 number system (which makes it easy if you are using your fingers. Computers uses a different number system, known as
base 6
base 8
base 1
base 2
Ravi is programming in C++. This type of language is translated entirely into machine language before use. What type of language is Ravi programming in?
machine
interpreted
assembly
compiled
Horatio in interested in computer programming languages, but he has very little experience in using them. Which type of programming languages should he explore because it is easier to learn , use, read and modify?
high level
machine
assembly
application
Which type of programming is designed by breaking problems into smaller, logical problems to them easier to execute?
functional
object-oriented
scripting
structured
