ProgrammingTools - Computer Programming Techniques - Lecture Slides, Slides of Computer Engineering and Programming

Some concept of Computer Programming Techniques are Tree Example, Self-Documenting Code, Programming tools, Program Design Language, Pointers Structs, Introduction Pointers, Data Structures and Operations, Data Abstraction. key points of this lecture are: Programming tools, Common Graphical, Graphical Notations, Jackson Structured, Housekeeping, Rearrange Bubbles, Between Higher, Abstraction, Check Consistency, Code Directly

Typology: Slides

2012/2013

Uploaded on 04/25/2013

obesix
obesix 🇺🇸

4.3

(19)

237 documents

1 / 13

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
1
ProgrammingTools
Docsity.com
pf3
pf4
pf5
pf8
pf9
pfa
pfd

Partial preview of the text

Download ProgrammingTools - Computer Programming Techniques - Lecture Slides and more Slides Computer Engineering and Programming in PDF only on Docsity!

1

ProgrammingTools

2

A Quote

A dog might be man’s

best friend,

but a few good tools

are a programmer’s

best friends.

4

Source-code Tools: Editing

 Editors

  • syntax checks, search and replace, multi-level undo, etc.

 Multiple-file string changers

– AWK

 File comparators

 Source-code beautifiers

 Templates

  • automatically creating skeleton of your programs

5

Source-code Tools: Browsing

 Helps you find what you look for more easily

 Multiple-file string searchers

  • grep ”[ [0-9] *]” *.c (Look for magic numbers)

 Cross-reference tools

  • look for variable and routine names in all places at once

 Call-structure generator

  • produce information about how routines call each other
  • useful for packaging a program into modules, debugging.

7

Tools: Restructuring Source Code

 Code translators

  • Translate from one language to another

 Version Control

  • Track different versions of modules, routines

 Data Dictionaries

  • Keeping track of thousands of variable names on a larger project

8

Code Creation Tools

 Linkers

  • links one or more object files with the standard code to make executable programs

 Code Libraries

  • something you can buy (in many cases cheaper and perhaps better-quality than coding them yourself)
  • multimedia application creation, networking, graphics functions, mathematical operations, data compression, etc.

 Code generator

  • esp. on user interface and database
  • the prime examples are Borland Builder Series

10

Debugging Tools

 Compiler warning messages

 File comparators

 Interactive debuggers

  • Watch, Breakpoint, Jump, etc

11

Testing

 Results comparators

 Automated test generators

 Test-case record and playback utilities

 Coverage monitors (logic analyzer, execution

profilers)

 etc.

13

Building your own programming tools

 Project-specific tools

  • An insurance company developed software to calculate its rate increases. Hundreds of computed rate needs to be checked carefully. Checking for errors by hand take a long time. They wrote another software to check the main program’s rates.
  • Microsoft planned to use a new font technology. Software was developed to check whether errors are in the font data or software.

 Scripts

  • automate something repetitive