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 in which the elements can be modified. It is a compound type - e.g. lists.






2. To iterate through the elements of a set performing a similar operation on each.






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






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






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






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






7. A program that translates higher level programming languages into basic instructions the CPU can understand.






8. A branch of the conditional statement in a recursive function that does not result in a recursive call.






9. Information in a program that is meant for other programmers (or anyone reading the source code) and has no effect on the execution of the program.






10. A data type which cannot be modified. Assignments to elements or slices of immutable types cause a runtime error.






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






12. A recursive call that occurs as the last statement (at the tail) of a function definition.






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






14. An expression in parentheses that acts as a single operand in a larger expression.






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






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






17. An error in a program that makes it do something other than what the programmer intended.






18. To read a string of characters or tokens and analyze its grammatical structure.






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






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






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






22. The sequential accessing of each element in a list.






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






24. A function that is defined inside a class definition and is invoked on instances of that class. :override:: To replace a default. Examples include replacing a default parameter with a particular argument and replacing a default method by providing a






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






27. The structure of a program.






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






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






30. An implementation of a queue using a linked list.






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






32. To prevent an exception from terminating a program using the try and except statements.






33. One of the operators that compares two values: == or != or > or < or >= and <=.






34. An operator that takes two operands.






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






36. Temporary storage of a precomputed value to avoid redundant computation.






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






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






39. The block of statements in a compound statement that follows the header.






40. A combination of variables and operators and values that represents a single result value.






41. Any of the data types that consist of an ordered set of elements with each element identified by an index.






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






43. Nodes that share a common parent.






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






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






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






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






48. A special character that causes the cursor to move to the beginning of the next line.






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






50. One of the values in a list (or other sequence). The bracket operator selects elements of a list.