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 name given to a variable.






2. The structure of a program.






3. Nodes that share a common parent.






4. An operation defined in linear algebra that multiplies two Points and yields a numeric value.






5. To translate a program written in a high-level language into a low-level language all at once - in preparation for later execution.






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






7. Multiple variables that contain references to the same object.






8. A variable used as part of the terminating condition of a loop.






9. A method for naming and accessing and organizing files and the data they contain.






10. Using the output from one function call as the input to another.






11. A style of programming in which data and the operations that manipulate it are organized into classes and methods.






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






13. An expression that is either true or false.






14. Repeated execution of a set of programming statements.






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






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






17. A function that calls itself recursively without ever reaching the base case - ultimately causes a runtime error.






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






19. An embedded reference used to link one object to another.






20. A process for developing a program.






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






22. A character that is used to separate tokens such as punctuation in a natural language.






23. Any of the data types that consist of an ordered set of elements with each element identified by an index.






24. A tree in which each node refers to zero or one or two dependent nodes.






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






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






27. To create a new object that has the same value as an existing object.






28. A function that returns a boolean value.






29. An assertion that should be true of an object at all times (except perhaps while the object is being modified).






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






31. A data type comprised of a collection of keys and associated values.






32. The set of operations that define an ADT.






33. A data structure that implements a collection using a sequence of linked nodes.






34. The topmost node in a tree with no parent.






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






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






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. To iterate through the elements of a set performing a similar operation on each.






39. Both as a noun and as a verb - it means to increase by 1.






40. The ability to define a new class that is a modified version of a previously defined class.






41. An ordered set of objects waiting for a service of some kind.






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






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






44. The sequential accessing of each element in a list.






45. The class from which a child class inherits.






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






47. A data type in which the elements can be modified. It is a compound type - e.g. lists.






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






49. An item of data contained in a node.






50. A method that acts as a middleman between a caller and a helper method - often making the method easier or less error-prone to invoke.