wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

CSD Intro to Programming

Total questions: 14

Worksheet time: 7mins

Name
Class
Date
1.

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?

a)

Machine language

b)

Assembly language

c)

Application language

d)

High-level language

2.

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:


1)Input a number.

2)Check to see if the number ends in 0, 2, 4, 6 or 8?

a) If yes, write "The number is even."

b) If no, write "The number is odd."


Which programming approach is Maryann using?

a)

Object-oriented

b)

Structured

c)

Functional

3.

Which term describes a series of zeros and ones that represent the basic unit of data that a computer processes?

a)

Data

b)

Switch

c)

Byte

4.

A set of instructions that tells a computer what to do to accomplish a particular task is called:

a)

software

b)

an application.

c)

a computer program.

d)

programming language.

5.

Which type of programming is designed by breaking problems into smaller, logical problems to make them easier to execute?

a)

Structured

b)

Scripting

c)

Object-oriented

d)

Functional

6.

Basic mathematics taught in elementary school is a base 10 number system (which makes it easy if you are using your fingers).


Computers use a different number system, known as:

a)

base 1.

b)

base 2.

c)

base 6.

d)

base 8.

7.

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?


Like a recipe for cookies.

a)

Executed

b)

Sequential

8.

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)

a computer program.

b)

a programming language.

c)

a flowchart.

d)

an algorithm.

9.

What is the only language that a computer can understand?

a)

Application

b)

Machine

c)

Assembly

d)

High-level

10.

Which term is used to describe the use of zeroes and ones in a sequence to represent data?

a)

Decimal

b)

Execute

c)

Syntax

d)

Binary

11.

The set of rules that must be followed when writing program instructions for a specific programming language is called:

a)

executing

b)

machine language.

c)

binary.

d)

syntax

12.

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:

a)

decimal

b)

bisect

c)

syntax

d)

binary

13.

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:

a)

machine language.

b)

assembly

c)

executing

d)

syntax

14.

When a computer is performing the instructions contained in a program, it is called:

a)

compiling

b)

debugging

c)

executing

d)

assembling