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 loop in which the terminating condition is never satisfied.






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






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






4. A data type comprised of a collection of keys and associated values.






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






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






7. Calling one function from within the body of another or using the return value of one function as an argument to the call of another.






8. A variable that is defined inside a class definition but outside any method. These are accessible from any method in the class and are shared by all instances of the class.






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






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






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






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






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






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






15. The set of nodes equidistant from the root.






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






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






18. A statement that assigns a value to a name (variable).






19. The value given to an optional parameter if no argument for it is provided in the function call.






20. Having no specific pattern. Unpredictable.






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






22. An operation defined in linear algebra that multiplies two Points and yields a numeric value.






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






24. A named sequence of statements that performs some useful operation. Functions may or may not take parameters and may or may not produce a result.






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






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






27. An error that occurs at runtime.






28. Decrease by 1.






29. A way to traverse a tree - visiting each node before its children.






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






31. A named entity - usually stored on a hard drive or floppy disk or CD-ROM - that contains a stream of characters.






32. An escape character '' followed by one or more printable characters used to designate a nonprintable character.






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






34. A branch of the conditional statement in a recursive function that does not result in a recursive call.






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






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






37. A variable used to store an intermediate value in a complex calculation.






38. An assertion that must be true in order for a method to work correctly.






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






40. A statement or group of statements that execute repeatedly until a terminating condition is satisfied.






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






42. A loop inside the body of another loop.






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






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






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






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






47. A function that returns a boolean value.






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






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






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