Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Intro To Programming Complete Study Set

Total questions: 36

Worksheet time: 19mins

Name
Class
Date
1.

A line that creates a variable and assigns its value

a)

Sentry Variable

b)

Algorithm

c)

Assignment statement

d)

Module

2.

The process of joining two strings together to create a whole new string

a)

Variable

b)

Concatenating strings

c)

infinitive loop

d)

Constant

3.

Numbers with a decimal point

a)

Floating-Point numbers

b)

Concatenating strings

c)

Comparison Operators

d)

Comparison Operators

4.

Whole Numbers with no fractional part

a)

Lists

b)

Nested Sequences

c)

Mutable

d)

Integers

5.

Division where the result is always an integer (the fractional part is ignored)

a)

Block

b)

Integer division

c)

Loop

d)

infintive loop

6.

Provides a way to label and access information

a)

Block

b)

Assignment statement

c)

Variable

d)

Module

7.

Signs that allow you to compare values in a condition

a)

Comparison Operators

b)

Random Module

c)

Sentry Variable

d)

Tracing

8.

Addition

a)

-

b)

+

c)

/

d)

//

9.

Subtraction

a)

-

b)

//

c)

/

d)

+

10.

Multiply

a)

//

b)

+

c)

*

d)

-

11.

True Division

a)

+

b)

-

c)

//

d)

/

12.

Integer Division

a)

*

b)

//

c)

/

d)

-

13.

Modulus

a)

//

b)

%

c)

/

d)

*

14.

List two RULES for creating variable names

a)

Variables can only contain numbers, letters, and underscores

b)

Be Descriptive

c)

Be consistent

d)

Connot start with a number

15.

List four GUIDELINES for creating variable names

a)

Follow Language traditions

b)

Keep Length in check

c)

Be Discriptive

d)

Have the right code

e)

Be Consistent

16.

A set of clear, easy to follow instructions for accomplishing some task

a)

Listing

b)

Algorithm

c)

Assignment statement

d)

Comparison Operator

17.

One or more consecutive lines indented by the same amount

a)

Comparison Operators

b)

Block

c)

Algorithm

d)

Module

18.

An expression that is either true or false

a)

Module

b)

infinite loop

c)

Random Module

d)

Condition

19.

A loop that never stops

a)

Variable

b)

Infinite loop

c)

Integer

d)

Loop

20.

A file that contains code meant to be used in other programs

a)

Module

b)

Dictionary

c)

Tracing

d)

Constant

21.

Contains functions related to generating random numbers and producing random results

a)

Tuple

b)

Slices

c)

For loop

d)

Random Module

22.

A variable used in a condition and compared to some other value or values

a)

Sentry Variable

b)

Dictionaries

c)

Tracing

d)

List

23.

Simulating the running of your program, following every statement, and keeping track of the values assigned to variables.

a)

Item

b)

Lists

c)

Value

d)

Tracing

24.

A value that is not meant to change

a)

Constant

b)

For loop

c)

Condition

d)

Module

25.

A loop that repeats its loop body for each element of the sequence in order

a)

Infinite loop

b)

Variable

c)

For Loop

d)

Item

26.

What does Immutable mean?

a)

changeable

b)

Unchangeable

c)

Slices

d)

Tuple

27.

What does mutable mean?

a)

Tuple

b)

Unchangeable

c)

Slices

d)

Changeable

28.

Continuous sections of elements

a)

Value

b)

List

c)

Slices

d)

Tuple

29.

Let's you organize and manipulate information in ordered groups ()

a)

Tuple

b)

Item

c)

Lists

d)

Nested Sequences

30.

Let you look up one value with another and organize information {}

a)

Dictionaries

b)

Value

c)

Lists

d)

Item

31.

the combination of a term and meaning in a dictionary

a)

Item

b)

Slices

c)

Value

d)

Tuple

32.

Sequences that are mutable - they can be modified [ ]

a)

Tracing

b)

Nested Sequences

c)

Constant

d)

Lists

33.

Sequences inside other sequences. A great way to organize more complex collections of information

a)

Item

b)

Nested Sequences

c)

Dictionaries

d)

Lists

34.

A dictionary meaning

a)

Condition

b)

Block

c)

Algorithm

d)

Value

35.

If lists can do everything tuples can, why use tuples?

a)

When they are required

b)

There constant

c)

Values do not have to be unique

d)

There Faster

e)

There immutable

36.

What are the 3 Dictionary requirements?

a)

2 keys cannot be the same

b)

There faster

c)

There constant

d)

Values don't have to unique

e)

There immutable