About This Chapter
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
Other chapters within the FTCE Computer Science K-12 (005): Study Guide & Practice course
- History & Social Impacts of Computer Science
- Hardware & Systems Technology
- Computer Science Systems Software
- Computer Science Application Software
- Basics of Network Systems Technology
- Data, Storage & Algorithms
- Basics of Programming in Java
- Resources for Computer Science Teachers
- FTCE Computer Science K-12 (005) Flashcards