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 step-by-step process for solving a category of problems.






2. An operator that takes two operands.






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






4. A branch of the conditional statement in a recursive function that does not result in a recursive call.






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






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






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






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






9. The meaning of a program.






10. To create an instance of a class.






11. A variable defined inside a function. A local variable can only be used inside its function.






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






13. The node that refers to a given node.






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






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






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






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






18. A way of writing mathematical expressions with the operators between the operands.






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






20. One of the operators that combines boolean expressions: and or and not.






21. The structure of a program.






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






23. To replace something unnecessarily specific (like a constant value) with something appropriately general (like a variable or parameter). It makes code more versatile - more likely to be reused and sometimes even easier to write.






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






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






26. To follow the flow of execution of a program by hand - recording the change of state of the variables and any output produced.






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






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






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






30. A name that refers to a value.






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






32. A value passed to a program along with the program's invocation at the command prompt of a command line interface (CLI).






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






34. Repeated execution of a set of programming statements.






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






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






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






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






39. An operation defined in linear algebra that multiplies each of the coordinates of a Point by a numeric value.






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






41. A function that yields a return value.






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






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






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






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






46. A character that is used to separate tokens such as punctuation in a natural language.






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






48. A linked list with a single node.






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






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






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