Computational Thinking
Logic Puzzles
Sets
Counting
Mixed Questions
100

Find the sum of all the numbers between 1 and 200. 



20,100


100

George, Hellen, and Steve are drinking coffee. Bert, Karen, and Dave are drinking soda. Is Elizabeth drinking coffee or soda?

Elizabeth is drinking coffee. The letter E appears twice in her name, as it does in the names of the others that are drinking coffee.

100

Let A= {1, 2, 3, 4, 5, 6} and B={2, 4, 6}

Find A⋃B and A∩B

A⋃B= {1, 2, 3, 4, 5, 6}


A∩B= {2, 4, 6}

100

Ella is picking members for a new committee. She needs a President, Vice President, and treasurer. 7 people have applied for these spots. How many potential combinations of winners are there?

210 combinations 

100

A pizza shop offers the following choices for customizing a pizza:

  • Three different sizes (small, medium, large)
  • Seven different crust types
  • Ten different sauce options
  • Fifteen toppings to choose from

How many different unique pizza combinations can a customer create by choosing one size, one crust type, one sauce, and any number of toppings (including none)?

31,500

200

Tom has 7 apples, and he wants to share them equally among his 3 friends; how many apples will each friend receive, and will there be any apples left for Tom?

each friend gets two apples and tom will have 1 leftover for him

200

 A farmer wants to cross a river and take with him a wolf, a goat and a cabbage. He has a boat, but it can only fit himself plus either the wolf, the goat or the cabbage. If the wolf and the goat are alone on one shore, the wolf will eat the goat. If the goat and the cabbage are alone on the shore, the goat will eat the cabbage. How can the farmer bring the wolf, the goat and the cabbage across the river without anything being eaten?

  1. The farmer takes the goat across the river first and leaves it on the other side.
  2. The farmer returns alone to the initial shore.
  3. The farmer then takes the cabbage across the river and leaves it with the goat.
  4. The farmer takes the goat back to the initial shore.
  5. Finally, the farmer takes the wolf across the river and leaves it with the cabbage, ensuring that at no point are the wolf and the goat left alone together, nor are the goat and the cabbage left alone together, thereby preventing any harm.
200

A = { 1,2,3,4,5,6,7,8 }

B = { 2,4,7,9,12,15,16,17 }


What is⎪A⋂B⎪?

|A∩B| = 3

200

A bakery offers a variety of 8 different cupcakes, and you want to order a box of 4 cupcakes. How many different combinations of cupcakes can you choose for your box?

70

200

A bakery sells cupcakes in boxes of 6, and cookies in boxes of 9; if Sarah wants to buy exactly 30 treats in total, and she must buy at least one box of each, how many cupcakes and how many cookies should she purchase to maximize the number of treats while following these conditions?

216 ways 


300

A car rental company charges a flat fee of $50 plus an additional $0.15 per mile driven, and another car rental company charges a flat fee of $40 plus $0.20 per mile driven; for how many miles driven would the two companies charge the same amount?

200 miles


300

You stumble upon a bridge guarded by three trolls. There is a sign telling you one troll always lies, one always tells the truth, and one can tell the truth or lie. You ask the first troll “who are you?” It responds I am Malakai the troll who always tells the truth. You ask the second troll the same question. He responds I am Judy I always lie. The third troll buts in, the other two are lying, but I am Chester and I always tell the Truth. Who is who?

  • Chester always tells the truth.
  • Malakai is the troll who can tell the truth or lie.
  • Judy always lies.
300

Let's consider a universal set U containing the letters of the English alphabet. Set A represents the vowels (A, E, I, O, U), and set B represents the consonants.

Write the set notation to represent the complement of set A.

What is the complement of set A, denoted as A', in set notation?

A' = {x ∈ U : x is a letter in the English alphabet and x is not in A}

A' = {b,c,d,f,g,h,j,k,l,m,n,p,q,r,s,t,v,w,x,y,z}

300

Billy wants pizza for dinner. The Pizza place has three options for crusts. Thin, regular, or thick. They have 2 options for sauces, and 6 toppings to choose between. Cheese, Pepperoni, chicken, bacon, peppers, mushrooms, and olives. If Billy is allergic to mushrooms and olives, how many options for pizza are there, avoiding the allergens?

24 pizza options 


300

Determine whether each statement is true or false: 

a. r ∈ {a,b,c,…,z} 

b. 7 ∉ {1,2,3,4,5} 

c. {a} ∈ {a,b} 

a. true 

b. true 

c. true 

400

A train travels from City A to City B at an average speed of 60 miles per hour and returns from City B to City A at an average speed of 45 miles per hour; if the total travel time for the round trip is 10 hours, what is the distance between the two cities?

approximately 257.14 miles

400

Six friends - Alex, Bella, Chris, David, Emma, and Finn - are going on a camping trip and need to decide who will sleep in which tent. They have three tents: a red one, a green one, and a blue one. The following conditions must be met:

  1. Emma refuses to sleep in the red tent because she's allergic to red dye.
  2. Bella and Finn, being best friends, want to sleep in adjacent tents.
  3. Chris doesn't want the blue tent because it's his least favorite color.
  4. David wants to sleep in the green tent because it matches his favorite water bottle.
  5. Alex doesn't want to sleep alone in a tent, so he must share with someone.

Can you help them figure out who sleeps in which tent, considering these conditions?

  • Red: Chris
  • Green: David
  • Blue: Bella
  • Alex and Finn in either the green or blue tent.
400

Let A be the set of all even prime numbers less than 20, and let B be the set of all multiples of 5 less than 30. Write the set notation for each of these sets, and then find the intersection and union of sets A and B in set notation.

A = {2}

B = {0, 5, 10, 15, 20, 25}

A∩B = {}

A⋃B = {0, 2, 5, 10, 15, 20, 25}


400

You are planning your outfit for the day, and you have various choices for clothing. You have 5 different tops, 4 different bottoms, and 3 different pairs of shoes. How many different outfit combinations can you create if you choose one top, one bottom, and one pair of shoes?

60

400

Let A = {1, 2, 3, 4, 5} and B = {3, 4, 5, 6, 7} be two sets. Define a new set C using set notation, where C consists of all the even numbers that are in either set A or set B. Write down the set C using set notation.

C = {x | x ∈ A ∪ B and x is even}

C = {2, 4, 6}.

500

Samantha is arranging a birthday party for her friend, and she wants to create a unique seating plan for the guests. She has a circular table with 12 seats, and she wants to seat 6 friends around it so that no two friends who had an argument last week sit next to each other. How many different seating arrangements can Samantha create while ensuring that no feuding friends are seated adjacent to each other?

264

500

If P= true and Q= false

Then construct a truth table to find 

(pΛq)⋁ㄱ(p⋁q)



The statement is false 

500

If  |A|= 8  and |B|= 5 what is |A⋃B|+|A∩B|?

|A⋃B|+|A∩B| = 13

500

how many ways can you arrange the letters in the word isosceles?

30,2040

500

On the island of Knights and Knaves, everyone is either a Knave or a Knight. Knights always tell the truth and Knaves always lie. You have encountered a group of islanders, and want to know who is a knave and who is a knight. The islanders have made some statements about each other - each statement should be taken independently: each is either a true statement or a false statement.Categorize each islander as either a knight or a knave.You have met a group of 2 islanders. Their names are Yuri and Samuel. Samuel says: Yuri is not my type.
Samuel says: Yuri always lies.

Yuri was a knave and Samuel was a knight.