Sung-Dong Kim Dept. of Computer Engineering, Hansung University Chapter 3 Programming Tools.

Slides:



Advertisements
Similar presentations
.NET Technology. Introduction Overview of.NET What.NET means for Developers, Users and Businesses Two.NET Research Projects:.NET Generics AsmL.
Advertisements

Introduction to .NET Framework
Tahir Nawaz Introduction to.NET Framework. .NET – What Is It? Software platform Language neutral In other words:.NET is not a language (Runtime and a.
Programming In C++ Spring Semester 2013 Programming In C++, Lecture 1
Professional Toolkit V2.0 C:\Presentations - SmartCafe_Prof_V2.0 - bsc page 1 Professional Toolkit 2.0.
Introduction to Programming Lecture 2. Today’s Lecture Software Categories Software Categories System Software System Software Application Software Application.
Systems Software.
Creating a Program In today’s lesson we will look at: what programming is different types of programs how we create a program installing an IDE to get.
History of.Net Introduced by Microsoft Earlier technology was VC++ and VB VC++ comes with so many library and VB was so easy to use and not flexible to.
Fundamentals and a Brief History of Computer Systems.
Engineering Problem Solving With C++ An Object Based Approach Fundamental Concepts Chapter 1 Engineering Problem Solving.
Programming Our First Java Program Yingcai Xiao. What to Do Set up for Java Programming Write our first Java Program with IDE Write our first Java Program.
1 Lecture 1  Getting ready to program  Hardware Model  Software Model  Programming Languages  The C Language  Software Engineering  Programming.
Chapter 10 Application Development. Chapter Goals Describe the application development process and the role of methodologies, models and tools Compare.
Chapter 2 Introduction to Systems Architecture. Chapter goals Discuss the development of automated computing Describe the general capabilities of a computer.
1 An Introduction to Visual Basic Objectives Explain the history of programming languages Define the terminology used in object-oriented programming.
1 Chapter Two Introduction to the Programming Language C.
Platforms and tools for Web Services and Mobile Applications Introduction to C# Bent Thomsen Aalborg University 3rd and 4th of June 2004.
Object Oriented Software Development 1. Introduction to C# and Visual Studio.
Programming In C++ Spring Semester 2013 Programming In C++, Lecture 1.
Introduction 01_intro.ppt
M1G Introduction to Programming 2 4. Enhancing a class:Room.
© Janice Regan, CMPT 128, Jan CMPT 128 Introduction to Computing Science for Engineering Students Creating a program.
COMPUTER SOFTWARE Section 2 “System Software: Computer System Management ” CHAPTER 4 Lecture-6/ T. Nouf Almujally 1.
CSC300 Visual Programming Dr. Craig Reinhart. Objectives Teach the basics of C++ –You won’t be an expert but hopefully a very good novice –GUI development.
Architecture of.NET Framework .NET Framework ٭ Microsoft.NET (pronounced “dot net”) is a software component that runs on the Windows operating.
Introduction to Microsoft.Net Session 01 Mata kuliah: M0874 – Programming II Tahun: 2010.
Introduction to.NET Framework. .NET – What Is It? Software platform Language neutral In other words:.NET is not a language (Runtime and a library for.
Microsoft Visual Basic 2005: Reloaded Second Edition
Copyright © 2012 Pearson Education, Inc. Chapter 1: Introduction to Computers and Programming.
CHAPTER FOUR COMPUTER SOFTWARE.
Introduction to Interactive Media Interactive Media Tools: Software.
Chapter 2: Operating-System Structures. 2.2 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts Chapter 2: Operating-System Structures Operating.
Theory is when you know something, but it doesn't work. Practice is when something works, but you don't know why. Programmers combine theory and practice:
1 Chapter 1 Introduction to Java. 2 History of Java Java Originally for _________________________ devices Then used for creating Web pages with __________________________.
NOTE: To change the image on this slide, select the picture and delete it. Then click the Pictures icon in the placeholder to insert your own image. WEB.
1 3. Computing System Fundamentals 3.1 Language Translators.
Introduction to .NET Framework
Chapter 0 Overview. Why you are here? Where will you go? What is this course for?
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?
LANGUAGE SYSTEMS Chapter Four Modern Programming Languages 1.
Chapter 2 Introduction to Systems Architecture. Chapter goals Discuss the development of automated computing Describe the general capabilities of a computer.
Computing System Fundamentals 3.1 Language Translators.
Bit-DSP-MicrocontrollerTMS320F2812 Texas Instruments Incorporated European Customer Training Center University of Applied Sciences Zwickau (FH)
 Programming - the process of creating computer programs.
CPS120: Introduction to Computer Science Compiling a C++ Program From The Command Line.
© 2012 Pearson Education, Inc. All rights reserved types of Java programs Application – Stand-alone program (run without a web browser) – Relaxed.
Cs423-cotter1 Windows Operating Environment. cs423-cotter2 Windows Operating Environment 32 bit operating environment – Windows XP Microsoft Visual Studio.net,.net2005,
INTRODUCTION CHAPTER #1 Visual Basic.NET. VB.Net General features It is an object oriented language  In the past VB had objects but focus was not placed.
2.1 Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition System Programs (p73) System programs provide a convenient environment.
The Development Process Compilation. Compilation - Dr. Craig A. Struble 2 Programming Process Problem Solving Phase We will spend significant time on.
Chapter 11  Getting ready to program  Hardware Model  Software Model  Programming Languages  Facts about C++  Program Development Process  The Hello-world.
1 1 1 Introduction to Java. 2 History of Java Java – Originally for intelligent consumer-electronic devices – Then used for creating Web pages with dynamic.
نظام المحاضرات الالكترونينظام المحاضرات الالكتروني Computer Software.
Programming 2 Intro to Java Machine code Assembly languages Fortran Basic Pascal Scheme CC++ Java LISP Smalltalk Smalltalk-80.
Chapter 6 Testing and running a solution. Errors X Three types Syntax Logic Run-time.
By Kundang K Juman Hardware & Software. COMP102 Prog. Fundamentals I: Software / Slide 2 l Four components of a computer system: n CPU - central processing.
CHAPTER 3 PROGRAMMING TOOLS & ENVIRONMENT SUNG-DONG KIM DEPT. OF COMPUTER ENGINEERING, HANSUNG UNIVERSITY.
IBM Worklight environment setup 1. Eclipse IDE Multi-purpose integrated development environment (IDE) Open source Supported for Windows, Mac OS X, Linux.
Introduction to Algorithm. What is Algorithm? an algorithm is any well-defined computational procedure that takes some value, or set of values, as input.
Computer System Structures
Tools of the Trade
Introduction to .NET Framework Ch2 – Deitel’s Book
CE-105 Spring 2007 Engr. Faisal ur Rehman
Module 0: Introduction Chapter 2: Getting Started
Module 1: Getting Started
Hardware & Software Programming. COMP102 Prog. Fundamentals I: Software / Slide 2 l Four components of a computer system: n CPU - central processing unit.
Outline Chapter 2 (cont) OS Design OS structure
System Programming By Prof.Naveed Zishan.
Outcome of the Lecture Upon completion of this lecture you will be able to understand Fundamentals and Characteristics of Java Language Basic Terminology.
Presentation transcript:

Sung-Dong Kim Dept. of Computer Engineering, Hansung University Chapter 3 Programming Tools

Editor (1) (2012-1) Fundamentals of Programming Languages 2 Language sensitive editor Visual Studio editor, vi, … VI Two modes Command mode Edit mode On start: command mode ‘Esc’ key: exit from edit mode

Editor (2) (2012-1) Fundamentals of Programming Languages 3 Commands (only in command mode) commands description a append i insert :w store file :q quit edit cw change word dw delete word x delete character …

Translator (1) (2012-1) Fundamentals of Programming Languages 4 Compiler High-level programming language  machine language Preprocessor Convert program source code before compiling Perform macro substitutions #include #define TWO 2 #define MSG “Love is Art”

Translator (2) (2012-1) Fundamentals of Programming Languages 5 Interpreter Translate/execute sentence by sentence Slow execution than compiler Inefficient memory management Flexible programming

Linker (2012-1) Fundamentals of Programming Languages 6 Connect an object program to the code for standard library functions to resources supplied by the OS Integrate separate modules External functions External variables Generate executable code Support modular programming

Loader (2012-1) Fundamentals of Programming Languages 7 Resolve all relocatable addresses relative to a given base (starting) address Make executable code more flexible Loading process Behind the scenes (by OS) In conjunction with linking

Debugger (1) (2012-1) Fundamentals of Programming Languages 8 Find logical errors in the program Functions Tracing Breakpoint Assertion

Debugger (2) (2012-1) Fundamentals of Programming Languages 9 Visual Studio’s debugger F9: breakpoint F5: run program F10: next Shift+F5: quit debugging

Debugger (3) (2012-1) Fundamentals of Programming Languages 10 GDB Compile with –g option Commands commands description run run program break set breakpoint clear clear breakpoint print print variable cont continue program list list program code …

(2012-1) Fundamentals of Programming Languages 11 #include int wib(int no1, int no2) { int result, diff; diff = no1 - no2; result = no1 / diff; return result; }

(2012-1) Fundamentals of Programming Languages 12 int main(int argc, char *argv[]) { int value, div, result, i, total; value = 10; div = 6; total = 0; for(i = 0; i < 10; i++) { result = wib(value, div); total += result; div++; value--; } printf("%d wibed by %d equals %d\n", value, div, total); return 0; }

Configuration Tool (2012-1) Fundamentals of Programming Languages 13 Trace the generation and change of the module Manage the generation of the execution files Project file of Visual Studio Makefile in UNIX

Makefile (2012-1) Fundamentals of Programming Languages 14 Manage dependencies among program files main.c  main.o input.c  input.o add.c  add.o print.c  print.o compile add (final execution file) link

(2012-1) Fundamentals of Programming Languages 15 add : main.o input.o add.o print.o cc –o add main.o input.o add.o print.o main.o : main.c cc –c main.c input.o : input.c cc –c input.c add.o : add.c cc –c add.c print.o : print.c cc –c print.c

(2012-1) Fundamentals of Programming Languages 16 What to do … input.txt getData() input.c addData() add.c printResult() print.c getData() main.c

Visual Studio (1) (2012-1) Fundamentals of Programming Languages 17 IDE (integrated development environment) from Microsoft History 1997: Visual Studio : Visual Studio : Visual Studio.NET Visual Studio.NET 2003 Visual Studio 2005 Visual Studio 2008

Visual Studio (2) (2012-1) Fundamentals of Programming Languages 18 Features Editor with syntax highlighting and code completion Debugger Compilers Tools Project management Code generating wizards

.NET Framework (1) (2012-1) Fundamentals of Programming Languages 19 What is it? Multi-language environment for building, releasing and executing web services and applications Software component that is a part of Microsoft Windows operating systems

.NET Framework (2) (2012-1) Fundamentals of Programming Languages 20 What does it? Have a large library of pre-coded solutions to common program requirements Manage the execution of programs written specifically for the framework

.NET Framework (3) (2012-1) Fundamentals of Programming Languages 21 Inclusion Windows Server 2003 Windows Server 2008 Windows Vista Can be installed on most older versions of Windows

.NET Framework (4) (2012-1) Fundamentals of Programming Languages 22 Components Base Class Library Common Language Runtime New Programming Languages Common Language Specification

.NET Framework (5) (2012-1) Fundamentals of Programming Languages 23 Base Class Library Pre-coded solutions Large range of programming needs in areas including User interface Data access Database connectivity Cryptography Web application development Numeric algorithms Network communications

.NET Framework (5) (2012-1) Fundamentals of Programming Languages 24 Common Language Runtime (CLR) Software environment that manages the program’s runtime requirements Provides the appearance of an application virtual machine  make programmer independent on the specific CPU Provides services Security mechanisms Memory management Exception handling

.NET Framework (6) (2012-1) Fundamentals of Programming Languages 25 New programming languages Visual Basic Visual C++ Visual C# Jscript Visual J#

.NET Framework (7) (2012-1) Fundamentals of Programming Languages 26 Common language specification Common specification of the programming languages Use all capabilities in.NET framework Compatibility among other CLS programming languages

Eclipse (1) (2012-1) Fundamentals of Programming Languages 27 What Software development platform in Java language Java development environment (JDK) + plug-in Features Open source Java development environment

Eclipse (2) (2012-1) Fundamentals of Programming Languages 28 History From IBM Object Technology International (OTI) Nov., 2001: Consortium Jan., 2004: Eclipse foundation (

Eclipse (3) (2012-1) Fundamentals of Programming Languages 29 Release DateVersion Callisto 2006 년 6 월 30 일 3.2 Europa 2007 년 6 월 29 일 3.3 Ganymede 2008 년 6 월 25 일 3.4 Galileo 2009 년 6 월 24 일 3.5 Helios 2010 년 6 월 23 일 3.6 Indigo 2011 년 6 월 22 일 3.7 Juno 2012 년 6 월 27 일 ( 예정 ) 3.8 & 4.2 Kepler 2013 년 6 월 ( 계획 ) 4.xx

Eclipse (4) (2012-1) Fundamentals of Programming Languages 30 Installation Download Eclipse eclipse-SDK win32-x86_32.zip

(2012-1) Fundamentals of Programming Languages 31

(2012-1) Fundamentals of Programming Languages 32

Eclipse (5) (2012-1) Fundamentals of Programming Languages 33 Programming

Eclipse (6) (2012-1) Fundamentals of Programming Languages 34 JRE (java runtime environment)

(2012-1) Fundamentals of Programming Languages 35

Eclipse (7) (2012-1) Fundamentals of Programming Languages 36 Run eclipse

(2012-1) Fundamentals of Programming Languages 37

(2012-1) Fundamentals of Programming Languages 38

(2012-1) Fundamentals of Programming Languages 39

(2012-1) Fundamentals of Programming Languages 40

(2012-1) Fundamentals of Programming Languages 41

(2012-1) Fundamentals of Programming Languages 42

(2012-1) Fundamentals of Programming Languages 43

(2012-1) Fundamentals of Programming Languages 44

(2012-1) Fundamentals of Programming Languages 45

Xcode (1) (2012-1) Fundamentals of Programming Languages 46 IDE in Mac OS

(2012-1) Fundamentals of Programming Languages 47

(2012-1) Fundamentals of Programming Languages 48

(2012-1) Fundamentals of Programming Languages 49

(2012-1) Fundamentals of Programming Languages 50

(2012-1) Fundamentals of Programming Languages 51

(2012-1) Fundamentals of Programming Languages 52

(2012-1) Fundamentals of Programming Languages 53

(2012-1) Fundamentals of Programming Languages 54