Lecture 1 Flashcards
What is Programming?
This is the process of developing series of sequence of instructions known as programs to be given to computer so as to perform a specific task.
What are the basic facilities a programmer needs and why
Facilities: text editors, compilers, interpreters,
why: to develop, design, implement or maintain computer programmers.
What is program design
The development of computer programs
What are the aims of program design
Reliability: The program can be depended upon always to do what is supposed to do
Maintainability: The program can be depended upon always to do what is supposed to do
Readability: The program will be easy for a programmer to read and understand.
Performance: The program causes the tasks to be done quickly and efficiently
Storage saving: The program is not allowed to be unnecessarily long to achieve memory efficiently.
What is PDLC
PDLC is a systematic way of developing quality software. It provides an organized plan for breaking down the task of program into managebale chunks, each of which must be successfully completed before moving to the next phase
What are the program development life cycle
Problem definition
Problem analysis
Algorithm development
Coding and documentation
Testing & debugging
Maintenance
What is sequential pogramming
This is when the algo to be solved consists of operation one after the other.
What are the cardinal features of the computer which can be seen in features of programming
OC DIS
Operation on data
Control
Data declaration
input and output
Storage
What are types of control
The sequence structure
The decision/selection structure
Repetition/iteration structure
Describe the sequence structure
This is the most elementary structure. It is a case where the steps in an algorithm are constructed in such a way that, no condition is required.
Logical equivalent of a straight line
Describe the sequence structure
This is the most elementary structure. It is a case where the steps in an algorithm are constructed in such a way that, no condition is required.
Logical equivalent of a straight line
What is a compiler
A compiler is a special program that processes statements written in particular programming language and turns them into machine language that a computer’s processor uses.
Basically converts normal programming into a language a computer processor can understand i.e machine language.
What is an interpreter
An interpreter directly executesd instructions written in a programming language without previously converting them to an object code or machine code. Examples: python, perl, matlab.
What is an interpreter
An interpreter directly executesd instructions written in a programming language without previously converting them to an object code or machine code. Examples: python, perl, matlab.
What are diagnostic tool
Tools that are used for detecting error messages in a programmer’s source code that refer to statements or syntax that compiler cannot understand.