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. To simplify an expression by performing the operations in order to yield a single value.






2. The meaning of a program.






3. Another name for a runtime error.






4. Given any real numbers a and b exactly one of the following relations holds: a < b or a > b or a = b. Thus when you can establish that two of the relations are false you can assume the remaining one is true. What is it called?






5. An item of data contained in a node.






6. A program in a high-level language before being compiled.






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






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






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






10. A variable used as part of the terminating condition of a loop.






11. A sequence of one or more characters used to specify the boundary between separate parts of text.






12. The value provided as the result of a function call.






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






14. The process of adding a function header and parameters to a sequence of program statements. This process is very useful whenever the program statements in question are going to be used multiple times.






15. It prevents a compiler from compiling.






16. A function that yields a return value.






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






18. A collection of key-value pairs that maps from keys to values.






19. A part of a string (substring) specified by a range of indices.






20. A special method that is invoked automatically when a new object is created and that initializes the object's attributes.






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






22. A data type that contains a sequence of elements of any type - like a list but is immutable. Can be used wherever an immutable type is required.






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






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






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






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






27. A reserved word that is used by the compiler to parse program; you cannot use keywords like if or def or while as variable names.






28. The structure of a program.






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






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






31. A data type in which the values are made up of components or elements that are themselves values.






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. A language that provides features - such as user-defined classes and inheritance - that facilitate object-oriented programming.






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






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






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






37. The class from which a child class inherits.






38. A definition which defines something in terms of itself. It often provides an elegant way to express complex data structures.






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






40. A function that returns a boolean value.






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






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






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






44. An ordered set of objects waiting for a service of some kind.






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






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






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






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






49. A thing to which a variable can refer.






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







Sorry!:) No result found.

Can you answer 50 questions in 15 minutes?


Let me suggest you:



Major Subjects



Tests & Exams


AP
CLEP
DSST
GRE
SAT
GMAT

Most popular tests