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 does not modify any of the objects it receives as parameters. Most pure functions are fruitful.






2. A reference stored in an attribute of an object.






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






4. A variable or value used to select a member of an ordered set - such as a character from a string.






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






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






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






8. A list of the functions that are executing - printed when a runtime error occurs. Also commonly refered to as a stack trace since it lists the functions in the order in which they are stored in the runtime stack.






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






10. A statement that controls the flow of execution depending on some condition.






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






12. An error that does not occur until the program has started to execute but that prevents the program from continuing.






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






14. Repeated execution of a set of programming statements.






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






16. An error in a program.






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






18. A function that returns a boolean value.






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






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






21. One of the possible paths of the flow of execution determined by conditional execution.






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






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






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






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






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






27. A statement that causes the current iteration of a loop to end.






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






29. A graphical representation of a stack of functions and their variables and the values to which they refer.






30. A special character that causes the cursor to move to the next tab stop on the current line.






31. A data type which can be modified.






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






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






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






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






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






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






38. The second part of a compound statement. The body consists of a sequence of statements all indented the same amount from the beginning of the header.






39. A class definition that implements an ADT with method definitions that are invocations of other methods - sometimes with simple transformations. It does no significant work but it improves or standardizes the interface seen by the client.






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






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






42. A kind of data structure that can contain data of any type.






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






44. A set of instructions for solving a class of problems by a mechanical and unintelligent process.






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






46. A name given to a variable.






47. A distinct method of operation within a computer program.






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






49. One of the named data items that makes up an instance.






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