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. Code that satisfies the syntactic and semantic requirements of an interface.






2. An ADT that defines the operations one might perform on a priority queue.






3. A data type which cannot be modified. Assignments to elements or slices of immutable types cause a runtime error.






4. A named collection of files - also called a folder.






5. A thing to which a variable can refer.






6. Calling one function from within the body of another or using the return value of one function as an argument to the call of another.






7. A collection of key-value pairs that maps from keys to values.






8. The dot operator ( .) permits access to attributes and functions of a module.






9. The meaning of a program.






10. The output of the compiler after it translates the program.






11. The ability to combine simple expressions and statements into compound statements and expressions in order to represent complex computations concisely.






12. A recursive call that occurs as the last statement (at the tail) of a function definition.






13. A property of a program that can run on more than one kind of computer.






14. An invisible marker that keeps track of where the next character will be printed.






15. An operation whose runtime is a linear function of the size of the data structure.






16. Making more than one assignment to the same variable during the execution of a program.






17. A function that returns a boolean value.






18. A software development practice which arrives at a desired feature through a series of small but iterative steps motivated by automated tests which are written first that express increasing refinements of the desired feature.






19. A function that is defined inside a class definition and is invoked on instances of that class. :override:: To replace a default. Examples include replacing a default parameter with a particular argument and replacing a default method by providing a






20. A part of a string (substring) specified by a range of indices.






21. 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.






22. An automatic procedure used to validate that individual units of code are working properly.






23. A statement that controls the flow of execution depending on some condition.






24. A syntactic construct which enables lists to be generated from other lists using a syntax analogous to the mathematical set-builder notation.






25. A process for developing a program.






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






27. The block of statements in a compound statement that follows the header.






28. One of the pairs of items in a dictionary. Values are looked up in a dictionary by key.






29. The node that refers to a given node.






30. A named entity - usually stored on a hard drive or floppy disk or CD-ROM - that contains a stream of characters.






31. A reference to a list node can be treated as a single object or as the first in a list of nodes.






32. One of the values in a list (or other sequence). The bracket operator selects elements of a list.






33. 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.






34. A function that can operate on more than one type. If all the operations in a function can be applied to a type then the function can be applied to a type.






35. A data item that is mapped to a value in a dictionary. Used to look up values in a dictionary.






36. An error that occurs at runtime.






37. The process of adding a function header and parameters to a sequence of program statements. This process is very useful whenever the program statements in question are going to be used multiple times.






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






39. To simplify an expression by performing the operations in order to yield a single value.






40. A loop inside the body of another loop.






41. A way to traverse a tree - visiting the children of each node before the node itself.






42. A loop in which the terminating condition is never satisfied.






43. A named collection of objects where each object is identified by an index.






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






45. A visual cue that tells the user to input data.






46. A way of developing programs that involves high-level insight into the problem and more planning than incremental development or prototype development.






47. A variable or value used to select a member of an ordered set - such as a character from a string.






48. A variable used to store an intermediate value in a complex calculation.






49. Temporary storage of a precomputed value to avoid redundant computation.






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