1. Question:What do you mean by sequence structure ? 

    Answer
    Some instractions are executed in the order in which they are encountered.This processing steps can be combined and represented by one rectange with a single entry point and a single exit poit.

    1. Report
  2. Question:What do you mean by selection stucture ? 

    Answer
    The ability to choose between two alternative courses of action on the basis of whether a condition is true or false.

    1. Report
  3. Question:What do you mean by pseudocode ? 

    Answer
    A way to represent instructions that uses ordinary English; a planning tool for structured programming.

    1. Report
  4. Question:What do you mean by branch and bug ? 

    Answer
    Branch : Transfer control to another part of a program.
    Bug     : An error in a computer program.

    1. Report
  5. Question:What do you mean by GOTOless programming? 

    Answer
    Programming without the use of branch instructions.

    1. Report
  6. Question:What is Algorithm ? 

    Answer
    A sequence of steps that describe of method for solving a program.

    1. Report
  7. Question:Write the definatiom of Branch? 

    Answer
    Transfer control to another part of  a program.

    1. Report
  8. Question:Write down a pseuducode of three numbers by sorting with desending to assending ? 

    Answer
    Read a,b,c 

    IF a<b THEN
    SET temp=a,a=b,b=temp
    END IF

    IF a<c THEN
    SET temp=a,a=c,c=temp
    END IF

    IF b<c THEN
    SET temp=b,b=c,c=temp
    END IF

    PRINT a,b,c

    1. Report
  9. Question:Write any three flowcharting guideline. 

    Answer
    1. Every program flowchart starts with a single terminal outline and ends with one or more terminal outlines.
    2. The descriptive names that identify data items being used and the operations being performed should be used consistently.
    3. The words used inside the outlines should be chosen so that they will have meaning for anyone reading the flowchart.
    4. There should be only one flowline into an outline. Any merging flows should brought together on a flowline.
    5. Try to leave white space in the flowchart by using connectors instead of flowlines that wander all over the flowchart.

    1. Report
  10. Question:Define Compiler. 

    Answer
    This is a translation program that checks syntax errors from program code that the programmer may violate the rule of any specific language he/she has chosen. And it also tells the programmer what syntax errors were detected and where they are in the program code. Unlike interpreter, the compiler processes the entire program as a unit.

    1. Report
Copyright © 2024. Powered by Intellect Software Ltd