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 character that is used to separate tokens such as punctuation in a natural language.






2. Function-like attribute of an object. Methods are invoked (called) on an object using the dot operator.






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






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






5. An operator that takes two operands.






6. There are exactly two boolean values: True and False.






7. To create an instance of a class.






8. A function that yields a return value.






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






10. Extending built-in operators ( + or - or * or > or < etc.) so that they work with user-defined types.






11. A library is a collection of software used as tools in the development of other software.






12. A named sequence of statements that performs some useful operation. Functions may or may not take parameters and may or may not produce a result.






13. A definition which defines something in terms of itself. It often provides an elegant way to express complex data structures.






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






15. The interval between successive elements of a linear sequence. The third (and optional argument) to the range function is called the step size. If not specified it defaults to 1.






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






17. A number or string (or other things to be named later) that can be stored in a variable or computed in an expression.






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






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






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






21. An error in a program.






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






23. The set of rules governing the order in which expressions involving multiple operators and operands are evaluated.






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






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






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






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






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






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






30. A set of instructions for solving a class of problems by a mechanical and unintelligent process.






31. One of the possible paths of the flow of execution determined by conditional execution.






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






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. An invisible marker that keeps track of where the next character will be printed.






35. An operator denoted with a percent sign ( %) - that works on integers and yields the remainder when one number is divided by another.






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






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






38. The node that refers to a given node.






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






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






41. A thing to which a variable can refer.






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






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






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






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






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






47. Code that is used during program development but is not part of the final version.






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






49. To signal an exception using the raise statement.






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