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. Code that is used during program development but is not part of the final version.






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






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






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






5. A signal such as a keyboard press or mouse click or message from another program.






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






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






8. A statement that creates a new function specifying its name and parameters and the statements it executes.






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






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






11. A variable used to count something - usually initialized to zero and incremented in the body of a loop.






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






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






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






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






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






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






18. The structure of a program.






19. A linked list with a single node.






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






21. A variable in the sys module which stores a list of command line arguments passed to a program at run time.






22. To create an instance of a class.






23. An expression that is either true or false.






24. An integer variable or value that indicates an element of a list.






25. Decrease by 1.






26. A way to traverse a tree - visiting the children of each node before the node itself.






27. A name given to a variable.






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






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






30. The topmost node in a tree with no parent.






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






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






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






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






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






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






37. A process for developing a program.






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






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






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






41. A variable used in a loop to accumulate a series of values - such as by concatenating them onto a string or adding them to a running sum.






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






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






44. A bottom-most node in a tree with no children.






45. Both as a noun and as a verb - it means to increase by 1.






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






47. A property of a program that can run on more than one kind of computer.






48. To create a new object that has the same value as an existing object.






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






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