

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
An introduction to the cs112 course offered at yale university, which focuses on teaching elementary and intermediate programming techniques using the c# programming language. Students will learn how to design and code programs effectively, as well as important algorithms and data structures. The course uses microsoft visual studio .net and the .net framework for development. The document also discusses the history and features of c# and java, and the benefits of learning these languages for programming.
Typology: Slides
1 / 3
This page cannot be seen from the preview
Don't miss anything!


Zhong Shao
Department of Computer Science Yale University 314 AK Watson, Phone: 432- Email: [email protected]
2
r Programming is to solve problems using computers
r Programming consists of two steps:
r Programming requires:
3
4
r The goal of cs112 is to learn
r A heavy programming course
r Use Microsoft Visual Studio. NET C# Compiler
r Intended mainly as you first programming course
5
r Program design
r Programming style
r Documentation and comments
6
r Algorithm: a strategy for computing something, e.g.,
r Data structure: a way to store data, e.g.,
r Two are related:
7
r Sun Microsystems corporate research project (1991)
r Intended for intelligent consumer-electronic devices
r Sudden popularity of WWW provides new potential
r Now very widely used
8
r Introduced by Microsoft (June 2000)
r Language- and “platform-” independence
r Executes programs by Common Language Runtime (CLR)
r (Unlike Java) this is mostly Windows (MS) centric
9
r Developed at Microsoft by Anders Hejlsberg et al
r Event driven, object oriented, visual programming language
r Based from C, C++ and Java
r Incorporated into .NET platform
r I ntegrated D esign E nvironment (IDE)
10
r They support so-called safe internet programming
r They are simpler than other object-oriented languages [C++]
r They are safe and robust --- no core dump or dead console
r They have good graphics package
r They are related to C and C++
r They have good client-server and network support
r They are good for your summer job
r However, they are not easy to learn; each has many features …
r Right now, C# has a better buzz than Java
11
r Just like learning any new language
r Syntax: “new words”
r Grammar: how to put them together
r Programming: telling a coherent story
r Library: use plots already written
r Initially overwhelming, but pays off in the end!
r Picking up Java and C++ after C# should be easy!
12
r Textbook : Computing with C# and .NET Framework by Art Gittleman
r Information, assignments, & lecture notes are available on-line.
r Official URL: http://flint.cs.yale.edu/cs
r Course newsgroup: yale.cs.cs
r For help, send email to [email protected] or [email protected]
r Please read online information at least once every two days!