Back to Contents
Bags of candy (multiplication)
Slices of Pizza
Java Tutorials Home
Java & Algorithms textbook
Coder Java Tutorials
Java Crib/Cheet Sheets
NOTICE KTByte enrollment is down due to ISP failure
. Classes cancelled for 2017-03-23: CS00b, CS01a, CS02a . Our ISP says they will be repaired by late tonight (Thursday)
Free Java Tutorials
Table of contents
>> Twitter Beginner Problems
1. Hello World
Print "Hello, xyz", where xyz is stored in a String variable
2. Bags of candy (multiplication)
You have 11 bags of candy, and each bag has 12 pieces. How many pieces do you have total?
3. Slices of Pizza
You have 42 pizza slices. After sharing with 5 people evenly, how many slices will be left over?
4. Music Albums
Each music album has 10 songs. You can only afford 132 songs. How many full albums can you buy?
5. Social Followers
You have 42 followers. You gain 20 followers in a day. How many followers will you have in 10 days?
6. More Eggs
Alice bought 5 dozen eggs. Bob bought 7 packs of eggs, each with 8 eggs. Who bought more eggs?
7. Clock Tower
A clock tower chimes every 15 minutes. You heard a chime 2 minutes ago. Will it chime in the next 7 minutes?
There are 5 people, each with $7 Can the group afford a tip after a $30 dinner?
9. Car Rent
Car rental starts at $100. Each month afterwards is $1 extra. How much does 12 months cost?
10. Bed Snacks
According to http://xkcd.com/183/, how many years before age 40 are you allowed to snack before bed?
Previous: Linked Lists
Next: Bitcoin Tutorial Part1