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. To follow the flow of execution of a program by hand - recording the change of state of the variables and any output produced.






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






3. A distinct method of operation within a computer program.






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






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






6. A general process for solving a category of problems.






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






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






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






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






11. A string constant on the first line of a function or module definition - they provide a convenient way to associate documentation with code.






12. A reference stored in an attribute of an object.






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






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






15. The block of statements in a compound statement that follows the header.






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






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






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






19. A loop inside the body of another loop.






20. A program that translates higher level programming languages into basic instructions the CPU can understand.






21. A part of a string (substring) specified by a range of indices.






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






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






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






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






26. A file that contains printable characters organized into lines separated by newline characters.






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






28. To divide a large complex program into components (like functions) and isolate the components from each other (by using local variables - for example).






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






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






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






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






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






34. A function that returns a boolean value.






35. The set of nodes equidistant from the root.






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






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






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






39. A named collection of files - also called a folder.






40. Memory which requires an electrical current to maintain state. Information stored is lost when the computer is turned off.






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






42. A sequence of one or more characters used to specify the boundary between separate parts of text.






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






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






45. A bottom-most node in a tree with no children.






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






47. A special character that causes the cursor to move to the beginning of the next line.






48. A value passed to a program along with the program's invocation at the command prompt of a command line interface (CLI).






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






50. A variable used to count something - usually initialized to zero and incremented in the body of a loop.