CS313T ADVANCED PROGRAMMING LANGUAGE Computer Science department Lecture 1 : Introduction
Lecture Contents 2 Course Info. Course objectives Course plan Books and references Assessment methods and grading Course Material Visual Studio C# First program
Course Objectives 3 By the end of this course the students will be able to: Implement and modify C# programs based on objectoriented programming concepts such as classes, inheritance, polymorphism, overloading, indexers, and exception handling. Develop windows applications using the.net programming environment. Use the ADO.NET Entity Data Model to establish connections with and manage Transactions of Databases.
Course prerequisite 4 CS 111D is the course prerequisite of CS 313D. The notions and concepts that should be known are: Objects & Classes Composition Inheritance Inheritance hierarchy Arrays and ArrayList, Arrays of objects Polymorphism Abstract classes and methods Interfaces Exception Handling dr. MH, Autumn 17
Course plan 5 1 2 3 4 5 6 7 Week date 02/09/2018 22/12/1439 09/09/2018 29/12/1439 16/09/2018 06/01/1440 23/09/2018 13/01/1440 30/09/2018 20/01/1440 07/10/2018 27/01/1440 14/10/2018 05/02/1440 Lecture 1: Introduction Topic Lecture 2: C# Language Basics (I) Lecture 3: C# Language Basics (II) Lecture 4: Object-Oriented Programming (I) - Classes & Objects Lecture 5: Object-Oriented Programming (II) - Inheritance & Polymorphism Lecture 6: Object-Oriented Programming (III) - Abstraction Lecture 7: GUI and event handling (or revision) & Midterm Exam 1 dr. IF, fall 18
Course plan 6 8 9 10 11 12 13 14 15 Week date 21/10/2018 12/02/1440 28/10/2018 19/02/1440 04/11/2018 26/02/1440 11/11/2018 03/03/1440 18/11/2018 10/03/1440 25/11/2018 17/03/2018 02/12/2018 24/03/1440 09/12/2018 02/04/1440 Topic Lecture 8: Collections and Non-generic collections Lecture 8 Lecture 9: Generics & generic Collections Lecture 9 Lecture 10: LINQ & Mid-term Exam 2 Lecture 10 Lecture 11: Connection to databases Lecture 11 dr. IF, fall 18
Books and references 7
Assessment methods and grading This assessment can be subject of changes 8 dr. MH, Autumn17
Labs, assignments, Project 9 Lab handouts Weekly assignments Term project group work Specific ideas Evaluation criteria Individual vs. group evaluation
Course material 10 Course material: Blackboard system & blog Activate your account!!! emails, announcements, lecture notes, lab material
11 The Visual Studio 2012 IDE enables you to write, run, test and debug C# programs quickly and conveniently. http://www.visualstudio.com/
What is Computer Programming? 12 Planning or scheduling a sequence of steps for a computer to follow to perform a task. Basically, telling a computer what to do and how to do it. A program: A sequence of steps to be performed by a computer. Expressed in a computer language.
Computer Languages 13 A set of Symbols (punctuation), Special words or keywords (vocabulary), And rules (grammar) used to construct a program.
Evolution of Programming Languages 14 Languages differ in Size (or complexity) Readability Expressivity (or writability) "Level" closeness to instructions for the CPU
High-Level Languages 15 Closer to natural language Each step maps to several machine language instructions Compiler: A program that translates a program written in a high-level language into the equivalent machine language.
Console application 16 Saved in File ClassName.cs using directive System namespace main?? Keywords case sensitive Braces Strings
Example 1 17 comments A class name is an identifier Series of letters, digits and ( _ ), cannot begin with a digit, and does not contain spaces.
Example2 18 Modify the code to display each word in a separate line
Example 3 19 format string fixed text and format items. placeholder
20 Formatting text with Escape sequences
21 That s all chapter 1 : pages 1-10 chapter 3 : 3.1, 3.2, 3.4, 3.5