Lecture 1 Flashcards

1
Q

What is Programming?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the basic facilities a programmer needs and why

A

Facilities: text editors, compilers, interpreters,

why: to develop, design, implement or maintain computer programmers.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is program design

A

The development of computer programs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are the aims of program design

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is PDLC

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are the program development life cycle

A

Problem definition
Problem analysis
Algorithm development
Coding and documentation
Testing & debugging
Maintenance

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is sequential pogramming

A

This is when the algo to be solved consists of operation one after the other.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are the cardinal features of the computer which can be seen in features of programming

A

OC DIS
Operation on data
Control

Data declaration
input and output
Storage

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What are types of control

A

The sequence structure
The decision/selection structure
Repetition/iteration structure

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Describe the sequence structure

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Describe the sequence structure

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is a compiler

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is an interpreter

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is an interpreter

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What are diagnostic tool

A

Tools that are used for detecting error messages in a programmer’s source code that refer to statements or syntax that compiler cannot understand.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Computers can be classifed into?

A

Sequential and parallel computers

16
Q

What is data type

A

This is a classification of data, which can store a specific type of information.

17
Q

What is data declaration

A

This is the act of defining a variable.

18
Q

what is implicit declaration.

A

Implicit declaration are those declaration which is done by compiler when no explicit declaration or user defined declartion is mentioned.