Operating Systems Session 1. Contact details TA: Alexander(Sasha) Apartsin ◦ ◦ Office hours: TA: Sasha Alperovich.

Slides:



Advertisements
Similar presentations
CS150 Introduction to Computer Science 1 Professor: Chadd Williams.
Advertisements

Programming The Development Environment and Your First C Program.
CSC 171 – FALL 2004 COMPUTER PROGRAMMING LECTURE 0 ADMINISTRATION.
Course Introduction and Getting Started with C 1 USF - COP C for Engineers Summer 2008.
COMP 14 – 02: Introduction to Programming Andrew Leaver-Fay August 31, 2005 Monday/Wednesday 3-4:15 pm Peabody 217 Friday 3-3:50pm Peabody 217.
OS Spring’04 Introduction Operating Systems Spring 2004.
©2001 Chariot Software Group Using MicroGrade Classroom Management Software.
Recitation 1 Programming for Engineers in Python.
Spring 2008 Mark Fontenot CSE 1341 Principles of Computer Science I Note Set 1 1.
1 CSE 2341 Object Oriented Programming with C++ Note Set #1.
Computer Science 2211b Software Tools and Systems Programming.
CS105 Lab 1 – Introduction Section: ??? TA: ??? ??? Announcements CITES Accounts Compass Netfiles Other Administrative Information CS105 Fall
Welcome to CS 3260 Dennis A. Fairclough. Overview Course Canvas Web Site Course Materials Lab Assignments Homework Grading Exams Withdrawing from Class.
Computer Science 2211b Software Tools and Systems Programming.
Week 1 : Introduction to Lab.
Instructor: Tina Tian. About me Office: RLC 203A Office Hours: Wednesday 1:30 - 4:30 PM or .
Course Introduction Software Engineering
CST 229 Introduction to Grammars Dr. Sherry Yang Room 213 (503)
Welcome to IIT and cs115!.
1 Agenda Administration Background Our first C program Working environment Exercise Memory and Variables.
1 Project Information and Acceptance Testing Integrating Your Code Final Code Submission Acceptance Testing Other Advice and Reminders.
MIS 300: Introduction to Management Information Systems Yong Choi School of Business Administration CSU, Bakersfield.
Operating Systems 作業系統 熊博安 國立中正大學資訊工程學系 EA-101, EA001.
CGS-2531 Problem Solving with Computer Software Course home page: Course.
CS 114 – Class 02 Topics  Computer programs  Using the compiler Assignments  Read pages for Thursday.  We will go to the lab on Thursday.
1 Object Oriented Design COP 3331 Spring 2011 MWF 11:50 AM – 12:40 PM CHE 103 Instructor:Dr. Rollins Turner Dept. of Computer Science and Engineering ENB.
CST 320 Compiler Methods Dr. Sherry Yang PV 171 (541)
1 ITI 1120 Lab # 1 An Introduction to the Lab Environment Contributors: G. Arbez, M. Eid, D. Inkpen, A. Williams, D. Amyot.
1 Software Systems Development CEN Spring 2011 TR 12:30 PM – 1:45 PM ENB 116 Instructor:Dr. Rollins Turner Dept. of Computer Science and Engineering.
CS 390 Unix Programming Summer Unix Programming - CS 3902 Course Details Online Information Please check.
Dr. David A. Gaitros MCH 103 Research Associate, Department of Computer Science.
1 WELCOME TO COMPUTER SCIENCE 1027b COMPUTER SCIENCE FUNDAMENTALS II Lecturers: Eric Schost (001) John Barron (002)
Operating Systems Session 1. Contact details TA: Alexander(Sasha) Apartsin ◦ ◦ Office hours: Homepage:
CT 1503 Network Operating Systems Instructor: Dr. Najla Al-Nabhan 2014.
Principles of Computer Science I Honors Section Note Set 1 CSE 1341 – H 1.
N from what language did C++ originate? n what’s input, output device? n what’s main memory, memory location, memory address? n what’s a program, data?
CIT 383: Administrative ScriptingSlide #1 CIT 383: Administrative Scripting Introduction.
1 Getting Started with C++. 2 Objective You will be able to create, compile, and run a very simple C++ program on Windows, using Visual Studio 2008.
Dissecting the Windows CE Build Process James Y. Wilson Principal Engineer, Windows Embedded MVP CalAmp, Inc. James Y. Wilson Principal Engineer, Windows.
CMSC 2021 CMSC 202 Computer Science II for Majors Spring 2001 Sections Ms. Susan Mitchell.
CMSC 2021 CMSC 202 Computer Science II for Majors Spring 2003 Mr. Frey (0101 – 0104) Mr. Raouf (0201 – 0204)
1 Introduction to C Programming 計算機程式設計 2/22/2012 朱浩華.
MGS 351 Introduction to Management Information Systems Lecture #1.
Helping Students Use Turnitin.com Lillie Craton Lander University Fall 2012.
Win32 Programming Lesson 19: Introduction to DLLs.
COP4020 INTRODUCTION FALL COURSE DESCRIPTION Programming Languages introduces the fundamentals of the design and implementation of programming languages.
Course Information CSE 2031 Fall Instructor U. T. Nguyen /new-yen/ Office: CSEB Office hours:  Tuesday,
EMIS 8373 Course Policies Updated 9 January 2007.
Operating Systems CMPSC 473 Introduction and Overview August 24, Lecture 1 Instructor: Bhuvan Urgaonkar.
Administrative Preliminaries Computer Architecture.
Course Information CSE 2031 Fall Instructor U.T. Nguyen Office: CSE Home page:
1 Project 4: Venue Sort. 2 This project is an exercise in Using C++ strings. Operator overloading. Text File Input.
Syllabus Highlights CSE 1310 – Introduction to Computers and Programming Alexandra Stefan University of Texas at Arlington 1.
Course Information EECS 2031 Fall Instructor Uyen Trang (U.T.) Nguyen Office: LAS Office hours: 
W4118 Operating Systems Junfeng Yang. What this course is about  Fundamental OS concepts  OS: one of the most crucial, almost everything thru OS  What?
CMPT 201 Computer Science II for Engineers
Course Information EECS 2031 – Section A Fall 2017.
Computer Terms Review from what language did C++ originate?
ECE Application Programming
CSE 3322 Computer Architecture
The Development Environment and Your First C Program
WEB 1700 General Education Course: Micro-Computer Applications
Introduction and Overview
Week 1 Gates Introduction to Information Technology cosc 010 Week 1 Gates
Administrative things
Accelerated Introduction to Computer Science
Course Information EECS 2031 Fall 2016.
CT 1311 Visual Basic Programming
Computer Terms Review from what language did C++ originate?
CSCE 206 Lab Structured Programming in C
Presentation transcript:

