wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Programming and Logic Lesson 1

Total questions: 25

Worksheet time: 13mins

Name
Class
Date
1.

What is a program?

a)

is a person who writes programs

b)

is a set of rules

c)

instructions that tells the computer what to do

d)

the process of writing a computer program

2.

Which is NOT a primary function of a computer

a)

calculating

b)

manipulates

c)

storing

d)

dividing

3.

What is the only language a computer understands?

a)

binary

b)

machine

c)

assembly

d)

high level

4.

What is the language programmers write programs in that people can understand?

a)

binary

b)

machine

c)

assembly

d)

high level

5.

How many bits are in a byte?

a)

4

b)

6

c)

8

d)

16

6.

010010000011001001010101011111000111100100111100

This is an example of:

a)

binary

b)

machine

c)

assemby

d)

high level

7.

translates the entire program before the computer runs it.

a)

compiled

b)

translated

8.

A computer needs a (a)   to run

9.

What is an electrical switch that is either off(0) or on(1)?

a)

transistor

b)

translator

c)

bit

d)

byte

10.

What kind of language must be translated into machine language before they can run?

a)

binary

b)

assembly

c)

zeros and ones

d)

high level language

11.

What is the purpose of compilers and translators________ so the computer can understand its instructions.

a)

build programs

b)

test programs

c)

translate programs

d)

identify programs

12.

Which of the following is a program that translates other programming languages into machine language?

a)

binary

b)

transistor

c)

assembler

d)

compiler

13.

Which program translates a series of instructions, executes them, and then translates the next series of instructions until the program is fully executed?

a)

transistor

b)

translator

c)

interpreter

d)

compiler

14.

Java, Visual Basic, Python and C++ are examples of what type of programming language?

a)

binary

b)

assembly

c)

high level

d)

low level

15.

binary numbers are what base ?

a)

Base 2

b)

Base 8

c)

base 10

d)

base 16

16.

__________ language is unique to computers/operating systems?

a)

assembly

b)

binary

c)

machine

d)

high level

17.

What type of programming works from the top to the bottom?

a)

assembled

b)

chaotic

c)

structured

d)

binary

18.

What does executing mean in computer terms?

a)

runs a program

b)

runs a car

c)

runs a task

d)

runs the school

19.

A unique set of rules is called?

a)

a program

b)

syntax

c)

byte

d)

bit

20.

What is the on or off switch called in computers?

a)

base

b)

bit

c)

bug

d)

byte

21.

Programming language that contains English words and phrases.

a)

assembly language

b)

machine language

c)

high-level language

d)

syntax language

22.

A collection of binary bits that a computer understands and interprets.

a)

machine language

b)

structured programming

c)

assembly language

d)

advanced programming

23.

Dividing programs into smaller, logical problems to make them easier to execute.

a)

high level language

b)

structured programming

c)

assembly language

d)

data language

24.

Translates each code instruction on the fly when the code is executed without looking at the entire program of code

a)

compiler

b)

syntax

c)

sequential

d)

interpreter

25.

A general set of rules for defining how declarations, functions, commands and other statements should be arranged in a computer program.

a)

sequential

b)

syntax

c)

compiler

d)

binary