Introduction to Classes and Objects Shirley Moore CS 1401 Spring 2013 cs1401spring2013.pbworks.com April 23, 2013.

Slides:



Advertisements
Similar presentations
SORTING AND ASYMPTOTIC COMPLEXITY Lecture 12 CS2110 – Spring 2014 File searchSortAlgorithms.zip on course website (lecture notes for lectures 12, 13) contains.
Advertisements

Exception Handling Shirley Moore CS 1401 Spring 2013 cs1401spring2013.pbworks.com May 7,
CSE115: Introduction to Computer Science I Dr. Carl Alphonce 219 Bell Hall
CSE115: Introduction to Computer Science I Dr. Carl Alphonce 219 Bell Hall
CSE 115 Week 13 April , Announcements April 7 – Exam 9 April 7 – Exam 9 April 10 – Last day to turn in Lab 7 for any credit, last day to turn.
Welcome to CS680! Tue Thu 7pm - 8:15pm :-(
Fall 2005CSE 115/503 Introduction to Computer Science I1 Lecture #4 Agenda Announcements Review Questions? Classes and objects UML class diagrams Creating.
CSE115: Introduction to Computer Science I Dr. Carl Alphonce 219 Bell Hall
Announcements CSE 380 Fall September 2003 CSE 380 home page CSE 380 home page  CSE 380 and.
UML class diagrams (1) UML = Unified Modeling Language We use only class diagrams, not other UML diagrams Purpose: –keep OO concepts separate from implementation.
Your First Data Structure: 1D Array Shirley Moore CS 1401 Spring 2013 cs1401spring2013.pbworks.com April 9-11, 2013.
WED 11/5 wk-4 OBJECTIVE: 8 TOPIC –enzymes DO NOW :  daily grade: -6.2 LAB picture prodecures WRAP UP :  DW: -6.1 VOC foldable -6.2 READ-circle voc/underline.
Singleton and Basic UML CS340100, NTHU Yoshi. What is UML Unified Modeling Language A standardized general-purpose modeling language in the field of software.
4/25/2013 CS152, Spring 2013 CS 152 Computer Architecture and Engineering Lecture 22: Putting it All Together Krste Asanovic Electrical Engineering and.
Introduction to Methods Shirley Moore CS 1401 Spring 2013 cs1401spring2013.pbworks.com April 1, 2013.
Lab 7: BoxCar Class. Drawing a BoxCar Step 1:Create classes for Circle & Rectangle (done!) Step 2:Create a BoxCarPart class that can draw this part at.
Copyright © 2012 Pearson Education, Inc. Chapter 13: Introduction to Classes.
Computer Networks CNT5106C
Searching and Sorting Arrays Shirley Moore CS 1401 Spring 2013 cs1401spring2013.pbworks.com April 15-16, 2013.
Copyright © 2009 Pearson Education, Inc. Publishing as Pearson Addison-Wesley The Unified Modeling Language
Designing Classes Lab. The object that you brought to class Put it in the basket we will exchange them now.
TUES 11/4 wk-4 OBJECTIVE: 1-4 TOPIC –chemistry DO NOW :  daily grade: -6.1 READ/notes WRAP UP :  DW: -6.2 LAB picture procedures  EXT: -due: - -IDENTIFY.
Document Architectures/ Language Programming 2 CS4146/CS4703 Nikola Nikolov (Nik) office: CS1-030; tel.: Best time.
CS16: UML’s Unified Modeling Language. UML Class Diagram A UML class diagram is a graphical tool that can aid in the design of a class. The diagram has.
Your First Data Structure: 1D Array Shirley Moore CS 1401 Spring 2013 cs1401spring2013.pbworks.com April 9, 2013.
Computer Science / Pre-Engineering Departmental Meeting
What to do in ICS4U? Grant Hutchison.
Friday March 9, 2012 Objective: You will know the names of three different rock types and how they are formed.
Monday.
Objects First with Java
CS Week 13 Jim Williams, PhD.
CS 302 Week 10 Jim Williams.
CS 456/656 – Computer Networks
CS 200 More Classes Jim Williams, PhD.
How much revision will you do today?
Today’s Agenda Go over exam #2 Go over exam #3 Lab 8 for 1 hour
Wed 11/1/17 Agenda Homework Anyone need to finish their test?
CS 336/536: Computer Network Security Fall 2015 Nitesh Saxena
Monday, January 22nd Go over Health CA study guide Peer study
Lesson Log 21 Date: Jan. 29-February 2, 2018
Homework Log Thurs 4/21 Lesson 10 – 6 Learning Objective:
C++ Programming ㅎㅎ String OOP Class Constructor & Destructor.
CS 336/536: Computer Network Security Fall 2014 Nitesh Saxena
C Programming Lecture 1 : Introduction
JAVA An Introduction to Java OOP Basics
Introduction to Objects & Classes
CS 250, Discrete Structures, Fall 2014 Nitesh Saxena
ECE 445: Lecture 3 Prof. Arne Fliflet Prof. Casey Smith
C Programming Lecture 1 : Introduction
C Programming Lecture 0 : Introduction
CSSE463: Image Recognition Day 16
CSE 115 September 12, 2008.
Announcements Quiz 5: grades and solution posted
Jeff West - Quiz Section 16
Computer Networks CNT5106C
CS 200 More Classes Jim Williams, PhD.
Homework Do Now: Agenda Wednesday March 7, 2018 Objectives: none
Inspiring Enterprise Challenge 2019
CSSE463: Image Recognition Day 16
Board of Directors Meeting March 3, 2016
CE 3500 Transportation Engineering Introduction to Roadway Safety
BIT116: Scripting Arrays.
Code examples MakingCircles.java Circle.java Loopy.java
CS 336/536: Computer Network Security Fall 2014 Nitesh Saxena
CS 336/536: Computer Network Security Fall 2015 Nitesh Saxena
CS 250, Discrete Structures, Fall 2015 Nitesh Saxena
CS 250, Discrete Structures, Fall 2015 Nitesh Saxena
AME Spring Lecture 11 - Thrust and aircraft range
TA: Nouf Al-Harbi NoufNaief.net :::
Course overview Lecture : Juan Carlos Niebles and Ranjay Krishna
Presentation transcript:

Introduction to Classes and Objects Shirley Moore CS 1401 Spring 2013 cs1401spring2013.pbworks.com April 23, 2013

Agenda Announcements Finish More Array Fun exercise Introduction to Objects and Classes

Announcements UTEP STEM Career Day today – day.utep.edu/ day.utep.edu/ Women in Engineering (WIN) networking meeting, Thursday, April 25, 4-6pm, Eng E226 Exam 3 on Thursday, April 25 – Practice problems on course website under Lectures Extra Exam 3 Review with Peer Leaders – CCSB Tue 4/23 and Wed 4/24, 3-4pm Lab 8 (Algorithm Analysis) due today Unit 4 Plan posted on course website

Classes and Objects A class defines the properties (data fields) and behaviors (methods) for objects. Unified Modeling Languages (UML) – Standardizes class and object diagrams An object is an instantiation of a class.

Example: Circle Class and Objects Circle radius: double Circle() Circle(newRadius: double) getArea(): double getCircumference(): double getRadius(): double setRadius(newRadius: double): void Class name  Data fields  Constructors and methods  circle1: Circle radius = 1.0 circle3: Circle radius = 12.8 circle2: Circle radius = 7.5