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 syntactic construct which enables lists to be generated from other lists using a syntax analogous to the mathematical set-builder notation.






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






3. An operation defined in linear algebra that multiplies each of the coordinates of a Point by a numeric value.






4. An ADT that defines the operations one might perform on a priority queue.






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






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






7. There are exactly two boolean values: True and False.






8. A set of instructions for solving a class of problems by a mechanical and unintelligent process.






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






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






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






12. Using the output from one function call as the input to another.






13. An error in a program that makes it impossible to parse






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






15. The sequence of characters read into the command interpreter in a command line interface.






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 special symbol that represents a simple computation like addition or multiplication or string concatenation.






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






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






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






21. A value passed to a program along with the program's invocation at the command prompt of a command line interface (CLI).






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






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






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






25. A reference stored in an attribute of an object.






26. A general process for solving a category of problems.






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






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






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






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






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






32. The node that refers to a given node.






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






34. A program stored in a file (usually one that will be interpreted).






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






36. A property of a program that can run on more than one kind of computer.






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






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






39. A name used inside a function to refer to the value passed as an argument.






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






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






42. Nodes that share a common parent.






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






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






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






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






47. Another name for object code that is ready to be executed.






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






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






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