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 program that translates higher level programming languages into basic instructions the CPU can understand.






2. Generalization by reducing the information content of a concept.






3. A property of a program that can run on more than one kind of computer.






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






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






6. A logical error which stops a program from performing.






7. A data type which can be modified.






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






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






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






11. A character or string used to indicate where a string should be split.






12. A distinct method of operation within a computer program.






13. A set of values. The type of a value determines how it can be used in expressions. So far the types you have seen are integers (type int) and floating-point numbers (type float) and strings (type str).






14. To simplify an expression by performing the operations in order to yield a single value.






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






16. A programming construct that waits for events and processes them.






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






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






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






20. To iterate through the elements of a set performing a similar operation on each.






21. The node that refers to a given node.






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






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






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






25. A data type that contains a sequence of elements of any type - like a list but is immutable. Can be used wherever an immutable type is required.






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






27. A user-defined compound type. A class can also be thought of as a template for the objects that are instances of it.






28. The sequential accessing of each element in a list.






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






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






31. A program development plan intended to avoid debugging by adding and testing only a small amount of code at a time.






32. An error that occurs at runtime.






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






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






35. The statements inside a loop.






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






37. The structure of a program.






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






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






40. A tree in which each node refers to zero or one or two dependent nodes.






41. A numerical value that does not change during the execution of a program.






42. A function that yields a return value.






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






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






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






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






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






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






49. The topmost node in a tree with no parent.






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







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