wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Back to the Future Homework 2

Total questions: 12

Worksheet time: 38mins

Name
Class
Date
1.

Boolean logic was invented by

a)

Jane Boole

b)

George Boole

c)

Jim Boole

d)

Joe Boole

2.

Are the following 2 statements True or False?


•Binary logic is what a CPU uses to make decisions based on the inputs it receives.


•The CPU (like us) will take inputs which may be true or false (1 or 0) and make a decision which will produce a particular output.

a)

True

b)

False

3.

What are the 3 main logic operations that a CPU will perform?

4 lines
4.

Which type of logic gate is this?

a)

Not

b)

And

c)

Or

5.

Which type of logic gate is this?

a)

Not

b)

And

c)

Or

6.

Which type of logic gate is this?

a)

Not

b)

And

c)

Or

7.

This is a NOT gate. If A = 1 what what is Q

a)

11

b)

10

c)

1

d)

0

8.

This is an AND gate. If A = 1 AND B = 0 what what is Q

a)

11

b)

10

c)

1

d)

0

9.

This is an OR gate. If A = 1 AND B = 0 what what is Q

a)

11

b)

10

c)

1

d)

0

10.

Charles Babbage (1791-1871) designed the first automatic computing machine called the Difference Engine.


True or False

a)

True

b)

False

11.

Tower of Hanoi

You have three wooden poles. On the first there are 3 discs of different sizes – with the biggest on the bottom and getting progressively smaller.

You can only move one disc at a time and you can never put a bigger disc on top of a smaller one.

Describe the steps to move all 3 rings to the right hand pole.

4 lines
12.

A bubble sort algorithm goes through a list of data a number of times, comparing two items that are side by side to see which is out of order (i.e. not sorted correctly). It will keep going through the list of data until all the data is sorted into order. Each time the algorithm goes through the list it is called a ‘pass’.


Task:

Imagine that you have a list of people who you want to sort by age, from youngest to oldest. A bubble sort can do this.


The list of ages is: 41, 15, 17, 32, 18, 28, 77 and 54


Show each stage of the Bubble Sort below to put the ages in order of increasing size.

4 lines