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 process for developing a program.






2. An error in a program that makes it do something other than what the programmer intended.






3. An item of data contained in a node.






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






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






6. Use of the dot operator '.' to access functions inside a module.






7. A group of consecutive statements with the same indentation.






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






9. The meaning of a program.






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






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






12. Decrease by 1.






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






14. To prevent an exception from terminating a program using the try and except statements.






15. The set of nodes equidistant from the root.






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






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






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






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






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






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






22. A name given to a variable.






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






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






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






26. A special method that is invoked automatically when a new object is created and that initializes the object's attributes.






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






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






29. A program development plan intended to avoid debugging by adding and testing only a small amount of code at a time.






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






31. A kind of data structure that can contain data of any type.






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






33. One of the named data items that makes up an instance.






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






35. An error in a program.






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






37. A loop in which the terminating condition is never satisfied.






38. Part of a program that can never be executed - often because it appears after a return statement.






39. A set of characters that are treated as a unit for purposes of parsing such as the words in a natural language.






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






41. To signal an exception using the raise statement.






42. An expression that is either true or false.






43. A data type (usually a collection of objects) that is defined by a set of operations but that can be implemented in a variety of ways.






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






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






46. A data type in which the values are made up of components or elements that are themselves values.






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






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






49. To create an instance of a class.






50. A program (or the person who wrote it) that uses an ADT.