110 likes | 261 Views
Computer Programming 1. Course Overview. Course Outline. Problem solving and programming Programming languages The C Language Statements Basic input/output (I/O) Variables Control flow Subprograms (functions) File I/O Lists (arrays) Records Testing and debugging.
E N D
Computer Programming 1 Course Overview
Course Outline • Problem solving and programming • Programming languages • The C Language • Statements • Basic input/output (I/O) • Variables • Control flow • Subprograms (functions) • File I/O • Lists (arrays) • Records • Testing and debugging
Course Outline • We will look at simple examples of concepts and revisit them again at later stages to look at them in more detail • Fundamental point is Learning to program requires lots of practice – you must write many small programs to become proficient
Course Outcomes • At the end of this course, you should be able to: • Write C programs that demonstrate excellent understanding of • Conditionals • Loops • File and terminal I/O • Arrays • Records • Document programs and write programs conforming to clear programming style • Test and debug programs
Course Material • Slides & Examples: • All slides and examples will be available via the course website. • Textbook: The C Programming Language • Authors: Brian Kernighan & Dennis Richie • Publisher: Prentice Hall, 1988 • Downloadable from the course website
Course Assessment • Continuous Assessment: 60% • Programming Portfolio 20% • 100+ C programs • Weekly Exercises 40% • Subset of C programs submitted for assessment via the course website. • End of Semester Examination: 40% • Written examination that will cover various topics from the course.
Programming Portfolio • A folder containing programs written in C. • The folder should contain a “table of contents” file which lists the name and purpose of every file in the portfolio. • All programs must: • Be fully documented • Use the course style guidelines (see style.c) • Show that you understand the course topics • Be stored in a folder on your computer and backed up to a BDIC server and a USB Stick. • You will be required to submit this portfolio at the end of the course.
Initial Tasks • Install the C compiler • See supplied notes • Install Notepad++ • See supplied notes • Setup Portfolio folder: • Create a folder called “Portfolio” and create a subfolder called “week1”. • Write and compile our first C program: • Create a file called helloworld.c and store it in the “week1” folder.