GeezerVison is showing learn.java — Exploring Java with Practice Activities - Learn.java
Exploring Java with Practice Activities
1.1 - Working with Data
- Introduction to Algorithms Practice - In this introduction to algorithms practice set, you will practice writing your own algorithms for things that are part of everyday life and then move on to writing comprobable algorithms to a given algorithm.
- Classifying Data Practice - In this activity, you will think about the type of data that is being described and determine whether it is primitive data or object data, identify the specific type of data, and provide a rational for your choice.
- Declaring Variables - In this activity, you will declare variable for each description.
- Declaring and Initializing Variables - In this activity, you will determine the data type, variable name, and initial value for described variables. You will also be given some incorrect statements to test in the Java Playgroud and fix them.
- Determine if Data is Mutable or Immutable - In this activity, you will think about all the data that would need to be stored for the described object and determine what of that data would be mutable and what data would be immutable.
- Creating Records and Record Objects - In this activity, you will be creating a new data type in the form of a record. You will then be declaring and initializing new record objects.
- Experiment with Arithmetic Basics - In this activity, you will practice evaluating arithmetic expressions.
- Experiment with Casting - In this activity, you will practice evaluating expressions that include casting as well as writing code that requires casting.
- Experiment with the Parsing Methods - In this activity, you will practice writing code that uses the parse methods in the
Integer and Double classes to convert String values to their corresponding int and double values.
- Experiment with Compound Operators - In this activity, you will practice evaluating compound arithmetic expressions and re-write expressions to use the compound operators.
- Creating enum Classes - In this activity, you will create new
enum classes to represent data.
- Console Input and Output Practice - In this activity, you will practice prompting for input, storing these values in variables, and producing output.
- Formatting Output Practice - In this activity, you will practice using escape sequences and text blocks to format output.
- Creating Record Objects and Calling Methods - Practice identifying the instance variables, constructors, and methods of a record and then apply this to creating objects of a records and calling those methods.
- Interpreting the API - There are many classes available for you to use, practice reading the API.
- Identifying Method Signatures - Investigate method return types and signatures by looking at the API.
- Writing Comments - Given some code, write comments to describe what the code does.
- Using the Random Class - Define variables and assign them to randomly generated values using the
Random class.
- Evaluating Expressions that use the String Class - Evaluate the provided expressions that use the
String class.
- Write Expressions that use the String Class - Write expressions that use the
String methods to satisfy provided prompts.
- Writing Code that Parses Strings Using the Wrapper Classes - Write expressions that parse
String objects to appropriate values using wrapper classes.
- Using the LocalDate Class - Write expressions that use the
LocalDate class to satisfy provided prompts.
- Evaluate Expressions that use the Math Class - Evaluate the provided expressions that use the
Math class.
- Write Expressions that use Math Class - Write expressions that use the
Math methods to satisfy provided prompts.
- Identifying Superclass and Subclass Attributes and Behaviors - Identify common attributes and behaviors that can be included in a Superclass to create a class hierarchy between related classes.
- Create Objects with Constructors - Identify constructor signatures and use these to create an object of a class.
1.2 Algorithms
1.3 Creating Classes and Objects
1.4 Lists
|