SEARCH
You are in browse mode. You must login to use MEMORY

   Log in to start

level: Procedural Programming

Questions and Answers List

level questions: Procedural Programming

QuestionAnswer
What are identifiersNames given to variables, types, functions, and labels
What are programms written in a procedural programming language formed fromsequences of instructions that are executed in the order in which they appear
Describe the way in which procedures are used in procedural programmingform parts of the program and can be called from anywhere within the program or by other procedures
Do you program in procedural?Y
What way is data stored in procedural programmingconstants and variables
What 4 structures are used to keep programs easy to understand and manageassignment, sequence, selection and iteration
For structured procedural programming what does the phrase being 'designed from the top down' meanMeaning that the most important elements of a problem are broken down into smaller tasks
For structured procedural programming what are the BENIFITS of the phrase being 'designed from the top down' meanEasier program maintance as overall naviagtion of the solution is easier Easier testing
What are identifiersNames given to variables, types, functions, and labels
What are hierarchy charts?graphical representation of the structure of a structured procedural programming program
How is each procedure displayed in a hierarchy chart?Rectangles
Give practical ways in which the programmer will use a structured approach to programmingProcedures which have an interface / using parameters to pass values ; Use of modules / use of libraries ; Avoid global variables / use of local variables ; Meaningful identifier/variable/constant/ procedure / function / program / parameter names; Consistent use of case for identifiers ; Use of selection / loops / iteration ; Avoid the use of GoTo structures ; Effective use of white space / indentation; R spacing/ space out the Code Use of named constants ; Use of user-defined data types ; Use of pseudo-code / top down approach / Jackson methodology / process Decomposition ; R the use of comments/documentation R declaration of variables