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 two Points and yields a numeric value.






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






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






4. An error that occurs at runtime.






5. The second part of a compound statement. The body consists of a sequence of statements all indented the same amount from the beginning of the header.






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






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






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






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






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






11. An operation whose runtime is a linear function of the size of the data structure.






12. An operator denoted with a percent sign ( %) - that works on integers and yields the remainder when one number is divided by another.






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






14. A thing to which a variable can refer.






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






16. A data type which cannot be modified. Assignments to elements or slices of immutable types cause a runtime error.






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






18. One of the nodes referred to by a node.






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






20. A visual cue that tells the user to input data.






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






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






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






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






25. Part of a program that can never be executed - often because it appears after a return statement.






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






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






28. A way to traverse a tree - visiting the left subtree and then the root and then the right subtree.






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






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






31. A way of developing programs that involves high-level insight into the problem and more planning than incremental development or prototype development.






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






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






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






35. An explicit statement that takes a value of one type and computes a corresponding value of another type.






36. The structure of a program.






37. A syntactic construct which enables lists to be generated from other lists using a syntax analogous to the mathematical set-builder notation.






38. Repeated execution of a set of programming statements.






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






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






41. A user-defined compound type. A class can also be thought of as a template for the objects that are instances of it.






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. A way to traverse a tree - visiting the children of each node before the node itself.






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






46. One of the basic elements of the syntactic structure of a program - analogous to a word in a natural language.






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






48. A process for developing a program.






49. An intermediate language between source code and object code. Many modern languages first compile source code into byte code and then interpret the byte code with a program called a virtual machine.






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