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 dot operator ( .) permits access to attributes and functions of a module.






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






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






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






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






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






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






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






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






10. The interval between successive elements of a linear sequence. The third (and optional argument) to the range function is called the step size. If not specified it defaults to 1.






11. The boolean expression in a conditional statement that determines which branch is executed.






12. A function that changes one or more of the objects it receives as parameters. Most modifiers are void.






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






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






15. It prevents a compiler from compiling.






16. An item of data contained in a node.






17. A function which changes its arguments inside the function body. Only mutable types can be changed by modifiers.






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






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






20. An error that does not occur until the program has started to execute but that prevents the program from continuing.






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






22. A statement that causes the current iteration of a loop to end.






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






24. The meaning of a program.






25. A queueing policy in which each member has a priority determined by external factors. The member with the highest priority is the first to be removed.






26. Memory that can maintain its state without power. Hard drives and flash drives and rewritable compact disks (CD-RW) are examples of such memory.






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






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






29. A user-defined compound type. A class can also be thought of as a template for the objects that are instances of it.






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






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






32. Any one of the languages that people speak that evolved naturally.






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






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






35. An expression that is either true or false.






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






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






38. The code (or the person who wrote it) that implements an ADT.






39. A way of developing programs starting with a prototype and gradually testing and improving it.






40. A parameter written in a function header with an assignment to a default value which it will receive if no corresponding argument is given for it in the function call.






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






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






43. Code that satisfies the syntactic and semantic requirements of an interface.






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






45. An error that occurs at runtime.






46. A class definition that implements an ADT with method definitions that are invocations of other methods - sometimes with simple transformations. It does no significant work but it improves or standardizes the interface seen by the client.






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






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






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






50. To execute a program in a high-level language by translating it one line at a time.