AdvertisementYour brand could be hereYour brand hereOn every Darslab page · students, parents and teachersinfo@darslab.comAsk for pricesPricesinfo@darslab.com
☰ Year plan · Computing

Smaller files, smarter gates

Week 27 · 4.3–4.4 Data compression, logic gates and truth tables · 3 lessons
Answers are for parents and teachers.
1
Compress this list by writing each item and its positions: yes, no, no, yes, no, yes.
2
Rebuild this data: tick at 2, 4; tock at 1, 3, 5.
3
Write the truth tables for NOT and AND.
4
A room light is on when it is dark AND someone is in the room. Which gate? Write its truth table.
5
What does print(not True or True) print? Work it out step by step.