Southern New Hampshire University

CS-110: Fundamentals of Programming

A study guide to SNHU's first programming course: variables, data types, decisions, loops, subprograms and arrays, learned by building small applications.

Updated October 2026 · 5 min read

CS-110 is Southern New Hampshire University's course for learning to program from the ground up, with no previous coding experience assumed.

SNHU's catalog describes it as covering the fundamentals of programming using a modern programming language. Students are introduced to data types, variables, decision statements, iterative statements, subprograms and parameter passing, and arrays, and gain problem-solving skills by developing many simple computer applications. It is a 3-credit undergraduate course with no listed prerequisite.

The hardest part is rarely syntax. It is learning to break a problem into small, precise steps a computer can follow, then finding out why the program does something different from what you meant.

Course at a Glance

ItemDetails
UniversitySouthern New Hampshire University (SNHU)
Course codeCS-110
LevelUndergraduate, 3 credits
PrerequisiteNone listed
Leads toListed as a prerequisite option for CS-328 and CS-331
Typical workSmall programs, debugging exercises, short explanations of code

What CS-110 Covers

TopicIn plain language
Data types and variablesNamed storage for numbers, text and true/false values
Decision statementsif/else logic that chooses what to do
Iterative statementsLoops that repeat steps
Subprograms and parametersFunctions that take inputs and return results
ArraysLists of values handled together

Key Concepts Explained

The examples below use Python-style code for readability; your section may use a different language, but the ideas carry over.

Decisions

A decision statement tests a condition and runs one block or another. Order matters when conditions overlap.

Example: grading a score.

if score >= 90:
    grade = "A"
elif score >= 80:
    grade = "B"
else:
    grade = "C or below"

If the check for 80 came first, a score of 95 would wrongly get a B.

Loops and Accumulators

Many beginner problems combine a loop with a running total or counter.

Example: averaging five test scores.

total = 0
for s in scores:
    total = total + s
avg = total / len(scores)

The total starts at zero before the loop; resetting it inside the loop is a classic bug.

Subprograms and Parameter Passing

A function packages a task so you can reuse and test it. Parameters carry data in; a return value carries the result out.

Example:

def area(width, height):
    return width * height

print(area(3, 4))  # 12

Arrays

Arrays (or lists) hold many values under one name, accessed by index. In most languages the first index is 0, so the last item in a list of five is at index 4.

A Reliable Way to Write Any CS-110 Program

  1. Restate the problem: inputs, outputs and rules in your own words.
  2. Work one example by hand: if you cannot do it on paper, the computer cannot either.
  3. Write pseudocode: plain-language steps before real code.
  4. Code a little, run a little: test after every few lines.
  5. Test edge cases: zero, negative numbers, empty input, the largest value.
  6. Comment and tidy: clear names and short comments explaining why.

Typical Assignments and How to Approach Them

Assignment typeWhat it testsHow to approach it
Short programsUsing one concept correctlyStart from pseudocode and test with sample inputs
Debugging tasksReading and fixing codeTrace values line by line or add print statements
Explanations of codeUnderstanding, not copyingDescribe what each part does and why

Worked Example: From Problem to Program

Here is how the method above plays out on a typical beginner task: "Ask the user for five temperatures and report the highest, the lowest and how many were below freezing."

temps = read five numbers
high = temps[0]
low = temps[0]
below = 0
for t in temps:
    if t > high: high = t
    if t < low: low = t
    if t < 0: below += 1

Starting high and low at the first value (rather than 0) means the program still works when every temperature is negative.

Where Students Get Stuck

Study Tips for CS-110

How We Help with CS-110

Send the assignment prompt, starter files, your current code and any feedback. A programming tutor can explain concepts, walk through debugging with you or prepare a commented custom solution to study. We explain the reasoning so you can write your own code.

GradeEssays is independent of Southern New Hampshire University. Our work is tutoring and reference help: you write and submit your own code under SNHU's academic integrity policy. Every order is prepared from scratch, with free revisions within the scope of your original request.

Make Sense of Your CS-110 Work

Share the prompt, starter files and feedback. A programmer prepares a commented custom solution you can learn from.

Start My CS-110 Help

Free revisions · Full refund if late · Written from scratch for your order

Frequently Asked Questions

Does CS-110 require previous programming experience?

No. SNHU lists no prerequisite, and the course starts from basic concepts.

Which programming language does CS-110 use?

SNHU's catalog says "a modern programming language" without naming one. Check your course materials for the language used in your term.

How many credits is CS-110?

SNHU lists CS-110 as a 3-credit undergraduate course.

What courses come after CS-110?

The catalog lists CS-110 as one prerequisite option for CS-328 Embedded Systems and CS-331 Computer Security.

How should I debug a program that runs but gives wrong answers?

Trace a small example by hand and compare it with the program's values at each step, using print statements or a debugger.

Can you write my CS-110 code for me to submit?

No. We provide tutoring, explanations and custom solutions for study; you submit your own work.