7 Million Study Materials
From students who've taken these classes before
24/7 Access to Tutors
Personal attention for all your questions
Learn
93% of our members earn better grades
Western Kentucky University | CS 240
Computer Science I
Professors
  • Atici, M
 
 
 

29 sample documents related to CS 240

  • Western Kentucky University CS 240
    1 2 Introduction to Java Applications 1992-2007 Pearson Education, Inc. All rights reserved. 2 What\'s in a name? that which we call a rose By any other name would smell as sweet. - William Shakespeare When faced with a decision, I always ask, \"W
     
  • Western Kentucky University CS 240
    1 3 Introduction to Classes and Objects 1992-2007 Pearson Education, Inc. All rights reserved. 2 You will see something new. Two things. And I call them Thing One and Thing Two. - Dr. Theodor Seuss Geisel Nothing can have value without being an
     
  • Western Kentucky University CS 240
    1 4 Control Statements: Part 1 1992-2007 Pearson Education, Inc. All rights reserved. 2 Let\'s all move one place on. - Lewis Carroll The wheel is come full circle. - William Shakespeare How many apples fell on Newton\'s head before he took the h
     
  • Western Kentucky University CS 240
    CS240 Computer Science I Fall 2006 by Guangming Xing Lecturer: Office: URL Office Hours: Text: Guangming Xing TCCW 126B, x5-8848, Guangming.Xing@wku.edu http:/www.wku.edu/~Guangming.Xing/wku/cs240 TR: 11:00 12:00, T: 15:30 17:00 W: 09:00 12:00 1
     
  • Western Kentucky University CS 240
    CS244 Lab Component for Computer Science I Fall 2006 by Guangming Xing Guangming Xing TCCW 126B, x5-8848, Guangming.Xing@wku.edu http:/www.wku.edu/~Guangming.Xing/wku/cs240 TR: 11:00 12:00, T: 15:30 17:00 URL Office Hours: W: 09:00 12:00 13:00 1
     
  • Western Kentucky University CS 240
    CS 240 Computer Science I (Java) Exam I Sample [20 pts] DUE: October 3, 2006 Q 1. Please pick the errors from the following code segment. You need to pick at least 5 errors out in the following code. (20 pts) public class sum { public static void Mai
     
  • Western Kentucky University CS 240
    Sample CS 240 Java Test II November 5, 2006 Q 1. What are the diereneces between an abstract class and an interface? [20 pts] Q 2. [class, array] Both array and class can contain a collection of elements. Explain what are the dierences between array
     
  • Western Kentucky University CS 240
    CS244 Computer Science I Lab Assignment 9 There are two parts for this assignment: Part 1: [25 pts] Write a program to demonstrate the two ways to handle an exception in a program. Name your programs as PropagationDemo.java and TryCatchFinallyDemo.ja
     
  • Western Kentucky University CS 240
    5 CS240 2 3 CS244 5 1 CS241 7 3 CS225 9 4 CS325 15 4
     
  • Western Kentucky University CS 240
    CS 244 Lab Assignment 8 http:/www.wku.edu/~guangming.xing/wku/cs240/lab8 This assignment is a comprehensive exercise for Chapter 1 through 10. [Make sure that you use correct modifiers: public, private, static final] In the following classes, all fie
     
  • Western Kentucky University CS 240
    14 2 1 4 2 3 3 5 2 4 5 4 4 7 1 4 7 3 4 7 4 3 9 1 3 9 2 3 9 3 4 9 4 4 15 3 3 15 4 2 15 2 1
     
  • Western Kentucky University CS 240
    4 1 David 2 John 3 Mary 4 Beth
     
  • Western Kentucky University CS 240
    CS 244 Lab Assignment 5 The goal of this assignment is to enhance the understanding of package, project management using JCreator, and use of an array. Problem Description: Create a class named as CarSalesman in package personnel, with the following
     
  • Western Kentucky University CS 240
    CS 244 Computer Science I Lab Assignment 4 [75 pts] Topics covered in this assignment: 1. array: how to declare an array, access an element in an array 2. use loops to manipulate an array: seach 3. class and object Create a SalesPerson class with the
     
  • Western Kentucky University CS 240
    CS 244 Computer Science I Lab Assignment 7 In this assignment, we will learn how to build a GUI application using Java Swing package. One important requirement in this assignment is to learn how to use online API documentation to develop a program. P
     
  • Western Kentucky University CS 240
    CS244 Computer Science Lab Lab Assignment 6 Topics covered in this assignment: 1. problem modeling with superclass and subclass 2. Keywords: super, extends, abstract, interface, implements 3. protected access 4. Scope: internal scope and external sco
     
  • Western Kentucky University CS 240
    CS240 Lab Assignment 1 http:/www.wku.edu/~guangming.xing/wku/cs240/lab1 Review Questions: 1. What is a class, object? 2. What are the basic elements in a Java program? 3. variable declaration 4. How to represent properties and actions of an object? 5
     
  • Western Kentucky University CS 240
    CS 244 Computer Science I Lab Assignment 3 [75 pts] Topics Covered: 1. class and objects 2. control statements: if-else, while, for, switch Lab 1: A bank account can be described by the following properties: 1. account number 2. name 3. balance and a
     
  • Western Kentucky University CS 240
    CS 244 Lab Assignment 2 http:/www.wku.edu/~guangming.xing/wku/cs240/lab2 [75 pts] Review Questions: 1. What is a class/object? 2. type: byte, short, int, long, float, double, boolean, String 3. arithmetic operators: +, -, *, /, % 4. relational operat
     
  • Western Kentucky University CS 240
    c:\\Demo\\Cs240Demo\\src\\Cs240Demo.java c:\\Demo\\Cs240Demo\\src\\Cs240DemoFrame.java c:\\Demo\\Cs240Demo\\src\\Cs240DemoMain.java c:\\Demo\\Cs240Demo\\src\\package1\\Class1Package1.java c:\\Demo\\Cs240Demo\\src\\package1\\son\\Class1Package1Son.java c:\\Demo\\Cs240Demo\\src
     
  • Western Kentucky University CS 240
    D:\\teach\\cs240-Fall2006\\Projects\\MainTest.java D:\\teach\\cs240-Fall2006\\Projects\ ecords\\student\\Course.java D:\\teach\\cs240-Fall2006\\Projects\ ecords\\student\\StudentRecord.java D:\\teach\\cs240-Fall2006\\Projects\ ecords\\student\\StudentRecordManager.java
     
  • Western Kentucky University CS 240
    100 David 240 Java Programming 01/01/2006 4 3 100 David 241 Java Programming II 09/01/2006 4 3 101 John 240 Java Programming 01/01/2006 3 3 338 Discrete Math 01/01/2007 2 3
     
  • Western Kentucky University CS 240
    CS244 Computer Science Lab Practice Problems Problem A: Implement a class named ShapePrinter with the following method: (decide whether or not the methods in this class should be static or not) trianglePrint(int n): output an outline of diamond with
     
  • Western Kentucky University CS 240
    1 6 Searching and Sorting 1 1992-2007 Pearson Education, Inc. All rights reserved. 2 With sobs and tears he sorted out Those of the largest size . - Lewis Carroll Attempt the end, and never stand to doubt; Nothing\'s so hard, but search w
     
  • Western Kentucky University CS 240
    2 0 Introduction to Java Applets 1 1992-2007 Pearson Education, Inc. All rights reserved. 2 Observe due measure, for right timing is in all things the most important factor. - Georg Wilhelm Friedrich Hegel Painting is only a bridge linki
     
  • Western Kentucky University CS 240
    1 2 6 Web Applications: Part 1 2007 Pearson Education, Inc. All rights reserved. 2 If any man will draw up his case, and put his name at the foot of the first page, I will give him an immediate reply. Where he compels me to turn over the sheet,
     
  • Western Kentucky University CS 240
    1 2 9 Formatted Output 1992-2007 Pearson Education, Inc. All rights reserved. 2 All the news that\'s fit to print. - Adolph S. Ochs What mad pursuit? What struggle to escape? - John Keats Remove not the landmark on the boundary of the fields. -
     
  • Western Kentucky University CS 240
    1 3 0 Strings, Characters and Regular Expressions 1992-2007 Pearson Education, Inc. All rights reserved. 2 The chief defect of Henry King Was chewing little bits of string. -Hilaire Belloc Vigorous writing is concise. A sentence should contain no
     
  • Western Kentucky University CS 240
    CheckthefollowingprogramsandFindoutiftherecouldbeasyntax/compile/runtime errorornot: 1) = /Fig.2.1:Welcome.java /Textprintingprogram. publicclassWelcome1 { /mainmethodbeginsexecutionofJavaapplication publicstaticvoidmain(Stringargs[]) { System.out.pr
     
 
 
 
 
7,000,000 study materials • 24/7 tutors • earn better grades
Ask a tutor a question for CS 240
 
* 
Browse...