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 used inside a function to refer to the value passed as an argument.






2. Repeated execution of a set of programming statements.






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






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






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






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






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






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






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






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






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






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






13. An expression in parentheses that acts as a single operand in a larger expression.






14. A conditional branch with more than two possible flows of execution.






15. A value provided to a function when the function is called. This value is assigned to the corresponding parameter in the function.






16. An operator that takes two operands.






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






18. The process of calling the function that is currently executing.






19. A way to traverse a tree - visiting each node before its children.






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






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






22. The set of nodes equidistant from the root.






23. A statement that creates a new function specifying its name and parameters and the statements it executes.






24. A program in a high-level language before being compiled.






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






26. An ADT that performs the operations one might perform on a queue.






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






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






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






30. The rules that determine which member of a queue is removed next.






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






32. A variable that is defined inside a class definition but outside any method. These are accessible from any method in the class and are shared by all instances of the class.






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






34. A new class created by inheriting from an existing class; also called a subclass.






35. One of the operators that compares two values: == or != or > or < or >= and <=.






36. It prevents a compiler from compiling.






37. To join two strings end-to-end.






38. An element of a list - usually implemented as an object that contains a reference to another object of the same type.






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






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






41. The structure of a program.






42. A statement that assigns a value to a name (variable).






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






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






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






46. A statement that consists of two parts: header - which begins with a keyword determining the statement type and ends with a colon. body - containing one or more statements indented the same amount from the header.






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






48. A statement that executes a function. It consists of the name of the function followed by a list of arguments enclosed in parentheses.






49. A thing to which a variable can refer.






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