CS 4710 Lab - PowerPoint PPT Presentation

1 / 15
About This Presentation
Title:

CS 4710 Lab

Description:

Thursdays - Lab in French Building. Text - Beginning Perl for Bioinformatics. Topics ... Thursday. Assignment. Read Chapter 3 and Chapter 4 to page 40. ... – PowerPoint PPT presentation

Number of Views:20
Avg rating:3.0/5.0
Slides: 16
Provided by: darlene79
Category:
Tags: lab | thursdays

less

Transcript and Presenter's Notes

Title: CS 4710 Lab


1
CS 4710 Lab
  • August 27, 2002

2
Introductions
  • Heather Mahaney
  • PhD student in the CoC
  • Office CRB 367
  • Office Hours MWF 1-2 CoC commons?
  • mahaneyh_at_cc.gatech.edu

3
What to expect
  • Tuesdays - Lecture in CoC 102
  • Thursdays - Lab in French Building
  • Text - Beginning Perl for Bioinformatics
  • Topics
  • Basic programming in Perl
  • Software Engineering Principles
  • Web Design in HTML
  • Unix

4
Computer Science Biology
  • Computation
  • Analysis
  • Simulation
  • Storage
  • Searching
  • Robotics
  • Programming

5
Programming Languages
  • Set of rules used to program a computer
  • Syntax - how commands are formed
  • Semantics - what the commands mean
  • Types of commands
  • Statements - evaluated for effect
  • Expressions - evaluated for value

6
Programming Languages
  • How does it work?
  • Source Code
  • Interpreters
  • Machine Language

7
Programming
  • Programming is a process!
  • Identify the problem
  • Design the program
  • Write the code
  • Run and Test the program
  • Evaluate and Edit the result

8
Goals
  • Programmers want their programs to be
  • Clearly coded
  • Efficient
  • Fast
  • Robust
  • Easy to test
  • Easy to use
  • What the user asked for

9
The Problem
  • What tasks should the program perform?
  • Who is the program being designed for?
  • How is it going to be used?

10
The Design
  • A plan for your program
  • Inputs
  • What values does the program need ?
  • How does the program get the values?
  • Algorithm - set of instructions used to solve a
    specific problem
  • Pseudocode - informal program in English
  • Outputs
  • What do you want to display?
  • How should it be displayed?

11
Programming Conventions
  • Break the problem into procedures or tasks
  • small
  • independently testable
  • interconnecting

12
Programming Conventions
  • Comments
  • Text in a program meant to give information about
    the code
  • Ignored by the interpreter
  • In Perl comments follow the

13
Programming Conventions
  • Variables
  • Store a value
  • number
  • string
  • object
  • Constant or changing
  • Naming
  • Describe what the variable is doing
  • Start with a character but may include digits

14
Why use Perl?
  • Easy to learn
  • Analyzing and manipulating sequences
  • Quick to program
  • Platform independent

15
Thursday
  • Assignment
  • Read Chapter 3 and Chapter 4 to page 40.
  • Visit the Perl website, www.perl.com, and
    download Perl onto your computer
Write a Comment
User Comments (0)
About PowerShow.com