APCSA | (d)Encryption Program
My video answers the below questions:
Guiding questions and instructions for your blog post
- What encryption method have you chosen, why did you choose it?
- What are the pros and cons of this encryption method?
- Include sketches (e.g. flowchart, pseudocode, diagrams…) you drafted before writing the code.
- In the screencast, show the classes hierarchy of your program
- Explain the functions of different methods
- Demonstrate how your program encrypt and decrypt a message
- What have you learned in this project and how does it connect with the topics we covered? (String operations, arrays, loops…)
“Java Tutorial – Caesar Cipher” by Zoran Davidović
APCSA | Algorithms and Iterations
An algorithm is simply a set of instructions, similar to a recipe, that is used to run a task or solve something. A form of displaying an algorithm is through a flowchart, where the user moves from the top of the chart to the bottom, answering questions/conditions along the way. Algorithms progress by checking comparisons and conditions, often with results like “yes” or “no.” Algorithms are often compact, and can be repeated as an iteration, which is simply a repetition of these algorithms, with some small adjustments, such as variables or inputs. In addition, algorithms are usually very general.
APCSA | Adventure Game
I did not make a flowchart, but I think my game is pretty epic B)
APCSA | Blog Post 2
Computer programs is based on source code and required processing (compiling/interpretation) before execution. [completed]
How to write a computer program?
Basic arithmetics in Java
Different datatypes in Java Language
Differences between int, double and float
Number precision in programming (https://www.youtube.com/watch?v=PZRI1IfStY0)
double vs float (https://www.youtube.com/watch?v=BXyR_356YYo)
Write a post on your learning journal
Reflection homework – blog or video describing what you learned this class. Did you have any difficulties you had to overcome? Any questions, left unanswered? What did you do this lesson that was successful?
What is the difference between double and float? (can also watch video)
Float – Less precision, requires space for • 10^x. Bigger numbers, less space. 4 bytes.
Double – More precision, takes more space. 8 bytes.
How does args work in the main function? Can you name args something different? explain and remember to add images to help visualise.
Args are the argument. You can name them anything you want, as long as you are consistent.
APCSA | In-Class Exploration Task
Did you learn something new about computer science/programming in this class?
What are the things you have learned?
It is epic B))
Did you find it difficult? Compare writing the program in the terminal with the IDE, which one do you prefer?
Yeah a littleb ut im rely good at computers B))
Finally, upload the video you’ve created in class on youtube and embed it in your youtube channel.