Test your basic knowledge |

General 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. Type of control structure: WHILE-DO






2. ____________ programming is a deterministic approach to problem solving






3. Numbers that contain decimal points - can be any number including decimal numbers. Can be expressed as a scientific notation.






4. In a linear programming problem there are always ____________






5. ______ must have at least one digit before and at least one digit after the decimal`






6. It controls the operation of the entire system and performs the arithmetic and logic operations and and stores and retrieves instructions and data.






7. The grammatical rules of the language.






8. Each element in an array is identified by a number called a ____________ which designates position in the array






9. A variable that can hold a single true/false (1/0) value.






10. Program Heading - Declaration Part (Label section - constant section - type section - variable section - subprogram section).






11. ____________ property: you can group numbers in any way without changing the answer






12. Type of control structure: IF-THEN-ELSE






13. A variable which will keep track of the number of occurrences of a certain transaction






14. Statistics: square root of variance






15. ____________ / divisor = quotient






16. Fixed number of similar data elements - each element can be retrieved through an index.






17. An effective method for solving a problem using a finite sequence of instructions.






18. One of a number of alternative actions is selected and executed.






19. dividend / _____________ = quotient






20. It fetches the instructions from the memory and decodes them and and directs the system to execute the operations indicated by the instructions.






21. Quantities whose values do not change during program execution.






22. In algebraic expression the name of the storage location in which the result would be saved is expressed as ____________ .






23. A reserved word for variable.






24. Allocate memory when needed and return memory when done: _________ _________






25. Type of control structure: REPEAT-UNTIL






26. ______ must be enclosed within single quotes.






27. The steps are performed in a strictly sequential manner - each step being executed exactly once.






28. ____________ property: you can change the order of the numbers involved without changing the result






29. ____________ property: says that if a = b and b = c then a = c.






30. Integer division is denoted by _____






31. Statistical middle






32. A ____________ procedure is one in which a statement or set of statements are embedded within other statements






33. A programming paradigm that uses data structures consisting of datafields and methods together with their interactions - to design applications and computer programs.






34. The information that is given and which items are important in solving the problem.






35. A _________ is a new way to use breakpoints. It is a breakpoint with a custom action associated with it. When hit it causes the debugger to perform the specified action instead of (or in addition to) breaking program execution.






36. 8 (0 - 1 - 2 - 3 - 4 - 5 - 6 - 7)






37. In Linear Programming ____________ variables are used to convert inequalities to equalities






38. _________ is when a procedure or function calls itself






39. Any collection of data to be input to a program or output from a program.






40. It is used to predicts the circuit's lifetime.






41. The assignment statement is also a ____ statement?






42. Type ____ Error: False Positive






43. A string _________ is the operation of joining two character strings end to end.






44. Helpful debugging aids for _________ errors: control totals or control breaks or trace routines






45. Part of the program that may be repeated






46. Examples of _____ are: integer and real and true and false and read and readln and write and writeln.






47. for an "if" statement some languages require and "____________ _______" to close the selection group






48. It allocates storage for programs and data and carry out many other supervisory functions. It acts as an interface between the user and the machine.






49. ____________ is a measure of the amount of variation within the values of that variable taking account of all possible values and their probabilities or weightings (not just the extremes which give the range).






50. Type of error: A violation of rules made by the programmer