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 value passed to a program along with the program's invocation at the command prompt of a command line interface (CLI).






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






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






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






5. To create an instance of a class.






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






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






8. A variable used to count something - usually initialized to zero and incremented in the body of a loop.






9. A reference stored in an attribute of an object.






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






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






12. One of the possible paths of the flow of execution determined by conditional execution.






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






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






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






16. A name given to a variable.






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






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






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






20. A syntactic container providing a context for names so that the same name can reside in different namespaces without ambiguity.






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






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






23. A named collection of objects where each object is identified by an index.






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






25. It prevents a compiler from compiling.






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






27. A linked list with a single node.






28. A variable used in a loop to accumulate a series of values - such as by concatenating them onto a string or adding them to a running sum.






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






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






31. The second part of a compound statement. The body consists of a sequence of statements all indented the same amount from the beginning of the header.






32. A way of developing programs that involves high-level insight into the problem and more planning than incremental development or prototype development.






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






34. An operation whose runtime does not depend on the size of the data structure.






35. To divide a large complex program into components (like functions) and isolate the components from each other (by using local variables - for example).






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






37. Having no specific pattern. Unpredictable.






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






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






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






41. An error that occurs at runtime.






42. The statements inside a loop.






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






44. To signal an exception using the raise statement.






45. A sequence of one or more characters used to specify the boundary between separate parts of text.






46. Repeated execution of a set of programming statements.






47. A bottom-most node in a tree with no children.






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






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






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







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