{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Recitation1 - CS180 Recitation 1 Lecture Recap Class Denes...

Info icon This preview shows pages 1–5. Sign up to view the full content.

View Full Document Right Arrow Icon
CS180 Recitation 1 .
Image of page 1

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Lecture Recap I Class I Defines a blueprint for creating ’many’ of a ’kind’. I Allows to store properties common to everyone in a ’class’. I eg: ’Courses offered at Purdue’ I What are the properties common to all Courses? I Object I An instance of the Class I ’CS180 Spring 2012’ is one instance of ’Courses Offered At Purdue’ I For CS180, what are the values for the properties you identified above. I
Image of page 2
Recap contd.. I Properties common to all Courses Used when defining a class I Number of students (What should the ’type’ of this property) I Class Room I Class Timing I Instructor I One instance - ’CS180 Spring 2012’ (Name another ’instance’ of this class) I Values for properties defined above I Number of students: 180 I Class Room: RHPH 172 I Class Timing: 12:30 pm - 1:20 pm - T, R I Another object of this class will have the same properties, but different values for those properties. (MA101, 50, MATH 406, M,W,F 1-1.50)
Image of page 3

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Recap contd I Object Oriented Programming I Programs are modeled as Objects and interactions between them.
Image of page 4
Image of page 5
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern