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 named collection of files - also called a folder.






2. The ability to combine simple expressions and statements into compound statements and expressions in order to represent complex computations concisely.






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






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






5. A way of writing mathematical expressions with the operators after the operands.






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






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






8. A data type which can be modified.






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






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






11. A file that contains printable characters organized into lines separated by newline characters.






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






13. The topmost node in a tree with no parent.






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






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






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






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






18. A function that returns a boolean value.






19. A loop inside the body of another loop.






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






21. A variable used to count something - usually initialized to zero and incremented in the body of a loop.






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






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






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






25. Given any real numbers a and b exactly one of the following relations holds: a < b or a > b or a = b. Thus when you can establish that two of the relations are false you can assume the remaining one is true. What is it called?






26. A style of program design in which the majority of functions are pure.






27. Another name for a runtime error.






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






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






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






31. It prevents a compiler from compiling.






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






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






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






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






36. An operation that divides one integer by another and yields an integer. Integer division yields only the whole number of times that the numerator is divisible by the denominator and discards any remainder.






37. A program development plan intended to avoid debugging by adding and testing only a small amount of code at a time.






38. A linked list with a single node.






39. Another name for object code that is ready to be executed.






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






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






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






43. The class from which a child class inherits.






44. A string displayed by a command line interface indicating that commands can be entered.






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






46. The statement in a recursive function with is a call to itself.






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






48. A character or string used to indicate where a string should be split.






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






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







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