What is Computer Programming (1/28)

Definitions

  • Computer: A machine that follows a sequence of instructions

  • Program: The specific sequence of a simple instruction for a particular purpose

  • Computer Science: Testing the bounds of what computers can actually do

  • Syntax: ‘Grammar’ for computer languages (order concepts need to be expressed in for a computer to turn that into it’s own code)

  • Bug: When the code doesn’t work and needs to be debugged

  • Logic: Specific ways on how the program is built

  • Pseudocode: Resembles code in an easier human way to read

General Process of Programming

  1. Define the problem

  2. Design a solution

  3. Implement solution in code

  4. Test and debug

  5. Deploy and maintain code

Writing Code

  • Break up problem into small tasks

  • Printing, Storing, Basic math operations, Decisions


class HelloWorld { Tells program to start the code within the brackets

public static void main (String[] args) {

System.out.println(“Hello World”); Prints whatever is in quotes

}

}