APCSA | (d)Encryption Program

My video answers the below questions:

Guiding questions and instructions for your blog post

  1. What encryption method have you chosen, why did you choose it?
  2. What are the pros and cons of this encryption method?
  3. Include sketches (e.g. flowchart, pseudocode, diagrams…) you drafted before writing the code.
  4. In the screencast, show the classes hierarchy of your program
  5. Explain the functions of different methods
  6. Demonstrate how your program encrypt and decrypt a message
  7. What have you learned in this project and how does it connect with the topics we covered? (String operations, arrays, loops…)

Github Links:

Cipher

Decipher

Main Class

 

Resources Used:

“Java Tutorial – Caesar Cipher” by Zoran Davidović

“Atbash Cipher” by Hanging Hyena

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 | Blog Post 2

Enduring Understandings

  • Computer programs is based on source code and required processing (compiling/interpretation) before execution. [completed]

Essential Questions

  • How to write a computer program?

Class Content

  1. Basic arithmetics in Java

  2. Different datatypes in Java Language

  3. Differences between int, double and float

Write a post on your learning journal

Slide (http://skylit.com/javamethods/ppt/Ch05.ppt)

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?

Nope 🙂

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?

Yes

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.