Tuesday, February 4th

 

Section 4 quiz Thursday or Friday!

ASCII Table - you are using an ascii keyboard, every key on your keyboard is represented in the ascii code.

What are some of the limitations of ASCII? ASCII values are 8 bit values so you are limited to 256 characters. Why is that a problem?

The answer is Unicode - is the programming standard for encoding text.

Begin Section 4 Lesson 4: Strings  slides
Begin Section 4 Lesson 4: Strings practice
Hints for theGene Finder problem - for help with this problem refer to the StringPractice example, part4
Refer to the Java API for String objects
Remember that each string is composed of characters and each character in a string has an index value that indicates its location in the string.
Once you have found the start and ending index values you can use these two values to select a substring from the DNA string.
You should have four variables for this project, dna is one, what are the other three?
Begin Section 4 Lesson 4: Strings project

Section 4: Lesson 4 - Strings Vocabulary:
- Joining multiple String objects together.
- Specific characters that are preceded by a \ character. When evaluated, the special character is evaluated as a special function, such as tabs, newlines, etc.
- Assigning a value to a String object reference.
- A data type that references the location in memory where an object is stored rather than a single, specific value.
- Code available in the Java API to manipulate or return strings.
- An Object type that stores sentences, words, or multiple characters.

 

Homework

Install Eclipse on your home computer if you would like to be able to work on your java at home.

 

What

In this lesson, you will learn how to:
•Recognize the correct general form of a class
• Create an object of a class
• Describe object references
• Create methods that compile with no errors
• Return a value from a method
• Use parameters in a method

 

Why

Class templates are the foundation of the Java language. Understanding how to create a class with various methods will be essential to becoming a good Java programmer. Knowing how to instantiate an object and compare it to other objects is critical to learning to use and work with Java data types.

 

How

By completing the slides, quiz and practice exercises.