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 special symbol that represents a simple computation like addition or multiplication or string concatenation.






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






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






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






5. One of the named data items that makes up an instance.






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






7. An expression that is either true or false.






8. Function-like attribute of an object. Methods are invoked (called) on an object using the dot operator.






9. To examine a program and analyze the syntactic structure.






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






11. A special character that causes the cursor to move to the next tab stop on the current line.






12. A function that can operate on more than one type. If all the operations in a function can be applied to a type then the function can be applied to a type.






13. A string constant on the first line of a function or module definition - they provide a convenient way to associate documentation with code.






14. A data type in which the elements can be modified. It is a compound type - e.g. lists.






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






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






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






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






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






20. Code that satisfies the syntactic and semantic requirements of an interface.






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






22. The structure of a program.






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






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






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






26. A named collection of files - also called a folder.






27. The dot operator ( .) permits access to attributes and functions of a module.






28. A class definition that implements an ADT with method definitions that are invocations of other methods - sometimes with simple transformations. It does no significant work but it improves or standardizes the interface seen by the client.






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






30. An operation defined in linear algebra that multiplies each of the coordinates of a Point by a numeric value.






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






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






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






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






35. A conditional branch with more than two possible flows of execution.






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






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






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






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






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






41. The output of the compiler after it translates the program.






42. A linked list with a single node.






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






44. A data type which cannot be modified. Assignments to elements or slices of immutable types cause a runtime error.






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






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






47. A statement that controls the flow of execution depending on some condition.






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






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






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