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. To prevent an exception from terminating a program using the try and except statements.






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






3. Repeated execution of a set of programming statements.






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






5. One of the pairs of items in a dictionary. Values are looked up in a dictionary by key.






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






7. A program (or the person who wrote it) that uses an ADT.






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






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






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






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






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






13. A loop in which the terminating condition is never satisfied.






14. A syntactic construct which enables lists to be generated from other lists using a syntax analogous to the mathematical set-builder notation.






15. Decrease by 1.






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






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






18. Another name for a runtime error.






19. A special character that causes the cursor to move to the beginning of the next line.






20. A name given to a variable.






21. The ability to combine simple expressions and statements into compound statements and expressions in order to represent complex computations concisely.






22. To create a new object that has the same value as an existing object.






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






24. A queueing policy in which each member has a priority determined by external factors. The member with the highest priority is the first to be removed.






25. The structure of a program.






26. Having no specific pattern. Unpredictable.






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






28. The meaning of a program.






29. A graphical representation of a stack of functions and their variables and the values to which they refer.






30. A data type comprised of a collection of keys and associated values.






31. The statements inside a loop.






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






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






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






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






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






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






38. A file that contains printable characters organized into lines separated by newline characters.






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






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






41. An automatic procedure used to validate that individual units of code are working properly.






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






43. A thing to which a variable can refer.






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






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






46. A statement that consists of two parts: header - which begins with a keyword determining the statement type and ends with a colon. body - containing one or more statements indented the same amount from the header.






47. A function which changes its arguments inside the function body. Only mutable types can be changed by modifiers.






48. A recursive call that occurs as the last statement (at the tail) of a function definition.






49. A statement that assigns a value to a name (variable).






50. Using the output from one function call as the input to another.







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