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. To iterate through the elements of a set performing a similar operation on each.






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






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






4. The meaning of a program.






5. A style of programming in which data and the operations that manipulate it are organized into classes and methods.






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






7. To join two strings end-to-end.






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






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






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






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






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






13. An automatic procedure used to validate that individual units of code are working properly.






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






15. Repeated execution of a set of programming statements.






16. A variable in the sys module which stores a list of command line arguments passed to a program at run time.






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






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






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






20. A linked list with a single node.






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






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






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






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






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






26. A tree in which each node refers to zero or one or two dependent nodes.






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






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






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






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






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






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






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






34. The node that refers to a given node.






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






36. A statement that executes a function. It consists of the name of the function followed by a list of arguments enclosed in parentheses.






37. A collection of key-value pairs that maps from keys to values.






38. An item of data contained in a node.






39. A new class created by inheriting from an existing class; also called a subclass.






40. A number or string (or other things to be named later) that can be stored in a variable or computed in an expression.






41. A way of developing programs starting with a prototype and gradually testing and improving it.






42. One of the pairs of items in a dictionary. Values are looked up in a dictionary by key.






43. The class from which a child class inherits.






44. To examine a program and analyze the syntactic structure.






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






46. A statement that controls the flow of execution depending on some condition.






47. A variable used in a loop to accumulate a series of values - such as by concatenating them onto a string or adding them to a running sum.






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






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






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