Operating Systems Session 1

Contact details TA: Alexander(Sasha) Apartsin ◦ ◦ Office hours: TA: Sasha Alperovich ◦ ◦ Office hours: Homepage: Resources: ◦ Everything at: ◦ Everything else at:

Assignments All homework assignments must be performed individually. Submitting and passing all homework assignments is mandatory (for passing the course): ◦ Assignments who got 0 points on some question must resubmit it within one week of grade publication ◦ Exercises without a final grade (a question was missing, project won’t compile) must be resubmitted within a week. ◦ Resubmission: include the original hardcopy with the comments you received and the required corrections The final grade is not affected by the homework grades. The penalty of any late submission (or resubmission) is one point off the final course grade. At least one exercise from the homework assignments will be extremely helpful at the final exam. Administration

Submission guidelines Zip and send code(.h,*.c) by Don’t send binaries/object files Don’t forget to include.vcproj file for Windows exercises Make sure you get a receipt (auto- generated reply ) Submission

Classes Each class will consist of 2 parts: Part I: Review of general OS concept and its Windows/Unix implementation Part II: “On-projector” development/coding of a Windows application which makes use of the presented concept Administration

Windows Development Setup Home ◦ A reasonable PC with XP/Vista ◦ Free Software from MS site:  Visual C Express Edition Visual C Express Edition Visual Studio Lab Administration

Windows Executables EXE :Portable Executable File Format What Windows does when you click on executable file?  Read and parse PE file header  Allocate resources (e.g. memory)  Locate and load libraries (DLL)  Map EXE segments (data, code) to the memory  Setup an environment (e.g. security)  Locate address of start function (main)  Call “main” function Windows Essentials

Command Shell Processor CMD.com Use special window: console window ◦ Makes system calls to read input from console(e.g. “dir” string) ◦ Makes system calls to fetch list of the files in current directory ◦ Makes system calls to print out results In-class examples and assignments will be windows console applications Windows Essentials

Windows Objects & Handles Windows object ◦ Window ◦ Process ◦ Device Handles ◦ Program that uses an object has a handle to it ◦ Multiple handles to the same objects ◦ Permissions can be associated with handle ◦ Reference counting: OS free object’s resources if there are no more handles to it Windows Essentials

Let’s do some programming Windows Development

Win32 files CreateFile ReadFile WriteFile CloseHandle