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






2. The meaning of a program.






3. An ordered set of objects waiting for a service of some kind.






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






5. A thing to which a variable can refer.






6. An organization of data for the purpose of making it easier to use.






7. A variable used as part of the terminating condition of a loop.






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






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






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






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






12. A list that is an element of another list.






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






14. A library is a collection of software used as tools in the development of other software.






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






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






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






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






19. An element of a list - usually implemented as an object that contains a reference to another object of the same type.






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






21. Memory that can maintain its state without power. Hard drives and flash drives and rewritable compact disks (CD-RW) are examples of such memory.






22. An object that belongs to a class.






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






24. It prevents a compiler from compiling.






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






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






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






28. A special method that is invoked automatically when a new object is created and that initializes the object's attributes.






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






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






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






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






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






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






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






36. A list of the functions that are executing - printed when a runtime error occurs. Also commonly refered to as a stack trace since it lists the functions in the order in which they are stored in the runtime stack.






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






38. An error in a program that makes it impossible to parse






39. A style of program design in which the majority of functions are pure.






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






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






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






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






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






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






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






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






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






49. An error that occurs at runtime.






50. The structure of a program.







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