Programming Concepts Interview Questions And Answers

Download Programming Concepts Interview Questions and Answers PDF

Strengthen your Programming Concepts interview skills with our collection of 112 important questions. Each question is crafted to challenge your understanding and proficiency in Programming Concepts. Suitable for all skill levels, these questions are essential for effective preparation. Get the free PDF download to access all 112 questions and excel in your Programming Concepts interview. This comprehensive guide is essential for effective study and confidence building.

112 Programming Concepts Questions and Answers:

Programming Concepts Job Interview Questions Table of Contents:

Programming Concepts Job Interview Questions and Answers
Programming Concepts Job Interview 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.
Read More

2 :: Can you split the following code?
char far*scr=(char far*) 0xB8000000L?

Please share your answers.
Read More

3 :: How to schedule graphs in Ab initio using unix?

Please share your answers.
Read More

4 :: What is the difference between Rational Robot and QTP. Which is effective in web testing?

Please share your experience.
Read More

5 :: How to delete the Legder A/c in Tally 7.2 of any person existing in my Accounts Books say for eg. from 1998. And now i dont need this Ledger A/c?

Please share your views.
Read More

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
Read More
by using any website copier software.
Read More

8 :: Tell me why does sizeof() say as operator?

Please share your answers.
Read More

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
Read More

10 :: How to decide which requirements will come under feature requirements and which will come under use case requirements in Rational Requisite Pro?

Please share your answers.
Read More

11 :: Tell me what is ISO of Testing?

Please share your views.
Read More

12 :: How to read a file from NT script, pass what is read into variables.
how to do error checking etc?

Please share your experience.
Read More

13 :: Tell me what is the difference between UNIX password and windows password?

WINDOWS the password lost then no way to login but it's not the case in UNIX,we can enter.
Read More

14 :: What is multithreading?

Multithreading is the ability of a program or an operating system process to manage its use by more than one user at a time and to even manage multiple requests by the same user without having to have multiple copies of the programming running in the computer. Central processing units have hardware support to efficiently execute multiple threads. These are distinguished from multiprocessing systems (such as multi-core systems) in that the threads have to share the resources of a single core: the computing units, the CPU caches and the translation lookaside buffer (TLB).
Read More

15 :: Tell me why constructors does not supports visual functions?

Constructor does not support virtual functions because we need an object to invoke a virtual method in the first place and more over constructors are used to initializing objects,which is a static type.Virtual functions are invoked on the dynamic type of the object,hence the object may not be properly initialized when a constructor call is made.Since the derived part of the object would not be initialized during the execution of base class constructor,hence calling any virtual method from base class constructor does not work well.
Read More

16 :: Explain what are mutants and explain mutation testing?

A mutated program is called Mutant and Mutation testing is based up on seeding the Implementation with a Fault by applying mutation Operator and determining whether Testing Identify this fault is called Mutation testing
Read More

17 :: What is race around condition?

A race around condition is a fault in the process or a system where the output or the result of the process is critically and unexpectedly dependent on the timing of other events. Race condition especially occurs in multithreaded or in distributed systems.
Read More

18 :: Do you know hows do electrons travel through a lightning bolt?

Generally, lightning is negatively charged. During thunderstorms. The Earths is recharged and its surface becomes good conductor of electricity. The Earth is charged negatively and the atmosphere is charged positively. Electrons flow upwards from the entire surface of the Earth. Thunderstorms help transfer the negative charges back to Earth.
Read More

19 :: Explain how to calculate response time in Client-Server technology?

This can be done by measureing the time taken by the first byte to reach the client (TTFB) and the time taken by the last byte of the response to reach the client (TTLB) by using various network bandwidths between the client and the server.
Read More

20 :: How to delete a entire linked list?

You delete a linked list by iterating through the list and deleting the nodes one by one.
Begin at the head
Get address of first node
Get address of next node
Delete first node
Do not to access next of the current node after deleting the current node.
Move next node to first node
Repeat

If the list is empty, the head pointer will be NULL.
Read More

21 :: Define ROM image and explain each section of a ROM image in an exemplary system?

A ROM image captures the data from a read-only memory chip, such as hardware firmware, video and arcade game boards, etc. It is often used for emulation.
Read More

22 :: Explain what is the difference between Process and thread with real time examples?

1.Threads share the address space of the process that created it; processes have their own address.

2.Threads have direct access to the data segment of its process; processes have their own copy of the data segment of the parent process.

3.Threads can directly communicate with other threads of its process; processes must use interprocess communication to communicate with sibling processes.

4.Threads have almost no overhead; processes have considerable overhead.

5.New threads are easily created; new processes require duplication of the parent process.

6.Threads can exercise considerable control over threads of the same process; processes can only exercise control over child processes.

7.Changes to the main thread (cancellation, priority change, etc.) may affect the behavior of the other threads of the process; changes to the parent process does not affect child processes.
Read More

23 :: How to print "hello world" in c without using semicolon?

main()
{
clrscr();
if(printf("Hello Tarun Goyal"))
{}
getch();
}
Read More

24 :: How to increase transfer rate of an hard disk?

See if any among these helps to increase Hard disk transfer rate...

- Try using RAID setup
- In Device Manager under ATA/ATAPI Controllers verify if the hard disk is running in UDMA mode.
- Update motherboard chipset drivers
- Under Properties of the drive, Hardware Tab -> Properties of the hard disk:
Enable write caching
Enable advanced performance
Read More

25 :: What are the advantages & disadvantages of vertical cluster & horizontal cluster? Which is the best? Why?

In horizontally clustered environment, cluster-enabled application is deployed on multiple physical machines. Each machine is available for requests. Horizontal clusters offers protection over hardware failure, increases efficiency, provides load balancing and process failover. However, since there are many number of physical machines involved the installation and maintenance cost increases proportionally.

In Vertical clustering, multiple application server instances are hosted on the same physical machine. This type of clustering provides increased efficiency, load balancing and process failover. However, if hardware fails then there may not be ready alternative.
Read More