Which of the following are part of maintainability?
Comments, descriptive naming and indentation
Comments, descriptive naming and verification
Comments, indentation and verification
Which of these is a suitable variable name for storing the total cost of something?
p
value
total
What are the three types of programming error?
Syntax errors, logic errors and runtime errors
Syntax errors, logic errors and validation errors
Logic errors, runtime errors and validation errors
What is the purpose of testing?
To ensure that a user becomes familiar with a program
To ensure that a program functions as intended
To ensure that the programmer has met all requirements
What are the three types of test data?
Normal, boundary and acceptable
Normal, boundary and erroneous
Normal, trace and erroneous
What type of error would occur if a greater than symbol was entered, but the programmer meant less than?
Logic error
Syntax error
Runtime error
What type of error would stop a program from running?
In programming, what is a comment?
Comments are lines in programs that provide information about what the different parts of the program do
Comments are a type of testing
Comments are the lines of code that actually do something in a program