1 / 13

Computer Programming ||

Computer Programming ||. Chapter 1: Introduction & OOP. Contents. About Lecturer. Description of course. Syllabus. Evaluation. Principles of OOP. Practice of (Array of students). Project of (Array of cars). About Lecturer. Mahmoud Rafeek Alfarra Certificates:

tibor
Download Presentation

Computer Programming ||

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Computer Programming || Chapter 1: Introduction & OOP

  2. Contents About Lecturer Description of course Syllabus Evaluation Principles of OOP Practice of (Array of students) Project of (Array of cars)

  3. About Lecturer • MahmoudRafeekAlfarra • Certificates: • MSc Computer Science,2008, Pattern Recognition, AAST, Alexandria, Egypt. • BSc Computer Science,2004, The Islamic University of Gaza, Palestine. • Currently : • Head Of Continuing Education and Community Service (CECS) department. • Lecturer in Computer Science & Information Technology (CSIT) department. • Board member of PICTA • Past: • Head Computer Science & Information Technology (CSIT) department in CST (9-2012 To 9-2013). • Head Of Computer Center in CST (9-2009 To 10-2010) • Head of ITF1, ITF2 and ITF3 • Lecturer in QOU, UP, CST and UCAS as Part Time • Contacts: • E-mail: m.farra@cst.psSite: http://www.cst.ps/staff/mfarra • YouTube channel: mralfarra1FaceBook Page: mahmoudRfarra

  4. Syllabus • Revision of OOP • Exception Handling • String manipulation • Regular expression • Files and Streams • Connect applications with DBMS • Streams-Based Sockets and Datagrams

  5. Evaluation

  6. Principles of OOP • To have a fine definition of OOP, Please note what you are showing in your class room now? • Nice, what is the properties and behavior of each of them ? • This is the OOP style. # of legs Type of material Color . . . Chairs Tables Teacher PCs . .

  7. Principles of OOP OOP Encapsulation Abstraction Polymorphism Inheritance

  8. Principles of OOP • Class & Object • In your class room there is … tables, chairs, students. • Each one of them is object from class.

  9. Principles of OOP Attributes Each one is presented as a variable in the Class Behavior Any Thing Each one is presented as a method in the Class

  10. Principles of OOP Is a reserved word The identifier of class Must be as any variable Access_modifiersclassclass_name { // variables = attributes Access_modifiersclass_name() { } // behavior = methods } Always, the class has a method called constructor which gives initial values to the attributes of class

  11. Practice of (Array of students) Name Id GPA Course[,] Array of Student Student addCourse info calcGpa …

  12. Project of (car park) Name Id Model Price Login Logout ….. attributes Car Car park behavior CalcPeriod CalcFare info … … Join the discussion on Sunday 6.10.2013

  13. Thank You !

More Related