GoConqr has a new look! Let us know what you think.

Flashcards

Untitled

bilal42 English 1.0Average rating 1.0 out of 5 (2 ratings) 18 cards

Untitled

Cards in this deck (18)

  1. 1What is a Statement?Is a single executable line of code.
  2. 2What is a Subroutine?It Is a section of code within a larger body of code. It performs a specific task in the main body of the code.
  3. 3What is a Procedure?It Is a subroutine which returns either no values or possibly many.
  4. 4What is a Function?It Is a subroutine which returns a single value.
  5. 5What is a Parameter?It is a variable which holds either value or an address and is then passed to a subroutine where it is given a new identifier is subroutine. Parameters are normally passed on the stack.
  6. 6What is a Sequence?The term used to describe the execution of instructions one after in the order in which they are written.
  7. 7What Is a SelectionIt is a Term used to describe the execution of instructions depending upon some condition.
  8. 8What is a Iteration?It is a group of instructions is repeated, for a set number of times or until a condition is met.
  9. 9Exam QuestionsExam Questions
  10. 10A computer Program Consists of many statements which are sometimes organised into subroutines such as functions. Explain What is meant by a StatementIs a single executable line of code.
  11. 11Explain How a function differs from a procedureA function returns a single value to the calling program so that it can be used in the same way as a variable in the main body of the program
  12. 12A computer Program contains the following Instructions-x = 5
    y = 7
    x = y
    Output X
  13. 13State which of the programming constructs have been usedSequence
  14. 14State the Value Which Will be outputSequence
  15. 15Computing M8init blud
  16. 16Flip for algorithm on pseudo Code01-INPUT A
    02- INPUT B
    0 3- C = 0
    0 4 -I F A = B T H E N
    0 5- B = 1
    0 6- E L S E
    0 7 -W H I L E B > A
    0 8 -B = B - A
    0 9- C = C + 1
    1 0- E N D W H I L E
    1 1 A = B
    1 2 E N D I F
  17. 17Find an example of a Statement in the pseudo codeAny of the lines will be a good example
  18. 18Find an example of Selection in the codeIF in lines 04 (to 12)

Information

Description
Flashcards on Untitled, created by bilal42 on 23/03/2015.
Created by
bilal42 · Mar 2015
Updated
Feb 19, 2016
Views
20
Rating
Average rating 1.0 out of 5 (2 ratings)

Feedback

What is it about?

What do you think of the new look?

How do you like it?