Home
Subjects
Textbook solutions
Create
Study sets, textbooks, questions
Log in
Sign up
Upgrade to remove ads
Only $35.99/year
SDD Essential KU Q's
STUDY
Flashcards
Learn
Write
Spell
Test
PLAY
Match
Gravity
Terms in this set (11)
Why is the software development process called an iterative process? (1)
Answer: Previous stages of development can be revisited. e.g. errors found during testing would mean you would need to revisit Implementation stage.
Why might programmers return to a previous stage of development? (1)
Answer: An error may be found during testing, so the design or implementation stage would be revisited to rectify the error
Describe the 3 types of error (3)
Answer:
•Logic - error in the logic of the code (e.g. incorrect arithmetic operation used, incorrect selection statement code). Does not usually cause the program to crash (1)
•Execution - the program is asked to do something that it cannot do (e.g. accessing item 6 in the array with item size 5, dividing by 0) (1)
•Syntax - a spelling or grammatical mistake (e.g. incorrect spelling of a variable) (1)
Describe the 3 standard algorithms (3)
Answer:
•Input validation - to ensure that the user does not enter input that is not acceptable for the purposes of the program (e.g. does not enter 33 when asked to enter a number between 1-20) (1)
•Running total - to calculate a total of multiple outputs within a loop (e.g. calculate the total cost of a bill) (1)
•Traversing a 1D array - to access each item in an array to be used as part of a process (e.g. print out 30 pupil names and their houses) (1)
What test data would be used to test a program that asks a user to enter a number between 1-20 (3)
Normal - 2 - 19
Extreme - 1 and 20
Exceptional - 0, -5, A
What are the 5 data types/structures? Give an example of each (5)
Answer:
•Integer - 1 (1)
•Real (not float!) - 1.1 (1)
•String - "one" (1)
•Boolean - True (1)
Array - 30 pupil names (1)
What are the 3 types of design notation (3)
Answer:
•Pseudocode (1)
•Flowchart (1)
•Structure diagram (1)
Explain the two types of loop (2)
•Conditional - when we do not know how many times the code inside the loop will run for as it must meet specified conditions (1)
•Fixed - when we know exactly how many times the code inside the loop should run (1)
Why are pre-defined functions beneficial to programmers? (2)
Answer: Pre-defined functions are re-useable pieces of code that have been tested (1). They save development time and eliminate errors (1)
Explain the 3 pre-defined functions (3)
Answer:
•Round - to round a number to a specified number of places (1)
•Length - to return the number of characters in a String, or the number of items in an array (1)
•Random - to generate a random number between two values (1)
Describe the 3 logical operators (3)
Answer:
•AND - evaluated to True if all conditions are True (1)
•OR - evaluated to True if any condition must be True (1)
•NOT - used to reverse the outcome of an expression, and will be evaluated to True if the expression evaluates to False (1)
Other sets by this creator
Database Essential KU Q's
14 terms
Web Essential KU Q's
23 terms
Systems Essential KU Qs
18 terms
Software Development
47 terms