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. Any of the data types that consist of an ordered set of elements with each element identified by an index.






2. To create an instance of a class.






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






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






5. The boolean expression in a conditional statement that determines which branch is executed.






6. The set of operations that define an ADT.






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






8. A statement that creates a new function specifying its name and parameters and the statements it executes.






9. Code that is used during program development but is not part of the final version.






10. Nodes that share a common parent.






11. A compound data type that is often used to model a thing or concept in the real world.






12. The topmost node in a tree with no parent.






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






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






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






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






17. An error in a program.






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






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






20. A change in the state of a program made by calling a function that is not a result of reading the return value from the function. Can only be produced by modifiers.






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






22. A method that is not invoked directly by a caller but is used by another method to perform part of an operation.






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






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






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






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






27. An operator that takes two operands.






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






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






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






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






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






33. The process of formulating a problem and finding a solution and expressing the solution.






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






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






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






37. A name that refers to a value.






38. A name given to a variable.






39. Another name for a runtime error.






40. A variable that is defined inside a class definition but outside any method. These are accessible from any method in the class and are shared by all instances of the class.






41. An error that occurs at runtime.






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






43. One of the operators that combines boolean expressions: and or and not.






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






45. A function that changes one or more of the objects it receives as parameters. Most modifiers are void.






46. A graphical representation of a set of variables and the values to which they refer.






47. To signal an exception using the raise statement.






48. A way to traverse a tree - visiting the children of each node before the node itself.






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






50. A loop inside the body of another loop.