1.What is computer program ? Write down the activities of computer program.

Ans: A computer program consists of a group of instruction for a computer  that cause to perform a desired task.

The activities of computer program are:-

(1)defining the problem.

(2) preparing an algorithm.

(3)preparing a program flowchart.

(4) coding the program.

(5)debugging &  testing .

(6)documenting.

 

2.What is algorithm?

Ans:-An algorithm is a description of the sequence of  steps required to solve a problem.

 

3.What is flowchart?

Ans:-Flowchart is a symbolic representation of our algorithm.

 

4.What are compiler , assembler ,generator & interpreter?

Compiler: is used to translate source program instruction into one or more object program instructions.

Assembler: is a low level language. it relatively difficult to learn and understand. it is not widely used for business data processing.

Generator: is a translator program designed to create object program.

Interpreter: is a translator program used to create object program.

 

5.What is structure programming?

structure programming :A collection of techniques for the planning and writing of programs that increase programmer productivity. Such as top-down programming and the use of loop, selection and sequence structure.

 

6.What is modular programming ?

Modular programming : An early stage in the development of structured programming. OR   A program is broken down into pieces, or modules which can be coded and tested separately called modular programming.

 

7.What is subroutine? What difference between internal & external subroutine?

Subroutine: A set of instructions for performing a particular task can be called when needed.

Internal  subroutine: An internal subroutine is a part of the program. A set of instructions for performing a particular task that is written as a part of the using program.

External subroutine: External subroutine are used for tasks that more than one program is likely to want performed.

8.What is structure chart?

Structure chart: Structure chart is a tool to use in the top-down planning of a structured program that shows the modules that comprise the program.

 

9.What is pseudocode ? What is the limitation of pseudocode?

Ans: A way to represent instruction that uses ordinary English a planning tool for structured programming.

Iimitations of pseudocode :

(1)There is no accepted structure of pseducode.

(2) Psuedocode use the ordinary English.

 

10.Devolop a flowchart & pseudocode according to sort three numbers.

Ans:

 

11.What is Boolean algebra ? write down the evaluate order of Boolean expression.

 Ans: A form of algebra in which symbol have the values of either” true” or “false” are subject to operation and, or , not are known as Boolean expression.  The evaluate order of Boolean expression is NOT, AND, OR.

 

12. What is truth table? How do you develop a truth table?

Ans: Truth table is a tool for analyzing all possible combinations of values of a Boolean expression.

Develop a truth table:

1.Set up a column for each condition.

2.List all possible combinations of condition one combination to a row.

3.write each expression to evaluated as a column heading & follow other instruction.

4.Set  the value of the expression in the heading.

 

13.What is decision table? Write down the component of decision table.

Decision table: Decision table is a tool for planning & documenting processing that involves complex combination of condition.

Component of decision table:  condition entry, condition stub, action entry, action stub.

 

14. What do you mean by the term of Redundancy & contradiction?

Redundancy: Redundancy occurs when there is more than one rule in a decision table.

Contradiction: Contradiction occurs when there is same combination of condition but action is different.

 

15.When false control break occur?

Ans: false control break occur when processing first records that does not actually reflect a change in a value in a control field.

 

16.what do you mean by the term the main element of HIPO chart?

 the main element of HIPO chart: the main element of HIPO chart is structure chart & pseudo code.

 

 17.Write down the advantage & disadvantages of  hipo chart?

Advantages of HIPO:

a)There is more work involved in preparing so the HIPO provides more information.
b)The input and output for each module are clearly identified in HIPO chart.
c)We can also determine very easily what modules call the module being examined.

 

Disadvantages of HIPO:

a)The documentation for a program gets to be rather bulky.
b) Each module regardless of the actual size of the module.

 

18.What is table ? Describe single & paired table.

Table: the table is the most powerful programming tools. it is a collection of items of the (which are) same type and size.

Single Table: single table is an argument table with no corresponding function table.

Paired table: paired table is combination of the argument and function table used together.

 

19.Shortly brief : one ,two & multidimensional table.

One dimensional table: a table containing a single column of values.

Two dimensional table: it is table contains rows and columns.

Multi dimensional table: a table containing more than one single column.

 

20. What are difference between sequential & serial access ?

Serial access: – serial access refers to a method of reading or writing a file the first record is processed first then second record until the last record has been processed in file.
Sequential access: sequential access refers to process the records of a file based on the value in a field of each record, called the key field.

 

21. Write down the file processing activities.

The file processing activities :

a.Maintainning : Add or delete the number of records in a master file.

b.Updating :Replace the number of record in a master file.

c.Referencing: Retrieving  instruction from a file without altering its consist.

 

22. Shortly brief ISAM & VSAM file ?

ISAM  file: Index sequential access method is organizing records on a direct access storage device that providing both direct & sequential access.

VSAM file : Virtual storage access method is organizing records on a direct access storage device that providing both direct & sequential access.