wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Introduction to Computer Science

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

Basic syntax is...

a)

the rules for correct spelling, grammar and punctuation in a programming language

b)

the rules for an object to perform an action

c)

extra information passed into a method to modify what the method does

d)

a type of data that represents text

2.

Sequence (in programming) is...

a)

the order of the objects

b)

the pacing of a method

c)

the order of the commands in a program

3.

An object is a character or thing that can perform actions

a)

True

b)

False

4.

The actions an object performs are called?

a)

arguments

b)

parantheses

c)

methods

d)

jumps

5.

Parentheses look like:

a)

:

b)

()

c)

;

d)

<

6.

A step-by-step set of instructions for completing a task

a)

Loop

b)

Algorithm

c)

String

d)

Variable

7.

A programming structure used to repeat actions without the player needing to write the same lines of code over and over.

a)

Variable

b)

Merry-go-round

c)

Property

d)

Loop

8.

What is a "loop"?

a)

a variable that contain data

b)

repeats a block of code while a certain condition is true

9.

An way to store information for later use.

For example:

enemy = hero.findNearestEnemy()

a)

Loop

b)

Value

c)

Variable

d)

String

10.

A type of data that represents text.

For example:

food = "chicken wings"

a)

Method

b)

Argument

c)

Object

d)

String