Copyright

Ch 7: Fundamentals of Computer Programming

About This Chapter

Refresh your knowledge of the fundamental elements and theorems of computer programming with our helpful overview. This chapter covers the basic rules of programming, various data types, how to write and test a program and more.

Fundamentals of Computer Programming - Chapter Summary

Review the lessons in this chapter for an overview of the basic principles of computer programming, from syntax to debugging. By the end of this chapter, you'll have a better understanding of the different types of data that make up a program, as well as the steps involved in implementation. You'll also see examples of boolean algebra and tips for debugging a program. Each lesson is led by an expert in the field and includes helpful animations to illustrate key points.

After you complete the chapter, you should be able to:

  • Define the five basic elements of programming and how they can work together
  • Understand fundamental logic and syntax
  • Distinguish between approaches to programming, including functional, procedural and object-oriented
  • Summarize the process of writing and testing code using common development tools

Our lessons are available on desktop and mobile so you can study anywhere. Review at your own pace and take advantage of the tools offered in this chapter, including videos with full transcripts and lesson quizzes. At the end of the chapter, you'll have a stronger grasp on the basics of developing, testing and implementing computer programs.

9 Lessons in Chapter 7: Fundamentals of Computer Programming
Test your knowledge with a 30-question chapter practice test
What Is Programming? - Definition & Introduction for Beginning Programmers

1. What Is Programming? - Definition & Introduction for Beginning Programmers

This lesson will give a quick but thorough overview of what programming is, what we need to know to program, and the contents of our programming toolbox.

5 Basic Elements Of Programming

2. 5 Basic Elements Of Programming

There are five basic programming elements, or operations: input, output, arithmetic, conditional, and looping. Every program uses at least two of these. This lesson will describe each one to you and show you examples in simple code.

Programming Logic & Syntax: The Programming Toolbox

3. Programming Logic & Syntax: The Programming Toolbox

A programming language has its own syntax that dictates how words and symbols can be put together to form a program. Learn about programming's use of statements, variables and keywords in this video lesson.

Boolean Algebra: Rules, Theorems, Properties & Examples

4. Boolean Algebra: Rules, Theorems, Properties & Examples

In this lesson you will discover and use the rules of Boolean algebra to simplify Boolean expressions (statements that are either True or False). The Rules of Boolean algebra are given in a table, and a few examples show how to use them.

Data Types in Programming: Numbers, Strings and Others

5. Data Types in Programming: Numbers, Strings and Others

Within a programing language, a data type of an object determines what type of values an object can have and what operations can be performed on the object. Learn about the most common data types, including strings, numbers, Booleans, lists and arrays.

Functional Programming and Procedural Programming

6. Functional Programming and Procedural Programming

There are several alternative approaches to the programming process, including procedural programming and functional programming. Learn about the differences between these two approaches.

Object-Oriented Programming vs. Procedural Programming

7. Object-Oriented Programming vs. Procedural Programming

There are several alternative approaches to the programming process. Two of the most important approaches are procedural programming and object-oriented programming. Learn about the differences between these two approaches in this video lesson.

How to Write a Program: Coding, Testing & Debugging

8. How to Write a Program: Coding, Testing & Debugging

Programmers use an integrated development environment for formatting code, checking syntax, and testing programs. Learn about some of the specific tools used by programmers, such as syntax highlighting, autocompletion, and debugging.

Steps in Program Implementation

9. Steps in Program Implementation

In this lesson, we will give the definition of a program and the process we go through to implement one. At the end, you should have a good understanding of this important activity.

Chapter Practice Exam
Test your knowledge of this chapter with a 30 question practice chapter exam.
Not Taken
Practice Final Exam
Test your knowledge of the entire course with a 50 question practice final exam.
Not Taken

Earning College Credit

Did you know… We have over 200 college courses that prepare you to earn credit by exam that is accepted by over 1,500 colleges and universities. You can test out of the first two years of college and save thousands off your degree. Anyone can earn credit-by-exam regardless of age or education level.

To learn more, visit our Earning Credit Page

Transferring credit to the school of your choice

Not sure what college you want to attend yet? Study.com has thousands of articles about every imaginable degree, area of study and career path that can help you find the school that's right for you.

Support