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. Any of the characters that move the cursor without printing visible characters. The constant string.whitespace contains all the white-space characters.






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






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






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






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






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






7. Any one of the languages that people have designed for specific purposes - such as representing mathematical ideas or computer programs; all programming languages are formal languages.






8. The code (or the person who wrote it) that implements an ADT.






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






10. An assertion that must be true in order for a method to work correctly.






11. Memory which requires an electrical current to maintain state. Information stored is lost when the computer is turned off.






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






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






14. The process of calling the function that is currently executing.






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






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






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






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






19. The meaning of a program.






20. Another name for a runtime error.






21. Code that satisfies the syntactic and semantic requirements of an interface.






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






23. An error in a program that makes it impossible to parse






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






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






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






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. The set of operations that define an ADT.






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






30. A new class created by inheriting from an existing class; also called a subclass.






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






32. A syntactic construct which enables lists to be generated from other lists using a syntax analogous to the mathematical set-builder notation.






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






34. An element of a list - usually implemented as an object that contains a reference to another object of the same type.






35. The interval between successive elements of a linear sequence. The third (and optional argument) to the range function is called the step size. If not specified it defaults to 1.






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






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






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






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






40. An item of data contained in a node.






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






42. To translate a program written in a high-level language into a low-level language all at once - in preparation for later execution.






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






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






45. A language that provides features - such as user-defined classes and inheritance - that facilitate object-oriented programming.






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






47. A method for naming and accessing and organizing files and the data they contain.






48. An error that occurs at runtime.






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






50. One of the nodes referred to by a node.