CSE 332 Overview and Structure

Slides:



Advertisements
Similar presentations
Chapter 19 Vectors, templates, and exceptions Bjarne Stroustrup
Advertisements

CSE 332: C++ overview CSE 332 Overview and Structure CSE 332 emphasizes studio-based active learning –Introductory lecture material followed by hands-on.
NSF/TCPP Early Adopter Experience at Jackson State University Computer Science Department.
CSCE156: Introduction to Computer Science II Instructor Stephen Scott Website
CSE 784 Software Studio Phil Pratt-Szeliga Fall 2010 Slides Derived From: Dr. Fawcett.
New experiences with teaching Java as a second programming language Ioan Jurca “Politehnica” University of Timisoara/Romania
CSE 425: Intro to Programming Languages and their Design A Few Key Ideas No particular language is a prerequisite for this course –However you should be.
C++ Programming. Table of Contents History What is C++? Development of C++ Standardized C++ What are the features of C++? What is Object Orientation?
CE0825 Object-Oriented Programming 2 © Allan C. Milne Abertay University v
CSE 332: C++ templates This Week C++ Templates –Another form of polymorphism (interface based) –Let you plug different types into reusable code Assigned.
Why Johnny and Jenny Can’t Program in C (But We Could) Dr. Eric Freudenthal Brian A. Carter October 2, 2008.
CSE 425: Data Types II Survey of Common Types I Records –E.g., structs in C++ –If elements are named, a record is projected into its fields (e.g., via.
CSE 425: Data Types I Data and Data Types Data may be more abstract than their representation –E.g., integer (unbounded) vs. 64-bit int (bounded) A language.
E81 CSE 532S: Advanced Multi-Paradigm Software Development Chris Gill Department of Computer Science and Engineering Washington University in St. Louis.
Object Oriented Programming (FIT-II) J. H. Wang Feb. 20, 2009.
Introducing Every CS Major to Parallel Programming: Baby Steps at Ohio State Gagan Agrawal Feng Qin P. Sadayappan.
CPSC 315 Programming Studio Spring 2008 John Keyser.
Overview of C++ Templates
Basic Concepts of Object Orientation Object-Oriented Analysis CIM2566 Bavy LI.
Object Oriented Programming (FIT-II) J. H. Wang Jan. 31, 2008.
ECE 264 Object-Oriented Software Development Instructor: Dr. Honggang Wang Spring 2013 Lecture 1: Introduction.
CSCE 315 Programming Studio Spring 2013 John Keyser.
CPSC 315 Programming Studio Spring 2009 Frank Shipman.
CSE 332: C++ pointers, arrays, and references Overview of Pointers and References Often need to refer to another object –Without making a copy of the object.
Motivation for Generic Programming in C++
Topics to be covered Instruction Execution Characteristics
CSE202 Object Oriented Programing
CSC 222: Computer Programming II
CSc 020: Programming Concepts and Methodology II
INF 212 Analysis of Prog. Langs Final Lecture
Jim Fawcett CSE687 – Object Oriented Design Spring 2015
CSE 332 Overview and Structure
CSC 221: Computer Programming I Spring 2010
PROGRAMMING PARADIGMS
NWEN 243 Network Applications
CSE687 - Object Oriented Design class notes Survey of the C++ Programming Language Jim Fawcett Spring 2004.
Chapter 1 OBJECT-ORIENTED ANALYSIS AND DESIGN
CSC 221: Computer Programming I Fall 2005
OOP What is problem? Solution? OOP
Object-Orientated Programming
CMPE419 Mobile Application Development
COSC051: Computer Science I
Generic Programming Techniques in C++
CSE 332 Overview and Structure
(5 - 1) Object-Oriented Programming (OOP) and C++
Object Oriented Practices
Object Oriented Practices
Chapter 10 Thinking in Objects
Ada – 1983 History’s largest design effort
EECE 310 Software Engineering
CSCE 315 Programming Studio
Object Oriented Practices
Object Oriented Practices
Object Oriented Practices
Programming.
PROGRAMMING PARADIGMS
(5 - 1) Object-Oriented Programming (OOP) and C++
CSE Object Oriented Programing
Overview of Programming Paradigms
CS 2530 Intermediate Computing Dr. Schafer
Overview of C++ Polymorphism
Review B.Ramamurthy 4/6/2019 BR.
Chapter 22 Object-Oriented Systems Analysis and Design and UML
Final Review B.Ramamurthy 5/8/2019 BR.
CS114B Introduction to Computer Science II
CMPE419 Mobile Application Development
CSCE156: Introduction to Computer Science II
CSCE 315 Programming Studio
C++ Object Oriented 1.
From Use Cases to Implementation
Presentation transcript:

CSE 332 Overview and Structure CSE 332 emphasizes studio-based active learning Introductory lecture material followed by hands-on exercises More time in guided exploration than in passive absorption Key insight: different people learn in different ways Our goal is to make many resources available to you Your goal should be to engage those resources actively Professor’s (and teaching assistant’s) role Emphasis on guidance, coaching, discussion Student’s role Emphasis on exploration, peer interaction, teamwork

C++ Language and Paradigms The course focuses a lot on C++ But also on general programming issues it raises C++ is a multi-paradigm language Procedural programming with functions Object-oriented programming with classes Generic programming with templates, typedefs The course structure lets us explore these in parallel Comparison to C Adds higher-level features, keeps lower-level ones Comparison to Java Many similar ideas, but often with different nuances Gives a less abstract view of the underlying platform

How C++ Has Evolved C is a popular language for developing low-level systems software and applications E.g., operating systems like Linux However, it’s difficult to support type safe software reuse without inheritance, etc. E.g., for middleware frameworks like ACE Stroustrup designed C++ with classes/objects But kept procedural parts very similar to C Later, templates (generics) were added With which Stepanov, et al. developed the STL The C++11 and C++14 standards unified all this E.g., adding lambdas, type inference, move semantics

Approach We’ll Take in CSE 332 A key goal is to expand & refine your mental models For C++ mainly, but also for programming in general Notice and try out new ideas, share them, discuss them Challenge your understanding in as may ways as you can If you don’t remember every detail at first, that’s ok We’ll revisit concepts and techniques from different angles Try to refresh your memory early and often Apply what you learn, early and often, towards mastery We’ll work together to build understanding in stages First as a consumer of an approach (can you use it?) Then understanding it thoroughly (when can you use it?) Then as a contributor to the approach (can you expand it?)

Approach We’ll Take, Continued We’ll talk about how/why the tools you’ll use work E.g., how new/delete operators are used by smart pointers Give insight into special cases when new tools are needed Throughout the course, the point is to learn by doing Mini-lectures and readings are intended as preparation Studio exercises build understanding and expertise Lab assignments ask you to apply what you’ve learned 10 years from now, the languages you use may differ I’ve worked in C++, C, Pascal, Java, and x86 assembly But your mastery of procedural/OO/generic ideas will help And, you’ll have a pretty solid grounding in C++ until then

Topic Areas Covered This Semester C++ program basics Variables, types, control statements, development environments C++ functions Parameters, call stack, exceptions C++ memory Addressing, layout, management C++ classes Encapsulation, abstraction, inheritance polymorphism C++ generics Overloading, templates, interface polymorphism , associated types C++ STL Iterators, algorithms, containers, functors