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 variable used in a loop to accumulate a series of values - such as by concatenating them onto a string or adding them to a running sum.






2. A data type comprised of a collection of keys and associated values.






3. An embedded reference used to link one object to another.






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






5. 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?






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






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






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






9. A numerical result that is too large to be represented in a numerical format.






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






11. A combination of variables and operators and values that represents a single result value.






12. A named entity - usually stored on a hard drive or floppy disk or CD-ROM - that contains a stream of characters.






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






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






15. Code that is used during program development but is not part of the final version.






16. A function that does not modify any of the objects it receives as parameters. Most pure functions are fruitful.






17. A kind of data structure that can contain data of any type.






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






19. Memory which requires an electrical current to maintain state. Information stored is lost when the computer is turned off.






20. Any of the data types that consist of an ordered set of elements with each element identified by an index.






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






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






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






24. A language that provides features - such as user-defined classes and inheritance - that facilitate object-oriented programming.






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






26. An ordered set of objects waiting for a service of some kind.






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






28. A queueing policy in which the first member to arrive is the first to be removed.






29. The name and location of a file within a file system.






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






31. A way to traverse a tree - visiting the children of each node before the node itself.






32. A statement that creates a new function specifying its name and parameters and the statements it executes.






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






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






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






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






37. Any one of the languages that people have designed for specific purposes - such as representing mathematical ideas or computer programs; all programming languages are formal languages.






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






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






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






41. A method that is not invoked directly by a caller but is used by another method to perform part of an operation.






42. An expression in parentheses that acts as a single operand in a larger expression.






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






44. Extending built-in operators ( + or - or * or > or < etc.) so that they work with user-defined types.






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






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






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. A way to traverse a tree - visiting the left subtree and then the root and then the right subtree.






49. To create an instance of a class.






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







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