Test your basic knowledge |

Programming

Subject : it-skills
Instructions:
  • Answer 50 questions in 15 minutes.
  • If you are not ready to take this test, you can study here.
  • Match each statement with the correct term.
  • Don't refresh. All questions and answers are randomly picked and ordered every time you load a test.

This is a study tool. The 3 wrong answers for each question are randomly chosen from answers to other questions. So, you might find at times the answers obvious, but you will see it re-enforces your understanding as you take the test each time.
1. A value provided to a function when the function is called. This value is assigned to the corresponding parameter in the function.






2. An escape character '' followed by one or more printable characters used to designate a nonprintable character.






3. An operation whose runtime does not depend on the size of the data structure.






4. A special symbol that represents a simple computation like addition or multiplication or string concatenation.






5. The value provided as the result of a function call.






6. A class definition that implements an ADT with method definitions that are invocations of other methods - sometimes with simple transformations. It does no significant work but it improves or standardizes the interface seen by the client.






7. A function which changes its arguments inside the function body. Only mutable types can be changed by modifiers.






8. A kind of data structure that can contain data of any type.






9. Generalization by reducing the information content of a concept.






10. The code (or the person who wrote it) that implements an ADT.






11. A name used inside a function to refer to the value passed as an argument.






12. An error in a program that makes it impossible to parse






13. A general process for solving a category of problems.






14. An expression that is either true or false.






15. A set of characters that are treated as a unit for purposes of parsing such as the words in a natural language.






16. A data type that contains a sequence of elements of any type - like a list but is immutable. Can be used wherever an immutable type is required.






17. A string constant on the first line of a function or module definition - they provide a convenient way to associate documentation with code.






18. A way of writing mathematical expressions with the operators between the operands.






19. A user-defined compound type. A class can also be thought of as a template for the objects that are instances of it.






20. Having no specific pattern. Unpredictable.






21. A statement which makes the objects contained in a module available for use within another module.






22. A change in the state of a program made by calling a function that is not a result of reading the return value from the function. Can only be produced by modifiers.






23. A variable defined inside a function. A local variable can only be used inside its function.






24. To ________ a variable is to give it an initial value - usually in the context of multiple assignment.






25. A way of writing a mathematical expression with each operator appearing before its operands.






26. A linked list with a single node.






27. A method that is not invoked directly by a caller but is used by another method to perform part of an operation.






28. Memory which requires an electrical current to maintain state. Information stored is lost when the computer is turned off.






29. One program structure within another - such as a conditional statement inside a branch of another conditional statement.






30. The class from which a child class inherits.






31. An operation defined in linear algebra that multiplies each of the coordinates of a Point by a numeric value.






32. A signal such as a keyboard press or mouse click or message from another program.






33. An error that occurs at runtime.






34. The value given to an optional parameter if no argument for it is provided in the function call.






35. A special character that causes the cursor to move to the next tab stop on the current line.






36. A list of the functions that are executing - printed when a runtime error occurs. Also commonly refered to as a stack trace since it lists the functions in the order in which they are stored in the runtime stack.






37. The first part of a compound statement. Headers begin with a keyword and end with a colon (:)






38. A logical error which stops a program from performing.






39. Code that satisfies the syntactic and semantic requirements of an interface.






40. A function that returns a boolean value.






41. A loop inside the body of another loop.






42. A special character that causes the cursor to move to the beginning of the next line.






43. An explicit statement that takes a value of one type and computes a corresponding value of another type.






44. A queueing policy in which each member has a priority determined by external factors. The member with the highest priority is the first to be removed.






45. A compound data type whose elements cannot be assigned new values.






46. A programming construct that waits for events and processes them.






47. One of the nodes referred to by a node.






48. A group of consecutive statements with the same indentation.






49. A value passed to a program along with the program's invocation at the command prompt of a command line interface (CLI).






50. To follow the flow of execution of a program by hand - recording the change of state of the variables and any output produced.