Midterms #1 Flashcards
(49 cards)
is a multi-step process for creating a program
Programming
way of giving computers what they should do next
Code
is a list or sequence of instructions that
tell a computer what to do.
computer program
written in a programming language
computer program
is a type of written language that
tells computers what to do in order to work.
programming language (PL)
Each PL has its own grammar called
syntax
It consists of rules
governing the structure and content of the statement that should
be followed.
syntax
writes source code
programmer
is a well-written set of instructions and
statements to develop a program.
Source code
Source code can be written in
low-level or high-level
language.
translates a program written from an assembly
language to a low-level language.
Assembler
translates each statement or one line at a time and executed immediately after translation.
Interpreter
translates all statements at one time. It provides all the error messages – called diagnostics- at once.
Compiler
Compiler
C, C++, Java
Interpreter
JavaScript, Python, Ruby
often cryptic and not
human-readable.
Low-level Language
uses English-like
instructions and can be
run on a variety of
computer types.
High-level language
designated by
a 0.
OFF
designated by
a 1.
ON
Instructions are written in 0s and
1s are called
machine
language
Steps in program development life cycle
- Requirement Analysis
- System Design
- Coding or Writing The Program
- Testing and Debugging
- Documentation and Maintenance
When we want to develop a program using any programming
language, we follow a sequence of steps
phases
a set of steps or phases that are used to develop a program in any
programming language.
program development life cycle
is a description of what a system should do
Requirement