CPS 118 Lecture Notes - Lecture 1: Integrated Development Environment, Algorithm Design, Machine Code
Document Summary
Computer science algorithm has a machine with registers that carries out the algorithm. Computer = any machine that can execute algorithms. Algorithms intended for automatic execution by computers are called programs. The previous algorithm for squared mean computation is not a program because it is in english. Formal techniques used to program notation are called programming languages . Program = algorithm written in a language that can be understood by a computer (different languages) For a computer to run a program, we need to translate the given program into the machine code used by the given computer. A compiler is a software application which translates programs written in a given programming language into another language (usually machine code---binary language) and runs it. An ide (integrated development environment) is a set of integrated software tools that helps us to develop programs. Designers make diagrams/algorithm etc. and gives to programmer to write the program to solve the problem.