About This Chapter
Computer Programming Basics - Chapter Summary
You'll find a series of expertly taught lessons on computer programming basics in this chapter. Watch short videos about the definition of programming; the five basic elements of programming; and how to gather user requirements using surveys, observation and meetings. Along with each lesson, you'll find a self-assessment quiz you can use to make sure you're understanding the topics you're learning. If you have any questions, reach out to one of our experts through the Dashboard. Once you finish these lessons, you should be ready to:
- Outline the function of flowchart symbols in programming
- Explain how to write a program
- Debugging and compile code
- Discuss how to set up a coding environment for Java programming
- Give an example of Java's 'Hello World'
- Detail Java's 'Public Static Void Main'
- Provide a definition and examples of Java statements
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. Gathering User Requirements: Meetings, Observation & Surveys
This lesson introduces requirements gathering and describes the four tools programmers use to find out what their customers want: document gathering, interviews, observation and surveys.
4. Flowchart Symbols in Programming: Definition, Functions & Examples
Much like symbols on a map can tell us what action to take, flowchart symbols represent the various actions of a computer program. In this lesson, we'll learn why these symbols are necessary and go over some of the most basic types used by programmers.
5. 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.
6. Debugging and Compiling Code
Programmers use an integrated development environment to assist in writing code in a specific programming language. Learn about some of the specific tasks performed by programmers, such as debugging and compiling code.
7. How to Setup a Coding Environment for Programming in Java
Have you ever wanted to get started with learning Java and the ways it can benefit a programmer? This lesson will walk you through the steps required to get everything up and running in no time.
8. Java's 'Hello World': Print Statement & Example
Hello World is a simple Java program, for many the first they learn, that teaches syntax and components of the Java programming language. In this lesson, we will learn how to write your very first computer program using the Java programming language.
9. What is 'Public Static Void Main' in Java?
You'll see it often in Java programs, but what does 'public static void main' really mean? This lesson will cover this core component, a requirement of any Java program.
10. Java Statements: Definition & Examples
In this lesson, we'll learn the definition of a Java statement and discuss some of the different types. We'll also explore some working code examples for this important programming concept.
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 Computer Science 109: Introduction to Programming course
- Built-In Data Types for Programming
- Conditionals & Loops in Programming
- Arrays in Programming
- Input & Output in Programming
- Functions & Modules in Programming
- Object-Oriented Programming Overview
- Algorithmic Analysis, Sorting & Searching
- Stacks & Queues for Data Structures
- Tables, Maps & Graphs in Programming