Sunday, September 14, 2014

Programming Notes

Are you able to explain the following:
  1. Syntax
  2. Control Structures (remember there are three of them)
  3. Pseudocode
  4. Robust
  5. Internal documentation
  6. Source Code
  7. Object Code
  8. Prompt
  9. Literals
  10. Conditional constructs (also three of them)
  11. Variable
  12. Constant
  13. The attributes of an algorithm
  14. The steps in the Problem Solving Phase
  15. Verification and validation checks
  16. Serial, Sequential, Index Sequential, Random Access
If not, you may want to spend some extra time studying for your upcoming test.

Can you identify the...
  1. syntax of a simple algorithm
  2. syntax of a conditional algorithm
  3. syntax for all three conditional constructs
  4. syntax for an assignment statement
How about being able to write a simple algorithm or a conditional algorithm?
Do you know what the debugging process entail?  The three types of errors that the compiler checks for?  Do you know what the difference is between a compiler and an interpreter?

Try solving the following problem, and see how efficiently you can do so:

The Carnival had 14 bands in it.  8 adult bands and 6 junior bands.  The organizers of the carnival charged the fee of $150.00 for each adult band and $100.00 for each junior band.  These fees were to offset the cost paid to the city council for road access and clean up, and the police department for security.  The city council charged a fee of $400.00 and the police department charged a fee of $500.00.  Calculate the total fee collected, and determine and state whether or not there was sufficient money collected to cover all fees.

No comments:

Post a Comment