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 data type in which the elements can be modified. It is a compound type - e.g. lists.






2. A variable defined inside a module - accessed by using the dot operator ( .).






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






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






5. A data type (usually a collection of objects) that is defined by a set of operations but that can be implemented in a variety of ways.






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






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






8. A sequence of one or more characters used to specify the boundary between separate parts of text.






9. A number or string (or other things to be named later) that can be stored in a variable or computed in an expression.






10. A recursive call that occurs as the last statement (at the tail) of a function definition.






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






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






13. An operation defined in linear algebra that multiplies two Points and yields a numeric value.






14. The sequence of characters read into the command interpreter in a command line interface.






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






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






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






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






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






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






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






22. An error in a program that makes it do something other than what the programmer intended.






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






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






25. Memory that can maintain its state without power. Hard drives and flash drives and rewritable compact disks (CD-RW) are examples of such memory.






26. Nodes that share a common parent.






27. A group of consecutive statements with the same indentation.






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






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






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






31. A way of developing programs starting with a prototype and gradually testing and improving it.






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






33. Another name for a runtime error.






34. A bottom-most node in a tree with no children.






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






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






37. An element of a list - usually implemented as an object that contains a reference to another object of the same type.






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






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






40. Repeated execution of a set of programming statements.






41. One of the operators that compares two values: == or != or > or < or >= and <=.






42. It prevents a compiler from compiling.






43. One of the values in a list (or other sequence). The bracket operator selects elements of a list.






44. An operator that takes two operands.






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






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






47. Calling one function from within the body of another or using the return value of one function as an argument to the call of another.






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






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






50. A library is a collection of software used as tools in the development of other software.







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