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 definition which defines something in terms of itself. It often provides an elegant way to express complex data structures.






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






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






4. A step-by-step process for solving a category of problems.






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






6. A function that yields a return value.






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






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






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






10. A change in the state of a program made by calling a function that is not a result of reading the return value from the function. Can only be produced by modifiers.






11. Repeated execution of a set of programming statements.






12. A name given to a variable.






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






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






15. It prevents a compiler from compiling.






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






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






18. A syntactic container providing a context for names so that the same name can reside in different namespaces without ambiguity.






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






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






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. One of the named data items that makes up an instance.






23. A data type which can be modified.






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






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






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






27. The class from which a child class inherits.






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






29. The statements inside a loop.






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






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






32. Any one of the languages that people have designed for specific purposes - such as representing mathematical ideas or computer programs; all programming languages are formal languages.






33. An operation that divides one integer by another and yields an integer. Integer division yields only the whole number of times that the numerator is divisible by the denominator and discards any remainder.






34. Decrease by 1.






35. A data structure that implements a collection using a sequence of linked nodes.






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






37. A statement that executes a function. It consists of the name of the function followed by a list of arguments enclosed in parentheses.






38. Having no specific pattern. Unpredictable.






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






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






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






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






43. Another name for a runtime error.






44. The rules that determine which member of a queue is removed next.






45. A queueing policy in which the first member to arrive is the first to be removed.






46. Function-like attribute of an object. Methods are invoked (called) on an object using the dot operator.






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






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






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






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