Essay on Programming Language and Pearson Education

Submitted By Haram-Lee
Words: 1840
Pages: 8

Chapter 1
Introduction
Java Software Solutions
Foundations of Program Design
8th Edition

John Lewis
William Loftus
Copyright © 2014 Pearson Education, Inc.

Focus of the Course
• Object-Oriented Software Development
– problem solving
– program design, implementation, and testing
– object-oriented concepts






classes objects encapsulation inheritance polymorphism

– graphical user interfaces
– the Java programming language
Copyright © 2014 Pearson Education, Inc.

Instructor





Bruce Link
Ph.D. Computer Science
5 years in US research laboratory
18 years at MacDonald Dettwiler
– Project engineer, project manager, engineering manager • Program Head Information Systems, BCIT
• Contact Methods
– 412-7508, SW2/365
– bruce_link@bcit.ca

• Shareout:
– Out/Comp/1510

Course Outline: Read It
• Evaluation methods
• Required texts
• Course marking guidelines and details
– quizzes, assignments, midterm, final

• Lectures
• Labs
• Policies and procedures

Expectations
• Polite and civilized behaviour






Respect for classmates and instructors
One person at a time talking
No cell phones
No latecomers
Feel free to remind your classmates

• Lots of hard work and learning
– Take responsibility for your learning
– Read the assigned reading before lecture
– Look at the assignments when they are posted

• Fun and Magic
– Programming is creating something from nothing

How Much Effort to Put Into This Course?
• This is the foundation for the other programming courses in CST
– More Java, C, C++, C#

• All second year options have programming content • Comp 1510 is a prerequisite to three second term courses
– Comp 2510 C, Comp 2526 Java II, Comp 2721
Architecture
– You will be blocked from these without this course

• Be sure to master this course!!!

Introduction
• We start with the fundamentals of computer processing • Chapter 1 focuses on:








components of a computer how computers store and manipulate information computer networks the Internet and the World Wide Web programming and programming languages an introduction to Java an overview of object-oriented concepts
Copyright © 2014 Pearson Education, Inc.

Outline
Computer Processing
Hardware Components
Networks
The Java Programming Language
Program Development
Object-Oriented Programming

Copyright © 2014 Pearson Education, Inc.

Java
• The Java programming language was created by
Sun Microsystems, Inc.
• It was introduced in 1995 and it's popularity has grown quickly since
• A programming language specifies the words and symbols that we can use to write a program
• A programming language employs a set of rules that dictate how the words and symbols can be put together to form valid program statements

Copyright © 2014 Pearson Education, Inc.

Java Program Structure
• In the Java programming language:
– A program is made up of one or more classes
– A class contains one or more methods
– A method contains program statements

• These terms will be explored in detail throughout the course
• A Java application always contains a method called main • See Lincoln.java
Copyright © 2014 Pearson Education, Inc.

Java Program Structure
//

comments about the class

public class MyProgram
{
class header

class body

Comments can be placed almost anywher
}

Copyright © 2014 Pearson Education, Inc.

Java Program Structure
//

comments about the class

public class MyProgram
{
//

comments about the method

public static void main (String[] args)
{
method body

method header

}
}

Copyright © 2014 Pearson Education, Inc.

Comments
• Comments should be included to explain the purpose of the program and describe processing steps • They do not affect how a program works
• Java comments can take three forms:
// this comment runs to the end of the line
/*

this comment runs to the terminating symbol, even across line breaks

/** this is a javadoc comment

*/

*/
Copyright © 2014 Pearson Education, Inc.

Identifiers
• Identifiers are the "words" in a program
• A Java…