wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Python Vocabulary

Total questions: 20

Worksheet time: 10mins

Name
Class
Date
1.

What is an algorithm?

a)

A set of steps for performing a task, like a recipe.

b)

To add something to the end; for example, adding letters onto the end of a string or adding elements to the end of a list or array.

c)

A value passed to a function.

d)

A rhythm designed for people named "Al."

2.

What is an application?

a)

A computer program that does something useful (or fun!).

b)

A request to do something.

c)

A set of steps for performing a task, like a recipe.

d)

A group of programming statements.

3.

Statements or instructions written by a programmer in a language that computers can understand defines...

a)

algorithm

b)

code

c)

software

d)

range

4.

Comments are

a)

statements only the computer can understand.

b)

programming notes or reminders that the computer ignores.

c)

not appreciated.

d)

statements that allow the computer to test a value and perform different actions depending on the outcome of that test.

5.

A straight line passing from side to side through the center of a body or figure, especially a circle or sphere, defines

a)

radius

b)

ulna

c)

diameter

d)

pixel

6.

An expression is

a)

A set of steps for performing a task, like a recipe.

b)

An ordered list of values or objects.

c)

To combine two strings of text into a single string.

d)

Any valid set of values, variables, operators, and functions that produces a value or result.

7.

A programming statement that allows a block of code to be repeated for a given range of values defines

a)

function

b)

while loop

c)

for loops

d)

applications

8.

A named, reusable set of programming statements to perform a specific task defines

a)

applications

b)

algorithms

c)

modules

d)

functions

9.

Import means

a)

A named, reusable set of programming statements to perform a specific task.

b)

A programming statement that allows a block of code to be repeated for a given range of values.

c)

To bring reusable code or data into a program from another program or module.

d)

Any data or information entered into a computer.

10.

A set of instructions that is repeated until a condition is reached is

a)

a loop

b)

code

c)

a function

d)

an expression

11.

A file or set of files with related variables, functions, and classes that can be reused in other programs defines

a)

loop

b)

module

c)

comments

d)

expression

12.

A pixel is

a)

a set of instructions written in a language computers can understand.

b)

a single image in a moving sequence for animation, video, or computer graphics.

c)

a value passed to a function

d)

the small dots of color that make up images on a computer screen.

13.

A prompt means

a)

the computer is ready to accept your command.

b)

a symbol or set of symbols that represents an action or comparison and returns a result.

c)

a set of instructions that is repeated until a condition is reached.

d)

the rate or speed that images are drawn on the screen in an animation.

14.

Python can be defined as

a)

a computer programming language designed for use in commerce.

b)

an object-oriented computer programming language commonly used to create interactive effects within web browsers.

c)

a high-level computer programming language used especially for scientific computation.

d)

a simple yet powerful scripting language used to run some of the most powerful apps in the world, like Gmail, Google Maps and YouTube.

15.

A straight line from the center to the circumference of a circle or sphere is the

a)

diameter

b)

radius

c)

pi

d)

chord

16.

An ordered set of values between a known start and end value is the

a)

radius

b)

loop

c)

range

d)

expression

17.

A shell is

a)

a text-based command line program that reads commands from the user and runs them.

b)

a file or set of files with related variables, functions, and classes that can be reused in other programs.

c)

any data or information entered into a computer.

d)

a named, reusable set of programming statements to perform a specific task.

18.

The spelling and grammar rules of a programming language is called

a)

GSP

b)

syntax

c)

code

d)

comments

19.

Variables are

a)

any valid set of values, variables, operators and functions that produce a value or result.

b)

unpredictable sequences of numbers evenly distributed over a certain range.

c)

a sequence of characters, which can include letters, numbers, symbols, punctuation and spacing.

d)

named values that can change.

20.

A string is

a)

A named value that can change.

b)

A sequence of characters, which can include letters, numbers, symbols, punctuation and spacing.

c)

A file or set of files with related variables, functions, and classes that can be reused in other programs.

d)

A named, reusable set of programming statements to perform a specific task.