0% found this document useful (0 votes)
9 views4 pages

L4 Homework - Computing Systems - Y8

Uploaded by

22pereirag
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views4 pages

L4 Homework - Computing Systems - Y8

Uploaded by

22pereirag
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

Year 8 – Computing systems Learner activity sheet

Lesson 4 – It’s only logical

Homework

Task .
The logical variable raining is true when it is raining outside and false otherwise. The
logical variable homework is true when you have finished your homework and false
otherwise.
The expression below determines if you are allowed to play outside:

homework and not raining

The table below contains different combinations of the possible values for homework
and raining. For each of these combinations, fill in the table with the missing Boolean
values (i.e. true/false).

homework finished raining outside value of expression value of expression


homework raining not raining homework and not
raining

false false

false true

true false

true true

Page 1 Last updated: 25/03/2021


Year 8 – Computing systems Learner activity sheet
Lesson 4 – It’s only logical

Task . The Hierarchy


The Pattern on the Stone is a book written by Daniel Hillis. The (edited) incomplete text
below is from the section entitled The Hierarchy.

The work performed by the computer is specified by a (1)


, which is written
in a programming language. The (2)
of the (1)
, which are stored in
the (3)
of the computer, define the operations to be performed on
(4)
, which are also stored in the computer’s (3)
. The (5)

fetches and executes these (2)


. The operation of the computer is
controlled via a predefined set of subroutines called the (6)
.

The (2)
as well as the (4)
are represented by patterns of (7)
.

Both the (5)


and the (3)
are built of (8)
and the latter are
based on simple (9)
, such as And, Or, and Invert (Not). These (9)

are implemented by (10)


and these (10)
control electricity, which is
used to send one of two possible signals from one (10)
to another: 1 or 0.

This is the hierarchy of abstraction that makes computers work.

Match the numbered gaps with the words in the right-hand column.

Gaps Words to complete the gaps with

(1) Processor
Memory
(2) Data
Program
(3)
Instructions
(4) Operating system
Bits (binary digits)
(5) Switch/Switches
(Boolean) logic operations
(6) (Boolean) logic circuits

(7)

(8)

(9)

(10)

Page 2 Last updated: 25/03/2021


Year 8 – Computing systems Learner activity sheet
Lesson 4 – It’s only logical

Explorer task . Leap year


This is a calendar device, where the user
enters a year and the device generates three
0/1 output signals:
● Output D4 indicates if the year is
divisible by 4
● Output D100 indicates if the year is
divisible by 100
● Output D400 indicates if the year is
divisible by 400

You can use the outputs of this device to build a logic circuit that computes whether or
not a year is a leap year, i.e. a year that has 366 days, instead of 365.
● Any year that can be divided by 400 is a leap year.
Example: 2000 is a leap year.

● Any year that can be divided by 4 but cannot be divided by 100 is a leap year.
Examples: 2016, 2020, and 2024 are leap years.

1900 is not a leap year. It is divisible by 4, but it is also divisible by 100. (Unlike 2000, 1900 is
not also divisible by 400, so the previous rule cannot apply).

● Any other year is a common year.

This is the logic circuit that performs this computation. In order for it to work, you need to
connect the outputs D4, D100, and D400 from the device to the inputs of the logic circuit.

Connect D4 to input (select A, B, or C)


Connect D100 to input (select A, B, or C)
Connect D400 to input (select A, B, or C)

Resources are updated regularly — the latest version is available at: ncce.io/tcc.

Page 3 Last updated: 25/03/2021


Year 8 – Computing systems Learner activity sheet
Lesson 4 – It’s only logical

This resource is licensed under the Open Government Licence, version 3. For more information on this
licence, see ncce.io/ogl.

Page 4 Last updated: 25/03/2021

You might also like