CSE 222 Systems Programming Introduction Dr. Jim Holten.

Slides:



Advertisements
Similar presentations
Programming for Beginners
Advertisements

Introducing JavaScript
Introduction to PHP MIS 3501, Fall 2014 Jeremy Shafer
The Web Warrior Guide to Web Design Technologies
 2005 Pearson Education, Inc. All rights reserved Introduction.
CSE Spring 2015 INTERMEDIATE PROGRAMMING
CS 351 Introduction Spring 2010 Modeling and Simulation Technologies Dr. Jim Holten.
Working with JavaScript. 2 Objectives Introducing JavaScript Inserting JavaScript into a Web Page File Writing Output to the Web Page Working with Variables.
CS 351 Introduction Spring 2012 Modeling and Simulation Technologies Dr. Jim Holten.
CS31: Introduction to Computer Science I Discussion 1A 4/2/2010 Sungwon Yang
CSC 171 – FALL 2004 COMPUTER PROGRAMMING LECTURE 0 ADMINISTRATION.
XP Tutorial 1 New Perspectives on JavaScript, Comprehensive1 Introducing JavaScript Hiding Addresses from Spammers.
1. 2 Chapter 1 Introduction to Computers, Programs, and Java.
CS190/295 Programming in Python for Life Sciences: Lecture 1 Instructor: Xiaohui Xie University of California, Irvine.
CSE 326: Your Computing Environment Steve Martin Aiman Erbad.
Java Programming, 3e Concepts and Techniques Chapter 2 Creating a Java Application and Applet.
Overview of the Course. Critical Facts Welcome to CISC 672 — Advanced Compiler Construction Instructor: Dr. John Cavazos Office.
Introduction CSE 1310 – Introduction to Computers and Programming
Programming Style and Documentation Objective(s) F To become familiar with Java Style and Documentation Guidelines.
On-Line Course Development in Remote Sensing at Virginia Tech Preparing Students for Careers in Remote Sensing August 2002 J.B. Campbell, R.H. Wynne,
A First Program CSE 1310 – Introduction to Computers and Programming Vassilis Athitsos University of Texas at Arlington Credits: a significant part of.
CS 106 Introduction to Computer Science I 01 / 25 / 2010 Instructor: Michael Eckmann.
Nael Alian Introduction to PHP
Goals of Course Introduction to the programming language C Learn how to program Learn ‘good’ programming practices.
1 Agenda Administration Background Our first C program Working environment Exercise Memory and Variables.
C++ Basics Structure of a Program. C++ Source Code Plain text file Typical file extension .CPP Must compile the C++ source code without errors before.
Creating your first C++ program
History of C 1950 – FORTRAN (Formula Translator) 1959 – COBOL (Common Business Oriented Language) 1971 – Pascal Between Ada.
JAVA BASICS: Variables and References SYNTAX, ERRORS, AND DEBUGGING.
Board Activity Find your seat on the seating chart Login – Remember your login is your first initial your last name and the last three numbers of your.
Lecture 21 CS110 Lecture 2 January 29, 2004 Announcements –hw1 part 1 – due right now –hw1 part 2 – due Tuesday night Questions Agenda –turnin –Object.
/* Documentations */ Pre process / Linking statements Global declarations; main( ) { Local Declarations; Program statements / Executable statements; }
Rossella Lau Lecture 1, DCO10105, Semester B, DCO10105 Object-Oriented Programming and Design  Lecture 1: Introduction What this course is about:
Welcome to CS 115! Introduction to Programming. Class URL Write this down!
Course Introduction Andy Wang COP 4530 / CGS 5425 Fall 2003, Section 4.
Introduction to Programming Lecture No. 1. Program “A precise sequence of steps to solve a particular problem”
Monday, Jan 6, 2003Kate Gregory with material from Deitel and Deitel CO 204 Object Oriented Programming 2003 Trent University Kate Gregory.
CMSC104 Problem Solving and Computer Programming Spring 2009 Sections 0201 & 0301 Ms. Dawn Block.
Overview of Operating Systems Introduction to Operating Systems: Module 0.
A First Program CSE 1310 – Introduction to Computers and Programming Vassilis Athitsos University of Texas at Arlington Credits: a significant part of.
CS 106 Introduction to Computer Science I 01 / 22 / 2007 Instructor: Michael Eckmann.
Threads. Readings r Silberschatz et al : Chapter 4.
Dr. Sajib Datta CSE Spring 2016 INTERMEDIATE PROGRAMMING.
Introduction Chapter 1 1/22/16. Check zyBooks Completion Click on the boxes for each section.
Data Structures and Algorithms in Java AlaaEddin 2012.
Introducing Java Chapter 3 Review. Why Program in Java? Java, is an object-oriented programming language. OOP languages evolved out of the need to better.
CODING VOCABULARY.  Binary  A number system based on 2  Hexadecimal  A number system based on 16  Domain  An internet location registered with the.
CS 106 Introduction to Computer Science I 01 / 22 / 2008 Instructor: Michael Eckmann.
Dr. Sajib Datta Jan 15,  Instructor: Sajib Datta ◦ Office Location: ERB 336 ◦ Address: ◦ Web Site:
CS100Lecture 21 Announcements For homework due Thursday, work alone -- do not work in pairs New class location: Olin 155 Office hour oops! Lyn: MW, 11:15-12:15.
CHAPTER 3 COMPLETING THE PROBLEM- SOLVING PROCESS AND GETTING STARTED WITH C++ An Introduction to Programming with C++ Fifth Edition.
Introduction to GIS PythonScript CGIS-NURIntroduction to ArcGIS II.
CSc 020: Programming Concepts and Methodology II
Topic: Python’s building blocks -> Variables, Values, and Types
Statement atoms The 'atomic' components of a statement are: delimiters (indents, semicolons, etc.); keywords (built into the language); identifiers (names.
CSE1320 INTERMEDIATE PROGRAMMING
CSE1320 INTERMEDIATE PROGRAMMING
CSE1320 INTERMEDIATE PROGRAMMING
CSE1320 INTERMEDIATE PROGRAMMING
CS190/295 Programming in Python for Life Sciences: Lecture 1
Welcome to CS 1010! Algorithmic Problem Solving.
Learning to Program in Python
Programming Vocabulary.
Welcome to CS 1010! Algorithmic Problem Solving.
CSE1320 INTERMEDIATE PROGRAMMING
CSE1320 INTERMEDIATE PROGRAMMING
CSS-304: Computer Systems Interface
CS313T Advanced Programming language
Presentation transcript:

CSE 222 Systems Programming Introduction Dr. Jim Holten

CSE /21/09 Introduction This is Cramer 239 and the class is –CSE 222 – Systems Programming I am: – Dr. Jim Holten Regularly visit the class web site:

CSE /21/09 Problems? Talk to me!! My office hours are in Cramer 210a (or the Fidel Center coffeeshop) on MW at 9:30- 10:30 (right after class) For other times we can arrange a meeting, as I work at ICASA, which is off campus.

CSE /21/09 Attendance Print name Today's date User ID (on TCC systems)‏ Your preferred address for class correspondence

CSE /21/09 Main Course Topics Systems programming skills/habits Systems programming concepts Basic graph theory for use in system design and analysis "Good" software engineering practices

CSE /21/09 Two Guidelines!! Good system engineering habits are ESSENTIAL. –Computers are stupid. They will do exactly what you tell them to, no matter how wrong it is. –Humans make mistakes, and a computer can easily repeat one mistake 10 million times before a human can stop it. Communications are essential –How to build your program from source and run it. –What was your intent, problems encountered, decisions made, workarounds done.

CSE /21/09 Systems Computer programs, one or many Using operating system resources Activating and coordinating multiple processes Activating and coordinating remote processes Concepts and system concerns

CSE /21/09 Programming? Mostly in "C", some in Java and Perl to access system functions Use the TCC for assigned programming to develop a common baseline for all code Extensive use of the "C" systems call library -- and similar libraries for Java and Perl Writing "solid" code Use the defined style guide for all code!

CSE /21/09 Grading Your Programs 1.Did you include a usage guide (UG)? 2.Did you include a journal ("lab notes")? 3.Did you follow the programming style guide and delivery instructions? 4.Did you achieve the assignment goals? a)If not did you document your attempts? b)Are your results in a clear form?

