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 function that calls itself recursively without ever reaching the base case - ultimately causes a runtime error.






2. An expression that is either true or false.






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






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






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






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






7. A function that does not modify any of the objects it receives as parameters. Most pure functions are fruitful.






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






9. The set of nodes equidistant from the root.






10. Any one of the languages that people speak that evolved naturally.






11. To replace something unnecessarily specific (like a constant value) with something appropriately general (like a variable or parameter). It makes code more versatile - more likely to be reused and sometimes even easier to write.






12. The process of finding and removing any of the three kinds of programming errors.






13. A function which changes its arguments inside the function body. Only mutable types can be changed by modifiers.






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






15. An ADT that performs the operations one might perform on a queue.






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






17. Function-like attribute of an object. Methods are invoked (called) on an object using the dot operator.






18. A parameter written in a function header with an assignment to a default value which it will receive if no corresponding argument is given for it in the function call.






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






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






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






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






23. A reference to a list node can be treated as a single object or as the first in a list of nodes.






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






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






26. A data type comprised of a collection of keys and associated values.






27. A way of writing a mathematical expression with each operator appearing before its operands.






28. A process for developing a program.






29. To join two strings end-to-end.






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






31. The process of formulating a problem and finding a solution and expressing the solution.






32. A method that acts as a middleman between a caller and a helper method - often making the method easier or less error-prone to invoke.






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






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






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






36. An item of data contained in a node.






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






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






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






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






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






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






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






44. A visual cue that tells the user to input data.






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






46. A syntactic container providing a context for names so that the same name can reside in different namespaces without ambiguity.






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






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






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






50. Nodes that share a common parent.







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