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. One of the nodes referred to by a node.






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






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






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






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






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






7. A logical error which stops a program from performing.






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






9. Multiple variables that contain references to the same object.






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






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






12. A name given to a variable.






13. One of the basic elements of the syntactic structure of a program - analogous to a word in a natural language.






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






15. A loop inside the body of another loop.






16. A data structure that implements a collection using a sequence of linked nodes.






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






18. The statements inside a loop.






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






20. A tree in which each node refers to zero or one or two dependent nodes.






21. A loop in which the terminating condition is never satisfied.






22. A named sequence of statements that performs some useful operation. Functions may or may not take parameters and may or may not produce a result.






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






24. A function that yields a return value.






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






26. A linked list with a single node.






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






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






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






30. An assertion that should be true of an object at all times (except perhaps while the object is being modified).






31. The set of operations that define an ADT.






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






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






34. An expression that is either true or false.






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






36. A set of values. The type of a value determines how it can be used in expressions. So far the types you have seen are integers (type int) and floating-point numbers (type float) and strings (type str).






37. To follow the flow of execution of a program by hand - recording the change of state of the variables and any output produced.






38. A named collection of files - also called a folder.






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






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






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






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






43. Any of the characters that move the cursor without printing visible characters. The constant string.whitespace contains all the white-space characters.






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






45. An item of data contained in a node.






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






47. An error that occurs at runtime.






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






49. A string constant on the first line of a function or module definition - they provide a convenient way to associate documentation with code.






50. A data type in which the elements can be modified. It is a compound type - e.g. lists.







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