Computer Programming

Course Description

This course is designed to give students a realistic introduction to programming.  Students will be able to design, write, and debug a high level program using the Visual Basic programming language.  Emphasis is on structured design, object orientation, Graphical user interface design, and event-driven applications. Good code practices such as commenting, indentation and meaningful variable names are also stressed.

Dual Credit: While enrolled in programming at Del Oro, you will also have the opportunity to enroll in CS10 at CSU Sacramento. At the completion you will have earned 3 college units through Sac State. A transcript of your units is available directly through CSU Sacramento. 
The fee for the class is paid by our district, so it is free for the student
Look at the bottom of this page for paperwork regarding the dual credit.

Course Outline

Object-Oriented Programming

Form design incl. common form tool controls,

Data types (Boolean, integer, double, string,..)

Comments and meaningful variable names

Condition statements (If..then, nested if..then, case,..)

Loops (For..Next, Do..While, Repeat..Until, nested loops)

Arrays (single dimentional)

Procedures, functions, and subroutines


Searching and Sorting (insert/heap, bubble)

External File input/output and database access


Course Outcome: By the completion of this course, the student will:

  1. Understand programming concepts as mentioned above.

  2. Be able to debug a program.

  3. Be able to design a proper visual front for a given program.

  4. Be able to turn a concept into a finished working program.

  5. Understand the logic of computer programming

Assessment:       60% - Programs

                             20% - Code Quizzes and Tests

                            20% - Written Final

Programs do get deleted. If a program has not been checked off by the instructor, you will not get credit for it. Save your work often, using different names.

Key Assignments:

Slot machine program: Design a visual front for a slot machine, then write the code to make it work. Must include at least 3 sets of randomly rotating images, a play button that will be turned on/off depending on whether images are at rest or rotating as well as the availability of credits. The game must include playing credits and win/loose conditions.

High/Low guessing game: Design and program a game where the user has to guess a randomly generated number. The game must have several different levels. The choice of level must dictate what range of random number is generated as well as the number of guesses available.

The form must show the user whether the guess was too high or low, as well as the number of guesses left.

Frogger: Design and program the classic Frogger game. The form must have at least 3 lanes of moving traffic, as well as a lane of moving logs. Students will use loops to move lanes of traffic, keyboard control to move the frog, as well as a user defined function to check if the frog overlaps any traffic. The game must include multiple lives and levels.

Pong/Breakout: Design and program the classic pong or breakout game. The moving ball must change direction depending where on the paddle it hits. In breakout, when the ball hits a target, the target must disappear. The game must have points as well a win/loose condition

Lunar lander: Design and program a game where you must navigate a spaceship through a lunar landscape.  The game must have multible forms, have gravity, safe/non-safe landing zones. The spaceship must spend fuel, as well as having refueling options.

Duck Hunt: Design and program the classic duck hunt game. The hunter must be able to shoot in all directions (180 degrees), and have many bullets in the air at any given time. There must be multiple types of birds flying in random paths. Provide statistics on the screen on shots fired, hit rate, number of different types of birds hit. Assign points and have a win/loose condition.

Memory Game: Design and program a game where you have to remember the location of pairs on images.  The images must be randomly be distributed on a 4x4 grid (or larger), and should have a cover. When you click on a covered image it should be revealed. Click on another image which will be revealed.  If the images match, continue the search, if not, cover the images again. Provide a score as well as levels.

Searching/sorting/external file I/O: students will learn to search through a list as well as sort a list. They will also learn to access and store information in external lists.

Word Guess: Design and program a wheel of fortune type of game. The student will create a list of words to be guessed. Randomly choose a word from the list. Display a number of boxes on the form equal to letters in the word to be guessed. The user should be able to guess individual letters, the whole word, or buy a hint. Use everything you learned about strings to create this game. The game must include a sorted high score list which shall be accessed through an external file.

Expectations: Do a good job. Do more than the minimum. Be polite and inquisitive.


Thomas Stargaard,
Jan 23, 2020, 7:05 AM
Thomas Stargaard,
Aug 23, 2019, 2:38 PM
Thomas Stargaard,
Jan 7, 2020, 11:13 AM
Thomas Stargaard,
Mar 2, 2020, 3:56 PM
Thomas Stargaard,
Jan 13, 2020, 2:04 PM
Thomas Stargaard,
Apr 26, 2019, 9:56 AM
Thomas Stargaard,
Nov 8, 2019, 1:44 PM
Thomas Stargaard,
Jan 29, 2019, 8:25 AM
Thomas Stargaard,
Sep 27, 2018, 11:19 AM