webbench
run
question set
about
github
question set
120 questions · 4 subjects
all
math
logic
coding
reasoning
all
easy
medium
hard
easy
math
What is 17 23?
easy
math
What is k=110 k?
easy
math
What is 92 - 42?
easy
math
What is 210?
easy
math
What is 3! + 4!?
easy
math
What is 169?
easy
math
What is 15% of 80?
easy
math
What is 34 + 23? Express as a fraction.
easy
math
What is the perimeter of a rectangle with length 12 and width 5?
easy
math
What is the GCD of 48 and 18?
medium
math
Solve for x: … List both solutions separated by a comma.
medium
math
What is f'(x) if f(x) = x3 - 4x2 + 7x - 2?
medium
math
You invest $1000 at 10% annual interest, compounded annually. What is the total amount after 2 years?
medium
math
If 3x + 7 = 22, what is 2x?
medium
math
Solve the system: … … What is x + y?
medium
math
Evaluate: …
medium
math
A train travels 120 km at 60 km/h, then 120 km at 40 km/h. What is the average speed for the whole journey in km/h?
medium
math
What is the y-coordinate of the vertex of the parabola y = x2 - 6x + 11?
medium
math
What is 2 64?
medium
math
Let f(x) = 2x + 1 and g(x) = x2. What is f(g(3))?
medium
math
What is the 10th term of the arithmetic sequence 3, 7, 11, 15, ?
hard
math
A bag contains 5 red balls and 9 blue balls. If you draw 2 balls without replacement, what is P(both red)? Express as a
hard
math
A bag has 3 red balls and 7 blue balls. You draw 2 without replacement. What is the probability that the two balls are d
hard
math
What is the last digit of 3100?
hard
math
Find the critical points of f(x) = x3 - 3x. What is the positive critical point?
hard
math
Solve for x: … Express as a fraction.
hard
math
A projectile's height is given by h(t) = 20t - 5t2. What is the maximum height reached?
hard
math
Find the determinant of the matrix: …
hard
math
If f(x) = x ex, what is f'(1)? Simplify fully.
hard
math
A fair coin is flipped 4 times. What is the probability of getting exactly 3 heads? Express as a fraction in lowest term
easy
logic
All mammals are warm-blooded. All dogs are mammals. Therefore, all dogs are warm-blooded. Is this argument valid? Answer
easy
logic
The ground is wet. When it rains, the ground gets wet. Therefore, it rained. Is this argument logically valid? Answer ye
easy
logic
If it's raining, the ground is wet. It is NOT raining. Does it necessarily follow that the ground is dry? Answer yes or
easy
logic
Some cats are black. Felix is a cat. Does it necessarily follow that Felix is black? Answer yes or no.
easy
logic
A is taller than B. B is taller than C. Is A taller than C? Answer yes or no.
easy
logic
You have 12 socks in a drawer: 6 red and 6 blue. You reach in without looking. What is the minimum number of socks you m
easy
logic
If P is true and Q is true, is the statement 'P AND Q' true? Answer yes or no.
easy
logic
'No A is B' is given as true. Is it possible that some A is B? Answer yes or no.
easy
logic
All squares are rectangles. All rectangles have 4 sides. Do all squares have 4 sides? Answer yes or no.
easy
logic
You roll a fair 6-sided die. Is getting a 6 more likely than getting an odd number? Answer yes or no.
medium
logic
Alice, Bob, and Carol each have a different pet: a cat, a dog, and a fish. Alice does not have the dog. Bob does not hav
medium
logic
Five people sit in a row. Ann is in seat 2. Ben is immediately to Ann's right. Carl is in the last seat. Dave is between
medium
logic
All A are B. Some B are C. Can we logically conclude that some A are C? Answer yes or no.
medium
logic
On an island of truth-tellers and liars, person A says: 'At least one of us is a knight (truth-teller).' Is A a knight o
medium
logic
Alice, Bob, and Carol each play exactly one sport: tennis, soccer, or basketball. Alice doesn't play soccer. Bob doesn't
medium
logic
You have 9 balls that look identical; one is slightly heavier than the others. Using a balance scale, what is the minimu
medium
logic
On an island, knights always tell the truth and knaves always lie. A says: 'I am a knight or B is a knave.' B says: 'A i
medium
logic
In a round-robin tournament with 5 players, every player plays every other player exactly once. How many total games are
medium
logic
Three boxes are labeled 'GG' (two gold), 'SS' (two silver), and 'GS' (one each), but ALL labels are wrong. You draw one
medium
logic
A store puts an item on sale at 20% off, then offers an additional 10% off the sale price. What is the total percentage
hard
logic
On an island, truth-tellers always tell the truth and liars always lie. You meet three islanders: A, B, and C. A says 'E
hard
logic
Five houses in a row, each a different color (red, green, white, blue, yellow). The Brit lives in the red house. The Swe
hard
logic
Given: P implies Q. Q implies R. R implies S. P is true. Is S true? Answer yes or no.
hard
logic
Four people must cross a bridge at night. They have one torch; at most two can cross at once. Their crossing times are 1
hard
logic
100 lockers are all closed. Student 1 opens every locker. Student 2 toggles every 2nd locker. Student 3 toggles every 3r
hard
logic
You have 25 horses and 5 race tracks (5 horses per race). You have no stopwatch — only relative finishing positions. Wha
hard
logic
In the Monty Hall problem: there are 3 doors (1 car, 2 goats). You pick door 1. The host opens door 3 to reveal a goat.
hard
logic
21 coins on a table. Two players alternate turns, each taking 1, 2, or 3 coins. The player who takes the last coin wins.
hard
logic
A store first raises the price of an item by 25%, then reduces it by 20%. What is the net percentage change from the ori
hard
logic
At a party, every person shakes hands with every other person exactly once. There are 45 handshakes in total. How many p
easy
coding
What does this Python expression evaluate to? [x for x in range(10) if x % 2 == 0 and x > 5] Answer with the list, e.g.
easy
coding
In JavaScript, what does typeof null return? Answer with the exact string.
easy
coding
In JavaScript, what does 0.1 + 0.2 === 0.3 evaluate to? Answer true or false.
easy
coding
What does print(type([])) output in Python? Answer with the exact output string.
easy
coding
What does len("hello world") return in Python?
easy
coding
What does print(2 ** 8) output in Python?
easy
coding
What does "hello"[1] evaluate to in Python? Answer with the single character.
easy
coding
What does bool(0) return in Python? Answer True or False.
easy
coding
In JavaScript, what does "5" + 3 evaluate to? Answer with the exact value.
easy
coding
What does x[-1] evaluate to in Python if x = [1, 2, 3]?
medium
coding
What is the time complexity of binary search on a sorted array of n elements? Answer in Big-O notation.
medium
coding
Trace bubble sort on [5, 3, 1, 4, 2]. What is the array after the first complete pass?
medium
coding
Trace this Python code and give the final value of s: [code]
medium
coding
What does "abc"[::-1] evaluate to in Python? Answer with the exact string (no quotes).
medium
coding
Trace the naive recursive Fibonacci function fib(n) = fib(n-1) + fib(n-2) with fib(0)=0, fib(1)=1. What is fib(6)?
medium
coding
What does this JavaScript code print? [code]
medium
coding
What does this function return? [code]
medium
coding
Merge sort is applied to [8, 3, 5, 1]. The array is recursively split and pairs are sorted. What is the state of the arr
medium
coding
What is the average-case time complexity of inserting a key into a hash table? Answer in Big-O notation.
medium
coding
What does this Python code print? [code]
hard
coding
How many times is fib(2) called when computing fib(5) using the naive recursive Fibonacci function (fib(n) = fib(n-1) +
hard
coding
You have a stack (initially empty). You push 1, 2, 3 in order, then pop once, then push 4. What is the value at the top
hard
coding
How many total times is foo called (including the initial call) when evaluating foo(4)? [code]
hard
coding
What does this JavaScript code print? [code]
hard
coding
Nodes are inserted into a binary search tree in this order: 5, 3, 7, 1, 4. What is the in-order traversal of the resulti
hard
coding
What does this function return when called as mystery([1, 2, 3, 4, 5])? [code]
hard
coding
What does this Python code print? [code]
hard
coding
What does this JavaScript code print? [code]
hard
coding
What does this Python code print? [code]
hard
coding
What does this Python code print? [code]
easy
reasoning
A farmer has 17 sheep. All but 8 die. How many sheep does the farmer have left?
easy
reasoning
How many letters are in the word PACIFIC? Count carefully.
easy
reasoning
How many months of the year have 28 days?
easy
reasoning
You are running a race. You overtake the person in 2nd place. What place are you in now?
easy
reasoning
You have a 10-liter bucket that is half full of water. How many liters of water are in it?
easy
reasoning
A rooster sits on the peak of a barn roof and lays an egg. Which side of the roof does the egg roll down?
easy
reasoning
I have two coins that together total 30 cents. One of them is not a nickel. What are the two coins?
easy
reasoning
A doctor gives you 3 pills and tells you to take one every half hour. How many minutes will it take until you have taken
easy
reasoning
A plane crashes exactly on the border between the United States and Canada. In which country do they bury the survivors?
easy
reasoning
What is always in front of you but can never be seen?
medium
reasoning
A bat and a ball cost 1.10 in total. The bat costs 1.00 more than the ball. How many cents does the ball cost?
medium
reasoning
You have two ropes, each of which takes exactly 1 hour to burn (but burns unevenly). How can you measure exactly 45 minu
medium
reasoning
There are 3 light switches outside a room. One controls a bulb inside. You can only enter the room once. How do you dete
medium
reasoning
A boy's father is a surgeon. The boy is rushed to the ER. The surgeon says 'I cannot operate on this boy — he is my son.
medium
reasoning
A snail is at the bottom of a 10-meter well. Each day it climbs 3 meters; each night it slides back 2 meters. On which d
medium
reasoning
Alice is Bob's sister. Bob is Carol's brother. Carol is Dave's sister. How is Alice related to Dave? Answer in one or tw
medium
reasoning
A man is looking at a portrait and says: 'Brothers and sisters have I none, but that man's father is my father's son.' W
medium
reasoning
Two trains are 200 km apart and travel toward each other. One goes 70 km/h and the other 30 km/h. When they meet, how fa
medium
reasoning
A farmer needs to cross a river with a fox, a chicken, and a bag of grain. The boat holds only himself and one item. The
medium
reasoning
An analog clock shows exactly 3:15. What is the angle in degrees between the hour and minute hands?
hard
reasoning
100 pirates vote on splitting 100 gold coins. The most senior pirate proposes a split; if at least 50% agree it passes,
hard
reasoning
You have a 3-liter jug and a 5-liter jug (no markings). You need to measure exactly 4 liters of water. What is the minim
hard
reasoning
21 coins on a table. Two players alternate turns, each taking 1, 2, or 3 coins. The player who takes the LAST coin LOSES
hard
reasoning
A blindfolded person has 52 cards, 13 face up and 39 face down. They cannot feel which side is up. They must split the c
hard
reasoning
A clock gains exactly 5 minutes every hour. It shows the correct time at 12:00 PM. What time does the clock display when
hard
reasoning
A lily pad doubles in size every day. After 30 days it covers an entire lake. After how many days does it cover exactly
hard
reasoning
You have 12 balls that look identical. One is slightly different in weight (either heavier or lighter — you don't know w
hard
reasoning
Modified Monty Hall with 4 doors: 1 has a car, 3 have goats. You pick door 1. The host reveals one goat behind door 3. Y
hard
reasoning
What is the expected number of times you must flip a fair coin to get 2 consecutive heads?
hard
reasoning
You and a friend take turns picking numbers from 1 to 10. The numbers add to a running total starting at 0. The first pl