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 data type comprised of a collection of keys and associated values.






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






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






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






5. An assignment to all of the elements in a tuple using a single assignment statement. Useful for swapping values.






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






7. One of the named data items that makes up an instance.






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






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






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






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






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






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






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






15. Memory that can maintain its state without power. Hard drives and flash drives and rewritable compact disks (CD-RW) are examples of such memory.






16. A statement that assigns a value to a name (variable).






17. A statement that consists of two parts: header - which begins with a keyword determining the statement type and ends with a colon. body - containing one or more statements indented the same amount from the header.






18. A programming construct that waits for events and processes them.






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






20. A variable used to store an intermediate value in a complex calculation.






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






22. The set of nodes equidistant from the root.






23. An ADT that performs the operations one might perform on a queue.






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






25. An expression that is either true or false.






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






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






28. The rules that determine which member of a queue is removed next.






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






30. The set of rules governing the order in which expressions involving multiple operators and operands are evaluated.






31. A function which has no side effects. It only makes changes to the calling program through its return values.






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






33. An ordered set of objects waiting for a service of some kind.






34. A programming language that is designed to be easy for a computer to execute; also called machine language or assembly language.






35. A file that contains printable characters organized into lines separated by newline characters.






36. Generalization by reducing the information content of a concept.






37. A loop inside the body of another loop.






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






39. A software development practice which arrives at a desired feature through a series of small but iterative steps motivated by automated tests which are written first that express increasing refinements of the desired feature.






40. A library is a collection of software used as tools in the development of other software.






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






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






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






44. A set of characters that are treated as a unit for purposes of parsing such as the words in a natural language.






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






46. A way of writing a mathematical expression with each operator appearing before its operands.






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






48. An item of data contained in a node.






49. Having no specific pattern. Unpredictable.






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