Professional Documents
Culture Documents
ICT Logic Activities
ICT Logic Activities
Activity 1.1a
Read the sentences. Extract the indicated number of propositions. Identify the logic operator that
best fits the meaning of the sentence. Rewrite the sentence using the logic operator.
Activity 1.1b
Read the sentences. Extract the indicated number of propositions. Identify the logic operator that
best fits the meaning of the sentence. Rewrite the sentence using the logic operator.
An integer x is divisible by 5 or 2.
0<x<2
Activity 1.2
Read the narrative. Extract propositions. Construct a truth table that will evaluate the various logical
possibilities and outcomes.
You have invited your friends Angela and Lin over to spend the day at your house. You are at the ice
cream shop and you want to buy a flavor they both like. You call them to ask them if they like
chocolate ice cream. Under which conditions would you buy chocolate ice cream?
Activity 1.3a
Read the narrative. Extract propositions. Construct a truth table that will evaluate the various logical
possibilities and outcomes.
You are given an integer. You are required to decide if the integer is between the
numbers 10 and 20.
Activity 1.3b
a. Construct a truth table that will evaluate the various logical possibilities and outcomes of any two
propositions p and q, based on AND logic.
b. Prepare a spreadsheet that can evaluate if an entered integer lies be- tween the numbers 10 and
20.
c. Prepare a spreadsheet that can evaluate if an entered integer lies between two integers specified
by the user.
Activity 1.3c
a. Prepare a program that can evaluate if an entered integer lies between the numbers 10 and 20.
b. Prepare a program that can evaluate if an entered integer lies between two integers specified by
the user.
Activity 1.4
Read the narrative. Extract propositions. Construct a truth table that will evaluate the various logical
possibilities and outcomes.
Angela and Lin are spending the day at your house. You are at the ice cream shop and you want
choose a flavor that at least one of them likes. You ask them about strawberry flavor. Under which
conditions would you buy strawberry ice cream?
Activity 1.5a
Read the narrative. Extract propositions. Construct a truth table that will evaluate the various logical
possibilities and outcomes.
You are given two integers. You need to decide if at least one of them is greater than 10.
Activity 1.5b
a. Construct a truth table that will evaluate the various logical possibilities and outcomes of any two
propositions p and q, based on OR logic.
b. Prepare a spreadsheet that can evaluate if at least one of two entered integers is greater than 10.
c. Prepare a spreadsheet that can evaluate if at least one of two entered integers is greater than a
third integer specified by the user.
Activity 1.5c
a. Prepare a program that can evaluate if at least one of two entered inte-gers is greater than 10.
b. Prepare a program that can evaluate if at least one of two entered inte- gers is greater than a third
integer specified by the user.