Flashcards
2.2.1 computer science keywords
Cards in this deck (19)
- 1SequenceOne of the 3 basic programming constructs. Instructions happening one after the other in order is sequence
- 2IterationThis is one of the three programming constructs. A selection of code which can be repeated either a set number of times (count controlled) hree programming constructs. or a variable number of times based on the evaluation of a Boolean expression (condition controlled) is iteration.
- 3selection / branchingInstructions which can evaluate a Boolean expression and then branch the code to one or more alternatives paths is branching / selection
- 4RecursionAn advanced programming construct in which a block of code (often a function) is able to call itself
- 5Global variableA variable which can be used anywhere in the program
- 6Local variableA variable which can only be used in one part of the program e.g. in a function or procedure
- 7ModularityA technique of code design where a solution is broken down into a number of small self-contained and manageable chunks.
- 8Modularity explainedEach Module of code should be designed to perform one set specific purpose. If during design it is found that the module starts to grow and performs more than one task then the additional functionality should be split out into a new module.
- 9FunctionsA block of code given a unique identifiable name within a program.
- 10Function explainedA function can take either zero or more parameters when it is called and should return a value. The function should be designed and written to perform one task or action which is clearly indicated by its name.”
- 11ProceduresA block of code given a unique identifiable name within a program
- 12Procedure explainedA procedure can take either zero or more parameters when it is called. The procedure should be designed and written to perform one task or action which is clearly indicated by its name
- 13Difference between procedure and functionA function returns a value and a procedure just executes commands. The name function comes from maths. It is used to calculate a value based on input.A procedure is a set of command which can be executed in order.
- 14ParametersData structures passed into a Procedure or Function when they are initially called
- 15Parameter passingThe process of providing a procedure, function or module with values at the point when you call it.
- 16Parameter passing by valueIf a data item is passed by value, a (local) copy of the data is used, which is discarded when the subprogram exits.
- 17Parameter passing by referenceIf a data item is passed by reference, the location (in memory) of the data is used. This means that any changes are retained after the procedure or function has been completed
- 18IDEIntegrated Development Environment: this is a software that performs the various stages of software design and implementation in a single integrated system.
- 19DebuggingThis is the process of removing syntacticle, semantic(logical) or run-time errors
Information
- Description
- GCSE IT Flashcards on 2.2.1 computer science keywords, created by tabassum88 abedi on 22/03/2019.
- Created by
- tabassum88 abedi
- Views
- 2
- Rating