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 bottom-most node in a tree with no children.






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






3. A syntactic container providing a context for names so that the same name can reside in different namespaces without ambiguity.






4. The order in which statements are executed during a program run.






5. An error that does not occur until the program has started to execute but that prevents the program from continuing.






6. A step-by-step process for solving a category of problems.






7. A way to traverse a tree - visiting the left subtree and then the root and then the right subtree.






8. Another name for object code that is ready to be executed.






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






10. A function that changes one or more of the objects it receives as parameters. Most modifiers are void.






11. A linked list with a single node.






12. A parameter written in a function header with an assignment to a default value which it will receive if no corresponding argument is given for it in the function call.






13. A program stored in a file (usually one that will be interpreted).






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






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






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






17. A character or string used to indicate where a string should be split.






18. A variable in the sys module which stores a list of command line arguments passed to a program at run time.






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






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






21. To execute a program in a high-level language by translating it one line at a time.






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






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






24. A combination of variables and operators and values that represents a single result value.






25. Repeated execution of a set of programming statements.






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






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






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






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






30. A box in a stack diagram that represents a function call. It contains the local variables and parameters of the function.






31. A list that is an element of another list.






32. A variable used in a loop to accumulate a series of values - such as by concatenating them onto a string or adding them to a running sum.






33. The name and location of a file within a file system.






34. Given any real numbers a and b exactly one of the following relations holds: a < b or a > b or a = b. Thus when you can establish that two of the relations are false you can assume the remaining one is true. What is it called?






35. The statement in a recursive function with is a call to itself.






36. A situation in which two or more names in a given namespace cannot be unambiguously resolved.






37. The class from which a child class inherits.






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






39. One of the operators that combines boolean expressions: and or and not.






40. To examine a program and analyze the syntactic structure.






41. To read a string of characters or tokens and analyze its grammatical structure.






42. A function that returns a boolean value.






43. Nodes that share a common parent.






44. A graphical representation of a stack of functions and their variables and the values to which they refer.






45. A name given to a variable.






46. An integer variable or value that indicates an element of a list.






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






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






49. The node that refers to a given node.






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