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 statements inside a loop.






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






3. Another name for a runtime error.






4. A function that calls itself recursively without ever reaching the base case - ultimately causes a runtime error.






5. A way of developing programs that involves high-level insight into the problem and more planning than incremental development or prototype development.






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






7. An implementation of a queue using a linked list.






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






9. An error in a program.






10. A reserved word that is used by the compiler to parse program; you cannot use keywords like if or def or while as variable names.






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






12. To signal an exception using the raise statement.






13. To represent one set of values using another set of values by constructing a mapping between them.






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






15. An assignment to all of the elements in a tuple using a single assignment statement. Useful for swapping values.






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






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






18. A named sequence of statements that performs some useful operation. Functions may or may not take parameters and may or may not produce a result.






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






20. The rules that determine which member of a queue is removed next.






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






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






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






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






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. An organization of data for the purpose of making it easier to use.






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






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






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






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






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






32. Repeated execution of a set of programming statements.






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






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






35. A software development practice which arrives at a desired feature through a series of small but iterative steps motivated by automated tests which are written first that express increasing refinements of the desired feature.






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






37. A list that is an element of another list.






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






39. An operation whose runtime is a linear function of the size of the data structure.






40. One of the values on which an operator operates.






41. Generalization by reducing the information content of a concept.






42. A set of characters that are treated as a unit for purposes of parsing such as the words in a natural language.






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






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






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






46. An invisible marker that keeps track of where the next character will be printed.






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






48. A step-by-step process for solving a category of problems.






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






50. An assertion that must be true in order for a method to work correctly.







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