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. An assignment to all of the elements in a tuple using a single assignment statement. Useful for swapping values.






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






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






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






5. Nodes that share a common parent.






6. The structure of a program.






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






8. A linked list with a single node.






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






10. A name that refers to a value.






11. A list of the functions that are executing - printed when a runtime error occurs. Also commonly refered to as a stack trace since it lists the functions in the order in which they are stored in the runtime stack.






12. One of the operators that compares two values: == or != or > or < or >= and <=.






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






14. A function which has no side effects. It only makes changes to the calling program through its return values.






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






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






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






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






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






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






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






22. A function that yields a return value.






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






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






25. A data type (usually a collection of objects) that is defined by a set of operations but that can be implemented in a variety of ways.






26. A name given to a variable.






27. Repeated execution of a set of programming statements.






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






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






30. A definition which defines something in terms of itself. It often provides an elegant way to express complex data structures.






31. a sequence of instructions that specifies to a computer actions and computations to be performed.






32. There are exactly two boolean values: True and False.






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






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






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






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






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






38. A programming language that is designed to be easy for a computer to execute; also called machine language or assembly language.






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






40. A variable used to store an intermediate value in a complex calculation.






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






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






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






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






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






46. Use of the dot operator '.' to access functions inside a module.






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






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






49. Any one of the languages that people speak that evolved naturally.






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







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