Answer to Question #38010 in C# for kuldeep




 Joe has joined FIT technologies recently as a software developer. He is a fresher and does not  

know advanced programming techniques. To include him in the team that is developing the  

application, Damien, the Project Manager, decides to conduct a test for him. He prepares a test  

that includes the following questions
Dear visitor,  
Unfortunately, the statement of your question is a bit confusing.   
What do you need to be done? Please, give us the details so we could help you.
![A Software Test Engineer](https://cpentalk.com/?qa=blob&qa_blobid=12836291948296319823)

Testing is a process, which shows a program does what it is intended to do and it helps to discover program defects before it is put into use. 


> It is not necessary for a program to be completely free of defects before it is delivered to its customers because it is not always (99% of the time) possible to deliver a defect free product to the customer which is of 100% quality.
> 
> 

And testing cannot completely validate that a system is fit for its intended purpose as this requires a detailed knowledge of what that purpose will be and exactly how the system will be used. As these details inevitably change between deciding to procure a system and deploying that system, the testing will be necessarily incomplete.

In addition, it is practically impossible for all except trivial system to have a complete test set that covers all possible ways that the system is likely to be used.

**A program need not be completely free of defects before delivery if:**

1. Remaining defects are minor defects that do not cause system corruption and which are transient i.e. which can be cleared when new data is input.

2. Remaining defects are such that they are recoverable and a recovery function that causes minimum user disruption is available.

3. The benefits to the customer's business from the system exceed the problems that might be caused by the remaining system defects.





Please leave a comment below if you found this answer helpful. Happy learning! Your test is redundant, since you are already querying only for matching records. In this case, you will get no rows if there is no match, therefore you will never hit the else clause in the loop.  

  

Instead, it is enough to check if there are any matching records at all. The example below shows how (note that you can put a condition straight into Any() instead of specifying Where()).  

  

C#Copy Code

```
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
 
namespace CustomerMaster
{
    public partial class CustomerMaster : System.Web.UI.Page
    {
 
        private void AddData()
        {
            
            OperationsDataContext AddDb = new OperationsDataContext();
            CustomerMast cm = new CustomerMast();
            
                        
            cm.CustomerCode = txtCustCde.Text;
            cm.CustomerName = txtCustName.Text;
            cm.CustomerAddress = txtCustAdd.Text;
            cm.BrkrCode = txtBrkCode.Text;
            cm.BrokerName = txtBrkName.Text.
            cm.CrrCode = txtCrrCode.CarrierCode;
            cm.CarrierName =  txtCrrName.Text;
            cm.StnCode=sm.StationCode;
            cm.StationName = txtStnName.Text;
            cm.VatNo=txtVatNo.Text;
            cm.TinNo=txtTinNo.Text;
            cm.TMCO=txtTMCONo.Text;
            cm.PanNo = txtPAN.Text;
			
	    if(AddDb.CustomerMasts.Any(c=>c.CustomerCode == txtCustCde.Text))
            {
	        Response.Write("Error! CustomerCode Exits");
	    }
	    else
	    {
                AddDb.BrokerMasts.InsertOnSubmit(bm);
                AddDb.CarrierMasts.InsertOnSubmit(crm);
                AddDb.StationMasts.InsertOnSubmit(sm);
                AddDb.CustomerMasts.InsertOnSubmit(cm);

	        AddDb.SubmitChanges();
            }         
        }
 
        protected void btnAdd\_Click(object sender, EventArgs e)
        {
            AddData();
        }
    }
}
``` it's facebook. go for it buddy. how can you be so sure that you'll get the job? appear for the interview, at least. This is indeed something of a problem. It is always difficult to jump into a new and large code-base. You should concentrate on any available overview documentation (e.g., explaining how it works or is structured), tutorials (e.g., showing how to make mods), and reference documentation (e.g., class references).


If you need to really dig into the source code of the library / application, then you need to find a relevant starting point. This could be something that is similar to what you want to do or modify. When you find a decent starting point, just look it up and try to understand what it does and how it works, and work your way out from there, by looking up related code (e.g., that is called within that code you are looking at, etc.). The "find in files" is definitely a central tool when exploring a code-base because it gives you an instant snapshot of where certain things are used and declared. For example, if you want to modify the behavior of class A, then there is a good chance that you will want to look at all the places where class A is used so that you can assess if your modified version will work or if you need to modify other things.


There is no doubt that doing this is hard and takes a lot of patience. I've done this several times with different code bases (some small ( < 50,000 LOCs ), some big ( > 1,000,000 LOCs )), and it's always a tedious process, especially if documentation is lacking (which it very often is). hello aspirant,
 






 integrated program in management aptitude test (ipmat) is a national level test to the five-year integrated program in management. it consists of question that tests the quantitative and verbal ability of the candidates. even though there is no specific syllabus for ipmat provided by iim indore, here is the syllabus based on the previous years' question papers.
 






***quantitative analysis:***




* distance, time and work
* geometry, mensuration
* percentage, profit and loss
* set theory
* number system
* data interpretation
* time, speed




***verbal ability:***




* paragraph completion
* word usage
* para jumble
* reading comprehension
* fill in the blanks and grammar





 for further information on ipmat 2021, refer to the link provided below:
 







 https://bschool.careers360.com/exams/ipmat
 







 hope you found this helpful.
 







 should there be any other query, please feel free to ask.
 






 good luck! hey [@fastwayjim](/forum/u/fastwayjim)

i could reproduce the behavior. of course this should not be the case. when you start a job first the data needed for the computation is processed before being transferred to a computation instance. if there is no instance available a new one has to be started and your job gets into… as i noted learning javascript is a good place to go as it’s used to make webpages more dynamic! the front end engineer career path may work well for you as the lessons you have already done will be completed, but there’s a lot of extra notes and such in it for html and css, as well as adding in the… Hi,


What attempts have you made at this? Have you got any code written yet?


Thanks hi,

i can compile your code without error.

could you help to double check your makefile and environment?

environment is set by jetpack2.3.1

topic\_988388.cpp

#include "nvxio/application.hpp"

#include "nvx/nvx\_opencv\_interop.hpp"

#include <opencv2/imgproc/imgproc.hpp>

std::vector<cv::mat> tovisi… yes, anyone know who the recruiter is?