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 character or string used to indicate where a string should be split.






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






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






4. A variable in the sys module which stores a list of command line arguments passed to a program at run time.






5. A loop inside the body of another loop.






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






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






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






9. The set of rules governing the order in which expressions involving multiple operators and operands are evaluated.






10. A process for developing a program.






11. A compound data type that is often used to model a thing or concept in the real world.






12. To join two strings end-to-end.






13. A data type in which the elements can be modified. It is a compound type - e.g. lists.






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






15. A compound data type whose elements cannot be assigned new values.






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






17. The class from which a child class inherits.






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






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






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






21. The block of statements in a compound statement that follows the header.






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






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






24. To read a string of characters or tokens and analyze its grammatical structure.






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






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






27. A collection of key-value pairs that maps from keys to values.






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






29. Part of a program that can never be executed - often because it appears after a return statement.






30. The statement in a recursive function with is a call to itself.






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






32. Having no specific pattern. Unpredictable.






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






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






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 definition which defines something in terms of itself. It often provides an elegant way to express complex data structures.






37. The value provided as the result of a function call.






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






39. A parameter written in a function header with an assignment to a default value which it will receive if no corresponding argument is given for it in the function call.






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






41. It prevents a compiler from compiling.






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






43. The process of finding and removing any of the three kinds of programming errors.






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






45. The code (or the person who wrote it) that implements an ADT.






46. One program structure within another - such as a conditional statement inside a branch of another conditional statement.






47. A statement that controls the flow of execution depending on some condition.






48. An ADT that defines the operations one might perform on a priority queue.






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






50. A visual cue that tells the user to input data.