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 set of instructions for solving a class of problems by a mechanical and unintelligent process.






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






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






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






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






6. A compound data type whose elements cannot be assigned new values.






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






8. A variable used as part of the terminating condition of a loop.






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






10. The set of operations that define an ADT.






11. The statements inside a loop.






12. The ability to define a new class that is a modified version of a previously defined class.






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






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






15. A function that calls itself recursively without ever reaching the base case - ultimately causes a runtime error.






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






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






18. The node that refers to a given node.






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






20. It prevents a compiler from compiling.






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






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






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






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






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






26. The output of the compiler after it translates the program.






27. A data type in which the values are made up of components or elements that are themselves values.






28. A data type in which the elements can be modified. It is a compound type - e.g. lists.






29. A variable defined inside a function. A local variable can only be used inside its function.






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






31. A set of characters that are treated as a unit for purposes of parsing such as the words in a natural language.






32. A way of writing a mathematical expression with each operator appearing before its operands.






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






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






35. Having no specific pattern. Unpredictable.






36. The meaning of a program.






37. Any of the characters that move the cursor without printing visible characters. The constant string.whitespace contains all the white-space characters.






38. To create an instance of a class.






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






40. The dot operator ( .) permits access to attributes and functions of a module.






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






42. A numerical value that does not change during the execution of a program.






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






44. A function that yields a return value.






45. An error in a program that makes it do something other than what the programmer intended.






46. An object that belongs to a class.






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






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






49. A style of program design in which the majority of functions are pure.






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