CSE /21/09 Assignment (ID is your user id)‏ Log into (ssh to) the TCC computer "pi" –ssh Perform the command sequence given in assignment MP1. Tar up the required files and them to me.

CSE /21/09 Class Coding Style Highlights Prettyprint indenting Code blocks in curly braces Naming conventions Comments in code

CSE /21/09 Prettyprint Indenting 3 spaces per block level NO tabs for indentation One or part of one statement per line Continuation lines are indented even more

CSE /21/09 Code Blocks in Curly Braces Even a single line after a conditional is a block and should be enclosed. Curly braces, “{“ and “}”, indented same as the enclosed block. No code on the line with either curly brace.

CSE /21/09 Naming Conventions Variables Structs and Classes Functions Macros

CSE /21/09 Variables Lower case Underscores between words

CSE /21/09 Structs and Classes Upper case Underscores between words See the guide for “typedef” naming

CSE /21/09 Functions Mixed case Each word capitalized First “word” may be lowercase to designate module context and for disambiguation

CSE /21/09 Macros Upper case Underscores between words

CSE /21/09 Class Roadmap Time and error handling File I/O Processes and communications Graph Theory review Coordinating multiple processes Distributed and parallel computing concepts

CSE /21/09 Some "C" pointers If you are running in circles because of a problem talk to me (or ). There are many techniques and approaches to solving code problems, but until you have the need, discussing them would bore you to tears.

C Topics of Concern Dynamic allocation/deallocation Pointers vs direct references Linked list manipulation Parsing text strings