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. The block of statements in a compound statement that follows the header.






2. To iterate through the elements of a set performing a similar operation on each.






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






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






5. To follow the flow of execution of a program by hand - recording the change of state of the variables and any output produced.






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






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






8. a sequence of instructions that specifies to a computer actions and computations to be performed.






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






10. A compound data type whose elements cannot be assigned new values.






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






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






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






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






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






16. A function that returns a boolean value.






17. To create a new object that has the same value as an existing object.






18. An error that occurs at runtime.






19. A special character that causes the cursor to move to the next tab stop on the current line.






20. A combination of variables and operators and values that represents a single result value.






21. The first part of a compound statement. Headers begin with a keyword and end with a colon (:)






22. A method for naming and accessing and organizing files and the data they contain.






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






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






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






26. A variable defined inside a module - accessed by using the dot operator ( .).






27. A process for developing a program.






28. The topmost node in a tree with no parent.






29. A graphical representation of a set of variables and the values to which they refer.






30. A way of writing mathematical expressions with the operators after the operands.






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






32. The process of adding a function header and parameters to a sequence of program statements. This process is very useful whenever the program statements in question are going to be used multiple times.






33. The meaning of a program.






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






35. A software development practice which arrives at a desired feature through a series of small but iterative steps motivated by automated tests which are written first that express increasing refinements of the desired feature.






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






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






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






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






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






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






42. The class from which a child class inherits.






43. One of the values on which an operator operates.






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






45. A numerical value that does not change during the execution of a program.






46. A style of programming in which data and the operations that manipulate it are organized into classes and methods.






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






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






49. Nodes that share a common parent.






50. A linked list with a single node.