The School of Electrical Engineering and Computer Science

CptS 251: C Programming Language

Catalog Information
Course Number: 
251
Credits: 
3
Pre-Requisites

(can be taken concurrently)

Class Information
Objectives: 

This course provides an introduction to scientific programming using the C programming language and introduces basic data structures. Students will analyze a wide variety of scientific (or engineering) problems, construct appropriate C programs for solving these problems, compile and debug the programs, and, finally, generate desired results by running the executable code.

Structure: 

Lectures will introduce and demonstrate concepts through example programs and illustrations. A weekly help session will be made available to those needing additional instruction.

Topics: 
  • Creating and maintaining files and directories, editing files, compiling and running C programs in Linux.
  • Algorithms, computers, and computer programs.
  • Variables, operators, and expressions.
  • Functions and program structure. Header files. Macro substitutions.
  • Formatted input and output.
  • Flow control: if-else statements, while, for, and do-while loops, etc.
  • Pointers and arrays.
  • Data Structures.
  • Dynamic memory allocation.
  • Vector and Matrix operations.
  • Data files.
Requirements
Textbooks/References: 

Problem Solving and Computation for Scientists and Engineers: An Introduction Using C, Steven R. Lerman, 1993. Prentice Hall, Inc., Upper Saddle River, NJ . ISBN: 0-13-482126-2

Professor/Coordinator: 
Robert Warnick
Contact us: webmaster@eecs.wsu.edu | Telephone: 509 335 6602 Fax: 509 335 3818 | Accessibility | Copyright | Policies
School of Electrical Engineering and Computer Science, PO BOX 642752, Washington State University, Pullman, WA, 99164-2752 USA