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. Any of the characters that move the cursor without printing visible characters. The constant string.whitespace contains all the white-space characters.






2. To examine a program and analyze the syntactic structure.






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






4. A style of programming in which data and the operations that manipulate it are organized into classes and methods.






5. The boolean expression in a conditional statement that determines which branch is executed.






6. A signal such as a keyboard press or mouse click or message from another program.






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






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






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






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






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






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






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






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






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






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






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






18. A situation in which two or more names in a given namespace cannot be unambiguously resolved.






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






20. To divide a large complex program into components (like functions) and isolate the components from each other (by using local variables - for example).






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






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






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






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






25. A programming language that is designed to be easy for humans to read and write.






26. One of the basic elements of the syntactic structure of a program - analogous to a word in a natural language.






27. The class from which a child class inherits.






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






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






30. It prevents a compiler from compiling.






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






32. Temporary storage of a precomputed value to avoid redundant computation.






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






34. An organization of data for the purpose of making it easier to use.






35. A conditional branch with more than two possible flows of execution.






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






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






38. A property of a program that can run on more than one kind of computer.






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






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






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






42. A function that yields a return value.






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






44. Making more than one assignment to the same variable during the execution of a program.






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






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






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






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






49. The node that refers to a given node.






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







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