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 process of calling the function that is currently executing.






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






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






4. A function that yields a return value.






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






6. A thing to which a variable can refer.






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






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






9. A statement which makes the objects contained in a module available for use within another module.






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






11. An error that occurs at runtime.






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






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






14. An integer variable or value that indicates an element of a list.






15. A statement or group of statements that execute repeatedly until a terminating condition is satisfied.






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






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






18. A data item that is mapped to a value in a dictionary. Used to look up values in a dictionary.






19. Any of the data types that consist of an ordered set of elements with each element identified by an index.






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






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






22. It prevents a compiler from compiling.






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






24. An expression that is either true or false.






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






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






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






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






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






30. The meaning of a program.






31. The sequence of characters read into the command interpreter in a command line interface.






32. An operation defined in linear algebra that multiplies two Points and yields a numeric value.






33. The first part of a compound statement. Headers begin with a keyword and end with a colon (:)






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






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






36. One of the nodes referred to by a node.






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






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






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






40. An ADT that performs the operations one might perform on a queue.






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






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






43. A process for developing a program.






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






45. The order in which statements are executed during a program run.






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






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






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






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






50. A combination of variables and operators and values that represents a single result value.