Write a note on Coding guidelines Guidelines for developing-00721

Online Quiz This subjective question is related to the book/course vu cs501 Advance Computer Architecture. It can also be found in vu cs501 Mid Term Solved Past Paper No. 1.

Question 1: Write a note on:
  1. Coding guidelines
  2. Guidelines for developing short programs.
Answer:
Coding guidelines
  1. Always use semicolons to end statements
  2. Indent blocks of code (2 to 5 spaces)
  3. Identifiers
  4. Use the camel back scheme
  5. Variables: nouns
  6. Functions: verbs
  7. Comment Liberally
  8. Make them descriptive but concise
Gudelines for developing short programs.
  1. Read and understand the problem
  2. Do you have all the required data?
  3. No: Get it
  4. Else assume it. State it explicitly
  5. Do the design

Choose an organization

Theme Customizer

Gaussian Texture



Gradient Background