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






2. An operator that takes two operands.






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






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






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






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






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






8. The boolean expression in a conditional statement that determines which branch is executed.






9. An expression in parentheses that acts as a single operand in a larger expression.






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






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






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






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






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






15. A way of developing programs starting with a prototype and gradually testing and improving it.






16. An intermediate language between source code and object code. Many modern languages first compile source code into byte code and then interpret the byte code with a program called a virtual machine.






17. A general process for solving a category of problems.






18. A method that is not invoked directly by a caller but is used by another method to perform part of an operation.






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






20. The node that refers to a given node.






21. Both as a noun and as a verb - it means to increase by 1.






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






23. An assignment to all of the elements in a tuple using a single assignment statement. Useful for swapping values.






24. A name that refers to a value.






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






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






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






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






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






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






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






32. A name used inside a function to refer to the value passed as an argument.






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






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






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






36. The value given to an optional parameter if no argument for it is provided in the function call.






37. An object that belongs to a class.






38. A data type which can be modified.






39. A program in a high-level language before being compiled.






40. A program that translates higher level programming languages into basic instructions the CPU can understand.






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






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






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






44. A statement that creates a new function specifying its name and parameters and the statements it executes.






45. A graphical representation of a set of variables and the values to which they refer.






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






47. A function that returns a boolean value.






48. Information in a program that is meant for other programmers (or anyone reading the source code) and has no effect on the execution of the program.






49. A value provided to a function when the function is called. This value is assigned to the corresponding parameter in the function.






50. A method that acts as a middleman between a caller and a helper method - often making the method easier or less error-prone to invoke.







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