Study Guide for Exam I

Review Reading:

Terminology, Skills, and Concepts

Basic Unix Commands and file permissions (chmod)
Basic HTML 
client-server computing
JavaScript
cookies
applet
editor
compiler
programming language
bytecode
Java virtual machine
algorithm
Java:
	classes and objects, constructors
	methods	(functions)
	simple I/O
	variables
	assignment statements
	operators
	if-else
	loops
	parameters (arguments)
	compound statements (blocks)
	scope
	overloading methods

Practice Questions

What is the difference between System.out.print(); and
System.out.println();?

What does System.in refer to?

What do these file extensions tell you about the information
contained in the files: .gif .java .html .class

In the statement:
System.out.println("Miles per gallon: "+mpg);

How is the + operator being used?

What is the purpose of these operators: == ++ -- *= !=  %

Where would you expect to see: throws IOException?

Given:

 		int score;
        BufferedReader in =new BufferedReader
        new InputStreamReader(System.in));
        System.out.println("Please enter score: ");
        score=Integer.parseInt(in.readLine());
        if (score>=90)
              System.out.println("Grade: A");
        else if (score>=80)
              System.out.println("Grade B");
		else if (score>=70)
			  System.out.println("Grade C");
		else
			  System.out.println("You need to study!");
		System.out.println("Bye");

What happens if the user enters: 79?  What if the user enters 65?

What are the two meanings of the Unix command mv?
What does mv filename directoryname do?

What would this Unix command do:  chmod u-w filename 

True or False:
1) Javascript is the same as Java.
2) Javascript is case sensitive.
3) Unix is case sensitive.
4) Java is case sensitive.
5) HTML is case sensitive.


review reading in values of different types:
	  integers
	  doubles	
	  Strings

What is this statement? static final double PI=3.14159;

Standard Disclaimer: This is a guide only and is not comprehensive.

Click here to return to the IT 108 page


Copyright © Anne Marchant, 1999-2002 All rights reserved.