Complete the following projects. Aim for maximum efficiency in your code. EX stands for extension. They are optional extensions to your programs that can be completed for additional marks. To achieve a grade above 80%, you will need to complete the extensions.
0. Create a program that outputs "Hello World!".
1. Create a program that generates the factorial of a given number.
2. Create a program to convert a given currency to another currency. EX: provide numerous types of currency.
3. Write a program that outputs a declining triangle where the user defines the length of the top row
i.e:
*******
******
*****
****
***
**
*
EX: Write a program that outputs an increasing triangle where the user defines the length of the bottom row.
EX2: Write a program that outputs an equilateral triangle of a user-defined size.
4. Write a guessing game where the user guesses a number chosen by the computer. EX: Have the computer generate a random number and tell the user if their guess is too high or too low.
5. Create a program that generates the Fibonacci sequence up to a given value specified by the user.
6. Create a program that determines the number of vowels and consonants within a given block of text.
7. Create a program that plays rock, paper, scissors. EX: Create a program that plays rock, paper, scissors, lizard, Spock.
8. Create a program that given, either the area, radius or diameter of a circle, calculates the remaining values.
9. Create a program that manually calculates square roots. Do not use the sqrt() or pow(n,0.5) function for this project
10. Create a calculator that can perform addition, subtraction, multiplication, division and exponential calculations Ex: Add roots as well.
11. Create a quadratic solver. In other words, create a program that reads in the coefficients of a quadratic function in standard form and outputs the roots. EX1: create a quadratic solver for equations in vertex form. EX2: Create a cubic solver.
1. Create a program that generates the factorial of a given number.
2. Create a program to convert a given currency to another currency. EX: provide numerous types of currency.
3. Write a program that outputs a declining triangle where the user defines the length of the top row
i.e:
*******
******
*****
****
***
**
*
EX: Write a program that outputs an increasing triangle where the user defines the length of the bottom row.
EX2: Write a program that outputs an equilateral triangle of a user-defined size.
4. Write a guessing game where the user guesses a number chosen by the computer. EX: Have the computer generate a random number and tell the user if their guess is too high or too low.
5. Create a program that generates the Fibonacci sequence up to a given value specified by the user.
6. Create a program that determines the number of vowels and consonants within a given block of text.
7. Create a program that plays rock, paper, scissors. EX: Create a program that plays rock, paper, scissors, lizard, Spock.
8. Create a program that given, either the area, radius or diameter of a circle, calculates the remaining values.
9. Create a program that manually calculates square roots. Do not use the sqrt() or pow(n,0.5) function for this project
10. Create a calculator that can perform addition, subtraction, multiplication, division and exponential calculations Ex: Add roots as well.
11. Create a quadratic solver. In other words, create a program that reads in the coefficients of a quadratic function in standard form and outputs the roots. EX1: create a quadratic solver for equations in vertex form. EX2: Create a cubic solver.
Test Concepts:
You should also be comfortable reading a segment of code and finding any bugs or stating the output of the code
i.e "Parse the following code. Identify any errors or state the output.
There will also be a trivia extra-credit section.
- identify differences between loop types (while, do-while, and for)
- differences between variable types (int, double, char, string)
- overloading functions
- arrays (class and built-in)
- function prototyping
- unary operators (++,--,+=,*= etc.) as well as the difference between ++x and x++
- difference between if…else structures and switch
- danger of system calls
- purpose of break & continue statements
- converting between hexadecimal, decimal and binary systems
- variable scope
You should also be comfortable reading a segment of code and finding any bugs or stating the output of the code
i.e "Parse the following code. Identify any errors or state the output.
There will also be a trivia extra-credit section.
12. Create a program that plays Mastermind.
13. Create a program that plays Blackjack.
14. Make a casino where players can choose to play one of multiple games and the program tracks on going winnings.
15. Make a program that plays Nim with a single stack of a fixed size. EX: Make the game create a random number of stacks with a random number of elements in each stack.
16. Make a program that plays Tic-Tac-Toe that cannot lose. EX: Make a program that plays Tic-Tac-Toe that cannot win.
17. Write a program that converts any given fraction to lowest terms.
18. Write a program that plays Dice Poker.
19. Write a program that emulates a finite state machine pursuant to the below specifications:
13. Create a program that plays Blackjack.
14. Make a casino where players can choose to play one of multiple games and the program tracks on going winnings.
15. Make a program that plays Nim with a single stack of a fixed size. EX: Make the game create a random number of stacks with a random number of elements in each stack.
16. Make a program that plays Tic-Tac-Toe that cannot lose. EX: Make a program that plays Tic-Tac-Toe that cannot win.
17. Write a program that converts any given fraction to lowest terms.
18. Write a program that plays Dice Poker.
19. Write a program that emulates a finite state machine pursuant to the below specifications:
finitestatemachineproject.pdf | |
File Size: | 236 kb |
File Type: |
Summative Project Details
ics34summative.pdf | |
File Size: | 227 kb |
File Type: |