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 way of writing a mathematical expression with each operator appearing before its operands.






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






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






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






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






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






7. An organization of data for the purpose of making it easier to use.






8. A way to traverse a tree - visiting each node before its children.






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






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






11. An embedded reference used to link one object to another.






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






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






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






15. A kind of data structure that can contain data of any type.






16. Repeated execution of a set of programming statements.






17. Extending built-in operators ( + or - or * or > or < etc.) so that they work with user-defined types.






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






19. A character or string used to indicate where a string should be split.






20. A linked list with a single node.






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






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






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






24. An expression that is either true or false.






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






26. To signal an exception using the raise statement.






27. A special character that causes the cursor to move to the next tab stop on the current line.






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






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






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






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






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






33. The node that refers to a given node.






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






35. Use of the dot operator '.' to access functions inside a module.






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






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






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






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






40. A step-by-step process for solving a category of problems.






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






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






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






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






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






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






47. An object that belongs to a class.






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






49. A variable defined inside a module - accessed by using the dot operator ( .).






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