CSC1110 - Introduction to Computer Science I

From Maryville College CS Wiki
Jump to: navigation, search

Course Information

Code CSC1110
Name Introduction to Computer Science I
Credit(s) 3
Prerequisites Mathematics 105 or satisfactory performance on the mathematics placement examination
Offered Every Semester
Catalog Description An introduction to computer science and structured programming with emphasis on program design and implementation, debugging, documentation, and programming projects. Laboratory work supplements and expands lecture topics and offers supervised practice using programming.
Syllabus Fall 2015 Syllabus
Other Offerings Intro CS I/offerings

This page is for the Fall 2015 offering of the course. For other iterations, please see the course's offerings page.

Lecture Notes and Example Code

  1. Introduction and First Lecture In this lecture, we took a look at the syllabus and looked at the basics of writing a C++ program. It may have even been mildly traumatic, but I suppose that goes with the subject. It will get better, I promise! Have a look at the sample programs and notes and we will practice more on Tuesday.
  2. More exploration of Types and Operations In this lecture, we explored what you can do with variables and simple arithmetic. Most of the time was spent with the class generating code to solve a problem.
  3. Introduction to Branches and Loops In this lecture, we explored basic program logic through if branches, relational operators, equality operators, and the while loop. Now you can theoretically code anything! (Though the rest of the course will make it a lot easier.)
  4. Guessing Game In this lecture we, as a class, wrote a guessing game program. We also had a few little examples demonstrating some of the more esoteric operators in C++.
  5. Menus and Switches Some ways of coping with menus.
  6. Eating Elephants We looked at a way to deal with complexity and wrote a pretty lengthy program together.
  7. Midterm Review The review questions for the midterm exam.
  8. DNA Code The DNA code along with .h, .cpp, and makefiles
  9. Files Some basic handling of text files and streams.
  10. Vectors Examples of using vectors.
  11. Objects Examples of defining classes and using objects.
  12. Sorting Part 1 Our first look at sorting and operator overloading. Critical stuff for sheep based projects!
  13. Final Review The review questions for the final exam.

Labs

  1. Lab 1 In this lab we introduce the MC Live key, linux, text editors, and compilation.
  2. Lab 2 This lab presents some information for optional configuration of the various text editors from lab 1. I would recommend that you do this lab before you do the first programming assignment, but it is completely optional. If nothing else, give it a glance so you can learn how to customize your text editors.
  3. Lab 3 This lab will help you practice using if statements to make your programs more powerful.
  4. Lab 4 In this lab you will write a little point of sale system for some strange business owners. You'll also get to play with text formatting and learn about strings and constants.
  5. Lab 5 In this lab you will learn all about Roman Numerals and their connection to sheep!
  6. Lab 6 Learn to do code katas, and then code until your fingers are numb!
  7. Lab 7 Squish bugs!
  8. Lab 8 Trillium Sells Out! A slightly disturbing story of law and code.
  9. Lab 9 Show Reg & Stan that a computer really can store a sheep!

Programming Assignments

  1. Program 1 Your first time flying solo. Enjoy!
  2. Program 2 Let's improve the barometer program, and make it more "all-inclusive" by embracing other units of measurement. We'll also add code to work the problem backwards. That is, tell how long it would take a barometer to fall from a building given the building's height.
  3. Program 3 After this assignment you will be an expert at iomanip! (Not that iomanip is hard, mind you, but still it is nice to be an expert at something.)
  4. Program 4 Delve deeper into the ancient sheep trade than you have ever dreamed you would! Help Reg and Stan trade sheep with disparate cultures with disparate number systems!
  5. Program 5 Your last program :*(. Here you will produce a flurry of code and frustration in the hopes that you will be able to help Reg and Stan ship sheep. There are also some ideas for how you can continue your studies after the semester ends.

Subpages for this Course