3.1
1. The vocabulary of a language is all of the symbols and words recognized by the language. Some examples of items in Java’s vocabulary are +, -, =, and 4.216
2. An example of a syntax rule in Java is that parentheses must always be arranged in the correct order: ( ), never ) (.
3. (x [...]
Archive for September, 2007
Exercises ch 3
September 23, 2007Exercises
September 13, 20072.1
1. A portable program is a program that can be run on a variety of different types of computers without having to change anything.
2. Java’s secure programs and portable nature are two reasons it is better than C++.
3. A thread is a process that can be running while other threads are active, allowing multitasking in [...]
Hello World Quiz
September 11, 20071. The platform-independent code that the computer compiles the program into is called class.
2. /*comment is not a valid comment.
3. You should check the line that has the word “main” in it for errors.
4. public static void main(String[] args) {
is [...]
Questions questions questions…
September 7, 20071. What is a bit in computer terminology? How many Bits in a Byte? How many bytes in a megabyte, and a Gigabyte?
A bit is the smallest unit of data in a computer system. There are 8 bits in a byte, about 1 million bytes in a megabyte and around 1 billion bytes [...]
What is programming?
September 6, 2007Programming is the act of writing and stringing together code to make programs. These programs can accomplish a huge variety of tasks. The more complex the code is, the more intricate and complex the final program will be.
Hello world!
September 6, 2007Welcome to WordPress.com. This is your first post. Edit or delete it and start blogging!