Understand and Reconstruct Code Using a Sample Program

Understand and Reconstruct Code Using a Sample Program

Task 3
Module 3: Understand and Reconstruct Code Using a Sample
Program
Use identifiers and follow naming conventions to name
variables or objects, constants, methods and classes. Watch the
link and create a study guide to remember the important terms:


Program using statements and expressions

Explore Java data types and operators by watching the video:

This is a modal window.

Playback on other Websites has been disabled by the video owner.

Explore numeric primitive data types, perform operations using
mathematical operators, perform advanced operations such as
exponents, logs, etc. using the math class built-in methods,
shorthand operators, increment and decrement.

More on Java Fundamentals
Writing and evaluating statements: b) Type conversion or cast
values from one numeric data type to another c) Post-increment
and pre-increment.
Read the page and create a visual outlining the different
statements: Expressions and Statements

Step 4: Code Styling and Program Readability
a) Inline and block comments
b) b) Line of code Indentations

Given a simple Java program that performs calculations, list the
variables (or objects) using identifiers and types, the value
stored in those variables, and identify the expression in the
assignment statement. State whether there is an increment or
decrement of values.variables

 

https://introcs.cs.princeton.edu/java/11cheatsheet/

Part 2

1) Students work individually or in groups to create, compile
and run a simple program that declare a variable using
appropriate data type, and assignment statement containing the
declared variable and expression statement. Students must
include code styling and documentation.
2) Students work individually or in groups to create, compile
and run a program that computes the area of a square using type
conversion, and output the results using correct identifiers and
naming convention, assignment statement and expressions,
variables (objects) and appropriate data types. Students must
include code styling and documentation.

Assessment:
Students work individually or in groups to create, compile and
run a program that computes the area of a circle and output the
results using correct identifiers and naming convention,
assignment statement and expressions, variables

 

Answer preview for the “Understand and Reconstruct Code Using a Sample Program” essay…………………….

Understand and Reconstruct Code Using a Sample Program

apa 457 words

Click the Purchase button now to download full answer for the”Understand and Reconstruct Code Using a Sample
Program” page

Share this paper
Open Whatsapp chat
1
Hello;
Can we help you?