Question

In: Computer Science

Give any simple and very easy example for: Programming and coding standards & Developing and implementing...

Give any simple and very easy example for: Programming and coding standards & Developing and implementing test plans

Solutions

Expert Solution

Programming and coding standards:

These kinds of standards offer a uniform appearance to the program even if it is written by different programmers. This helps in improving the code reliability and minimize complexity.

Example:

For example, take naming conventions for either variables or functions. According to programming standards and coding standards, the name of variables and functions should be

  • Meaningful
  • Understandable
  • In capital letters if it is a constant
  • Without digits

Keeping these standards in mind, if one has to use variables for temperature calculations and create a function for the same, the name of function can be something like 'TemperatureCalculation()' and the name of variables can be temperatureFirst, tempteratureSecond.

This helps the programmer understand what the function and variables are used for.

Developing and implementing test plans:

A test plan is developed by creating a document that includes activities of the program along with the testing scope. The test plan creation also depends on the various inputs given to the code and basic functionality of the functions.

Example:

For example, in the temperature program, before final execution or submission by the developer, the code will be tested by giving the function inputs and checking if the output is correct.

A Calculator program is another example.

Before final implementation, all the operations of the calculator are checked by giving inputs and checking if the output is correct. While developing testing plan in this case:

  • List of all the functional requirements are made
  • List of all the non-functional requirements are made
  • Desired output is checked against actual output.

Related Solutions

SIMPLE EXAMPLE: A company must decide whether to invest $100 Million in developing and implementing a...
SIMPLE EXAMPLE: A company must decide whether to invest $100 Million in developing and implementing a new enterprise system in the face of considerable technological and market (demand for product and market share) uncertainty. The firm's cost of capital is 10%. Evaluate Using NPV Analysis There can be a good and bad result for this investment. Good Result: A good result has a probability of .5 of occurring. Here the planned cost reductions have been realized and better integration of...
1. Explain Simple Regression analysis 2. Give an example of a simple regression equation in any...
1. Explain Simple Regression analysis 2. Give an example of a simple regression equation in any STEM subject 3. How will you implement such the regression model? 4. List some examples of how regression can be used in research and practice in STEM.
Give one example to non-regularity on any programming language that you know. Your should provide an...
Give one example to non-regularity on any programming language that you know. Your should provide an example to each one of the following categories: Generality, Orthogonality, and Uniformity. That is, you will give total three examples and explain why...
Implementing a cryptosystem: Choose one of the following cryptography techniques and implement it using any programming...
Implementing a cryptosystem: Choose one of the following cryptography techniques and implement it using any programming language you prefer. Your program should provide the user with two options Encryption and Decryption, with a simple UI to get the input from the user, and view the result. You can use any restriction you need for the user input but you need to clarify that and validate the user input base on your restriction. ● Feistel ● Keyword columnar ● Any cryptosystem...
can someone give an easy and simple explantion of all the cas proteins involved in the...
can someone give an easy and simple explantion of all the cas proteins involved in the steps (adaption, biogenesis, interference) of bacterial immunity by crispr? i know that the cas9 protein cuts the DNA, but what are all the other proteins involved before that and what do they do? please make it easy to understand. thank you.
What is Linear Programming? Give an example of an application of Linear
What is Linear Programming? Give an example of an application of Linear
**Please write in Java, in a very simple/beginner coding style/language - thank you!** Directions: Given a...
**Please write in Java, in a very simple/beginner coding style/language - thank you!** Directions: Given a factorial n!. Find the sum of its digits, and the number of trailing zeros (ie: the number of zeros at the end of the factorial). Input: integer nn, a non-negative integer where n≤20n≤20 Output: integer xyxy, the concatenation of x and y, where x is the sum of the digits in n! and y is the number of the zeros in n!) Note, 0≤x,y0≤x,y....
Give an example of simple random sampling. what would be the strenghts and weaknesses of simple...
Give an example of simple random sampling. what would be the strenghts and weaknesses of simple random sampling in terms of external validity and sampling error?
Define standards as used in the budgeting process and give a detailed example as part of...
Define standards as used in the budgeting process and give a detailed example as part of your explanation.
What are the different types of environmental standards?  Give an example for each type
What are the different types of environmental standards?  Give an example for each type
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT