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 sequence of one or more characters used to specify the boundary between separate parts of text.






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. An operation whose runtime does not depend on the size of the data structure.






4. A thing to which a variable can refer.






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






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






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






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






9. A method that acts as a middleman between a caller and a helper method - often making the method easier or less error-prone to invoke.






10. Having no specific pattern. Unpredictable.






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






12. A program in a high-level language before being compiled.






13. A syntactic container providing a context for names so that the same name can reside in different namespaces without ambiguity.






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






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






16. Repeated execution of a set of programming statements.






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






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






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






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






21. A statement that causes the current iteration of a loop to end.






22. 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).






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






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






25. An error that does not occur until the program has started to execute but that prevents the program from continuing.






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






27. A function that returns a boolean value.






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






29. The first part of a compound statement. Headers begin with a keyword and end with a colon (:)






30. A part of a string (substring) specified by a range of indices.






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






32. A box in a stack diagram that represents a function call. It contains the local variables and parameters of the function.






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






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






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






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






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






38. A loop inside the body of another loop.






39. An integer variable or value that indicates an element of a list.






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






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






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






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






44. To create an instance of a class.






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






46. A list that is an element of another list.






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






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






49. The process of finding and removing any of the three kinds of programming errors.






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