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. An operation defined in linear algebra that multiplies each of the coordinates of a Point by a numeric value.






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






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






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






5. A programming language that is designed to be easy for a computer to execute; also called machine language or assembly language.






6. A thing to which a variable can refer.






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






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






9. An error in a program.






10. A special method that is invoked automatically when a new object is created and that initializes the object's attributes.






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






12. A set of values. The type of a value determines how it can be used in expressions. So far the types you have seen are integers (type int) and floating-point numbers (type float) and strings (type str).






13. Another name for a runtime error.






14. A language that provides features - such as user-defined classes and inheritance - that facilitate object-oriented programming.






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






16. To signal an exception using the raise statement.






17. It prevents a compiler from compiling.






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






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






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






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






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






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






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






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






26. A loop in which the terminating condition is never satisfied.






27. A numerical result that is too large to be represented in a numerical format.






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






29. A way of writing mathematical expressions with the operators after the operands.






30. A loop inside the body of another loop.






31. A data type that contains a sequence of elements of any type - like a list but is immutable. Can be used wherever an immutable type is required.






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






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






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






35. A special character that causes the cursor to move to the next tab stop on the current line.






36. The set of operations that define an ADT.






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






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






39. A function that does not modify any of the objects it receives as parameters. Most pure functions are fruitful.






40. A way of writing mathematical expressions with the operators between the operands.






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






42. A sequence of one or more characters used to specify the boundary between separate parts of text.






43. Nodes that share a common parent.






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






45. A reserved word that is used by the compiler to parse program; you cannot use keywords like if or def or while as variable names.






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






47. A named collection of objects where each object is identified by an index.






48. An ordered set of objects waiting for a service of some kind.






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






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