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. The value given to an optional parameter if no argument for it is provided in the function call.






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






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






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






5. One of the pairs of items in a dictionary. Values are looked up in a dictionary by key.






6. Use of the dot operator '.' to access functions inside a module.






7. There are exactly two boolean values: True and False.






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






9. A value passed to a program along with the program's invocation at the command prompt of a command line interface (CLI).






10. An error that occurs at runtime.






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






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






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






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






15. To signal an exception using the raise statement.






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






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






18. A data type which can be modified.






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






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






21. A way to traverse a tree - visiting each node before its children.






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






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






24. A special character that causes the cursor to move to the beginning of the next line.






25. A name that refers to a value.






26. A variable that is defined inside a class definition but outside any method. These are accessible from any method in the class and are shared by all instances of the class.






27. To simplify an expression by performing the operations in order to yield a single value.






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






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






30. The dot operator ( .) permits access to attributes and functions of a module.






31. A named collection of objects where each object is identified by an index.






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






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






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






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






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






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






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 set of instructions for solving a class of problems by a mechanical and unintelligent process.






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






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






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






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






44. The interval between successive elements of a linear sequence. The third (and optional argument) to the range function is called the step size. If not specified it defaults to 1.






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






46. A way to traverse a tree - visiting the left subtree and then the root and then the right subtree.






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






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






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






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







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