To review various ideas of Computer Science 10 and 20, you must try and complete some Euler Projects.
1) Go to https://projecteuler.net/archives
In your weebly create a page called Computer Science 30, then under it a page called Project Euler, and a page under this for each problem.
For example, you will have Computer Science 30, dropped down to ProjectEuler, which drop downs to all the completed projects.
2) Starting with Project 1, you have one month to solve as many as you can. For each problem you must do the following
a) Create a dedicated page for this problem.
b) Define any words which caused you problems. Example of such words may be "prime, odd, multiples, etc". You may also have no words which you needed to research.
c) Copy and paste the code from processing in which you used to solve the problem.
d) Take a screen shot of your code outputting the correct answer. You can google each problem to determine if your answer is correct.
How does a program output an answer??
Use
println();
Some examples:
println(5); //prints 5 on a line
println("Hey",5); //prints Hey 5 on a line
println(Hey,5); //prints the variable Hey and then 5 on a line.
Other things to consider:
Use different variable assignments for different data types. For example long, int, char, string, etc. Feel free to research how to do you complete different things. For example converting char into int.
1) Go to https://projecteuler.net/archives
In your weebly create a page called Computer Science 30, then under it a page called Project Euler, and a page under this for each problem.
For example, you will have Computer Science 30, dropped down to ProjectEuler, which drop downs to all the completed projects.
2) Starting with Project 1, you have one month to solve as many as you can. For each problem you must do the following
a) Create a dedicated page for this problem.
b) Define any words which caused you problems. Example of such words may be "prime, odd, multiples, etc". You may also have no words which you needed to research.
c) Copy and paste the code from processing in which you used to solve the problem.
d) Take a screen shot of your code outputting the correct answer. You can google each problem to determine if your answer is correct.
How does a program output an answer??
Use
println();
Some examples:
println(5); //prints 5 on a line
println("Hey",5); //prints Hey 5 on a line
println(Hey,5); //prints the variable Hey and then 5 on a line.
Other things to consider:
Use different variable assignments for different data types. For example long, int, char, string, etc. Feel free to research how to do you complete different things. For example converting char into int.