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 reference stored in an attribute of an object.






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






3. The name and location of a file within a file system.






4. A programming language that is designed to be easy for humans to read and write.






5. A special symbol that represents a simple computation like addition or multiplication or string concatenation.






6. To create an instance of a class.






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






8. A compound data type whose elements cannot be assigned new values.






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






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






11. A box in a stack diagram that represents a function call. It contains the local variables and parameters of the function.






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






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






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






15. A character that is used to separate tokens such as punctuation in a natural language.






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






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






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






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






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






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






22. Having no specific pattern. Unpredictable.






23. A program development plan intended to avoid debugging by adding and testing only a small amount of code at a time.






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






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






26. A statement or group of statements that execute repeatedly until a terminating condition is satisfied.






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






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






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






30. The statements inside a loop.






31. Making more than one assignment to the same variable during the execution of a program.






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






33. An explicit statement that takes a value of one type and computes a corresponding value of another type.






34. A thing to which a variable can refer.






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






36. A value passed to a program along with the program's invocation at the command prompt of a command line interface (CLI).






37. An assertion that should be true of an object at all times (except perhaps while the object is being modified).






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






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






40. A name that refers to a value.






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






42. A numerical result that is too large to be represented in a numerical format.






43. The set of operations that define an ADT.






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






45. A style of program design in which the majority of functions are pure.






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






47. A numerical value that does not change during the execution of a program.






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






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






50. An operation whose runtime is a linear function of the size of the data structure.