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 branch of the conditional statement in a recursive function that does not result in a recursive call.






2. An operation that divides one integer by another and yields an integer. Integer division yields only the whole number of times that the numerator is divisible by the denominator and discards any remainder.






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






4. The statements inside a loop.






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






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






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






8. A queueing policy in which the first member to arrive is the first to be removed.






9. To replace something unnecessarily specific (like a constant value) with something appropriately general (like a variable or parameter). It makes code more versatile - more likely to be reused and sometimes even easier to write.






10. An escape character '' followed by one or more printable characters used to designate a nonprintable character.






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






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






13. A variable defined inside a function. A local variable can only be used inside its function.






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






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






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






17. The dot operator ( .) permits access to attributes and functions of a module.






18. To execute a program in a high-level language by translating it one line at a time.






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






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






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






22. Both as a noun and as a verb - it means to increase by 1.






23. A bottom-most node in a tree with no children.






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






25. An operation defined in linear algebra that multiplies each of the coordinates of a Point by a numeric value.






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






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






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






29. A list of the functions that are executing - printed when a runtime error occurs. Also commonly refered to as a stack trace since it lists the functions in the order in which they are stored in the runtime stack.






30. A situation in which two or more names in a given namespace cannot be unambiguously resolved.






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






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






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






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






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






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






37. The node that refers to a given node.






38. The set of operations that define an ADT.






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






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






41. A data type (usually a collection of objects) that is defined by a set of operations but that can be implemented in a variety of ways.






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






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






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






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






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






47. A statement which makes the objects contained in a module available for use within another module.






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






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






50. A data type in which the values are made up of components or elements that are themselves values.






Can you answer 50 questions in 15 minutes?



Let me suggest you:



Major Subjects



Tests & Exams


AP
CLEP
DSST
GRE
SAT
GMAT

Most popular tests