CFP - Unit 1
CFP - Unit 1
UNIT 1
programs.
Program is a sequence of
Efficient coding
Systematic debugging
Systematic testing
Limitations of Flowchart
Flowcharts are very time consuming
and laborious to draw (especially for
large complex programs).
Redrawing a flowchart for incorporating
Editor
Assembler
Compilers
Interpreters
Linker
Loader
Debugger
Editor
Software programs that enable the user to create
and edit text files.
The term editor usually refers to source code
editors that include many special features for
writing and editing code.
Features normally associated with text editors
are — moving the cursor, deleting, replacing,
pasting, finding, finding and replacing, saving
etc.
Examples : Turbo C, atom, notepad++, etc.
Assembler
Software that translates as assembly
language program into an equivalent
machine language program of a
computer
Compiler
Translator program (software) that
translates a high-level language
program into its equivalent machine
language program
Compiles a set of machine language
instructions for every program
instruction in a high-level language
Compiler
Illustrating the requirement of a separate
compiler for each high-level language
supported by a computer.
Linker
For a large software, storing all the lines of
program code in a single source file will be:
Difficult to work with
are:
Logical Architecture of Computer
System
The operating system
layer hides the details of
the hardware from the
programmer and
provides the
programmer with
convenient interface for
using the system.
Parameters for Measuring System are
Logic errors
Occurs due to errors in planning a program’s logic.
int main()
{
int i, num, j;
printf ("Enter the number: ");
scanf ("%d", &num );