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 programming construct that waits for events and processes them.






2. The ability to define a new class that is a modified version of a previously defined class.






3. The set of nodes equidistant from the root.






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






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






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






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






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






9. The process of calling the function that is currently executing.






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






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






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






13. To prevent an exception from terminating a program using the try and except statements.






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






15. An escape character '' followed by one or more printable characters used to designate a nonprintable character.






16. A queueing policy in which each member has a priority determined by external factors. The member with the highest priority is the first to be removed.






17. An error that occurs at runtime.






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






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






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






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






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






23. The structure of a program.






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






25. A name given to a variable.






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






27. To signal an exception using the raise statement.






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






29. A data item that is mapped to a value in a dictionary. Used to look up values in a dictionary.






30. A statement that executes a function. It consists of the name of the function followed by a list of arguments enclosed in parentheses.






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






32. A function that changes one or more of the objects it receives as parameters. Most modifiers are void.






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






34. A syntactic construct which enables lists to be generated from other lists using a syntax analogous to the mathematical set-builder notation.






35. The node that refers to a given node.






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






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






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






39. An operator denoted with a percent sign ( %) - that works on integers and yields the remainder when one number is divided by another.






40. An assertion that must be true in order for a method to work correctly.






41. The value given to an optional parameter if no argument for it is provided in the function call.






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






43. A new class created by inheriting from an existing class; also called a subclass.






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






45. A way of writing mathematical expressions with the operators between the operands.






46. Using the output from one function call as the input to another.






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






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






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






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







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