Programming Concepts Interview Preparation Guide

Conceptual frequently Asked Questions by expert members with experience in Programming Concepts. So get preparation for the Conceptual job interview questions
Tweet Share WhatsApp

112 Programming Concepts Questions and Answers:

1 :: Tell me what is the difference between collision domain and broad cast domain?

A collision domain is a logical area in a computer network where data packets can "collide" with one another, in particular in the Ethernet networking protocol. The more collisions in a network the less efficient it is.

A broadcast domain is a logical area in a computer network where any computer connected to the computer network can directly transmit to any other in the domain without having to go through a routing device.
Download Programming Concepts PDF Read All 112 Programming Concepts Questions

6 :: Explain the difference between update, verify and debug mode?

These definitions are for winrunner Run modes

Verify: When ever we want to check the behavior of an application and to save the result we use verify run mode

update: When ever we want to create a new expected results for GUi checkpoints and Bitmap checkpoint we use update run mode

Debug: When ever we want to run a script after update without any errors in syntax we use Debug run mode

9 :: Explain what is the use of == and equals() method?

The == operator compare whether two object references are refer to the same instance or not.

The equals() method compare the characters(contents) of two String object.

example:

String a="Hai";
String b="Hai";
String c=new String("Hai");
System.out.println(a==b); //True
System.out.println(a==c); //False
System.out.println(a.equals(b)); //True
System.out.println(a.equals(c)); //True