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 special character that causes the cursor to move to the beginning of the next line.






2. The set of operations that define an ADT.






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






4. A compound data type that is often used to model a thing or concept in the real world.






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






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






7. The statements inside a loop.






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






9. A thing to which a variable can refer.






10. A data item that is mapped to a value in a dictionary. Used to look up values in a dictionary.






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






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






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






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






15. The class from which a child class inherits.






16. Information in a program that is meant for other programmers (or anyone reading the source code) and has no effect on the execution of the program.






17. A recursive call that occurs as the last statement (at the tail) of a function definition.






18. One of the values in a list (or other sequence). The bracket operator selects elements of a list.






19. Making more than one assignment to the same variable during the execution of a program.






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






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






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






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






24. The value provided as the result of a function call.






25. An error that occurs at runtime.






26. A function which has no side effects. It only makes changes to the calling program through its return values.






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






28. An object that belongs to a class.






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






30. A numerical result that is too large to be represented in a numerical format.






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






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






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






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






35. A collection of key-value pairs that maps from keys to values.






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






37. To create an instance of a class.






38. A language that provides features - such as user-defined classes and inheritance - that facilitate object-oriented programming.






39. An operator that takes two operands.






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






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






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






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






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






45. The process of formulating a problem and finding a solution and expressing the solution.






46. A logical error which stops a program from performing.






47. One of the basic elements of the syntactic structure of a program - analogous to a word in a natural language.






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






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






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