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 programming language that is designed to be easy for a computer to execute; also called machine language or assembly language.






2. The process of finding and removing any of the three kinds of programming errors.






3. The sequence of characters read into the command interpreter in a command line interface.






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






5. A data type that contains a sequence of elements of any type - like a list but is immutable. Can be used wherever an immutable type is required.






6. A string displayed by a command line interface indicating that commands can be entered.






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






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






9. An error in a program.






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






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






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






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






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






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






16. An operator that takes two operands.






17. The second part of a compound statement. The body consists of a sequence of statements all indented the same amount from the beginning of the header.






18. One of the nodes referred to by a node.






19. An implementation of a queue using a linked list.






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






21. Another name for a runtime error.






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






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






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






25. To represent one set of values using another set of values by constructing a mapping between them.






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






27. To replace something unnecessarily specific (like a constant value) with something appropriately general (like a variable or parameter). It makes code more versatile - more likely to be reused and sometimes even easier to write.






28. An expression that is either true or false.






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






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






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






32. The class from which a child class inherits.






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






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






35. An organization of data for the purpose of making it easier to use.






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






37. A name given to a variable.






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






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






40. An operation whose runtime does not depend on the size of the data structure.






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






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






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






44. A method that is not invoked directly by a caller but is used by another method to perform part of an operation.






45. Generalization by reducing the information content of a concept.






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






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






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






49. Any one of the languages that people have designed for specific purposes - such as representing mathematical ideas or computer programs; all programming languages are formal languages.






50. Any of the characters that move the cursor without printing visible characters. The constant string.whitespace contains all the white-space characters.