Top 100+ Programming Concepts Interview Questions And Answers
Question 1. What Is The Difference Between Collision Domain And Broad Cast Domain?
Answer :
A collision area is a logical location in a laptop network where facts packets can "collide" with one another, particularly within the Ethernet networking protocol. The extra collisions in a community the much less green it is.
A broadcast area is a logical location in a computer community wherein any laptop connected to the pc network can immediately transmit to some other inside the area without having to go through a routing tool.
Question 2. How To Download The Whole Website Not Internet Example Some Small Data Related Websites?
Answer :
By the usage of any internet site copier software program.
Python Interview Questions
Question 3. Explain The Difference Between Update, Verify And Debug Mode?
Answer :
These definitions are for winrunner Run modes:
Verify: When ever we want to test the conduct of an utility and to keep the end result we use verify run mode
replace: When ever we need to create a brand new anticipated effects for GUi checkpoints and Bitmap checkpoint we use replace run mode
Debug: When ever we want to run a script after update with none errors in syntax we use Debug run mode
Question four. Explain What Is The Use Of == And Equals() Method?
Answer :
The == operator compare whether or not two item references are refer to the equal example or not.The equals() approach evaluate 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
Python Tutorial
Question 5. What Is The Difference Between Unix Password And Windows Password?
Answer :
WINDOWS the password misplaced then no manner to login but it is now not the case in UNIX,we will enter.
Core Java Interview Questions
Question 6. What Is Multithreading?
Answer :
Multithreading is the ability of a application or an working device technique to manipulate its use through more than one consumer at a time and to even manage multiple requests with the aid of the same consumer while not having to have multiple copies of the programming strolling inside the laptop. Central processing gadgets have hardware aid to effectively execute multiple threads. These are distinguished from multiprocessing structures (along with multi-middle systems) in that the threads must percentage the resources of a unmarried center: the computing gadgets, the CPU caches and the translation lookaside buffer (TLB).
Question 7. Why Constructors Does Not Supports Visual Functions?
Answer :
Constructor does not help digital functions because we need an item to invoke a digital technique inside the first location and more over constructors are used to initializing objects,that's a static type.Virtual features are invoked at the dynamic sort of the object,as a result the item might not be well initialized whilst a constructor call is made.Since the derived a part of the object could now not be initialized for the duration of the execution of base class constructor,for this reason calling any digital approach from base magnificence constructor does not paintings properly.
Core Java Tutorial Basic Programming Interview Questions
Question eight. Explain What Are Mutants And Explain Mutation Testing?
Answer :
A mutated application is called Mutant and Mutation checking out is based up on seeding the Implementation with a Fault by way of applying mutation Operator and determining whether Testing Identify this fault is called Mutation trying out
Question 9. What Is Race Around Condition?
Answer :
A race round circumstance is a fault inside the manner or a gadget wherein the output or the end result of the system is significantly and dependent on the timing of other events. Race condition specially takes place in multithreaded or in distributed systems.
Scala Interview Questions
Question 10. Do You Know Hows Do Electrons Travel Through A Lightning Bolt?
Answer :
Generally, lightning is negatively charged. During thunderstorms. The Earths is recharged and its floor turns into desirable conductor of energy. The Earth is charged negatively and the environment is charged definitely. Electrons drift upwards from the complete floor of the Earth. Thunderstorms assist transfer the bad expenses again to Earth.
Scala Tutorial
Question eleven. How To Calculate Response Time In Client-server Technology?
Answer :
This may be done via measureing the time taken by the first byte to reach the client (TTFB) and the time taken with the aid of the remaining byte of the response to attain the consumer (TTLB) by using numerous community bandwidths among the customer and the server.
R Programming language Interview Questions
Question 12. How To Delete A Entire Linked List?
Answer :
You delete a linked listing by iterating via the list and deleting the nodes one at a time.
Begin at the top
Get deal with of first node
Get address of next node
Delete first node
Do now not to get admission to next of the current node after deleting the contemporary node.
Move next node to first node
Repeat
If the listing is empty, the pinnacle pointer will be NULL.
Python Interview Questions
Question thirteen. Define Rom Image And Explain Each Section Of A Rom Image In An Exemplary System?
Answer :
A ROM image captures the statistics from a read-handiest memory chip, inclusive of hardware firmware, video and arcade sport forums, and so forth. It is frequently used for emulation.
R Programming language Tutorial
Question 14. Explain What Is The Difference Between Process And Thread With Real Time Examples?
Answer :
Threads share the address space of the method that created it; methods have their personal deal with.
Threads have direct get right of entry to to the records section of its system; methods have their very own reproduction of the records phase of the determine procedure.
Threads can directly speak with different threads of its process; tactics ought to use interprocess communique to communicate with sibling techniques.
Threads have nearly no overhead; techniques have big overhead.
New threads are without difficulty created; new strategies require duplication of the discern procedure.
Threads can exercising considerable control over threads of the same process; processes can handiest exercising control over child approaches.
Changes to the principle thread (cancellation, priority alternate, and so forth.) might also have an effect on the conduct of the other threads of the process; modifications to the parent system does not have an effect on baby strategies.
Question 15. How To Print "howdy World" In C Without Using Semicolon?
Answer :
fundamental()
clrscr();
if(printf("Hello Tarun Goyal"))
getch();
D Programming Language Interview Questions
Question 16. How To Increase Transfer Rate Of An Hard Disk?
Answer :
See if any amongst these helps to boom Hard disk switch fee...
Try the usage of RAID setup
In Device Manager under ATA/ATAPI Controllers affirm if the hard disk is walking 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
D Programming Language Tutorial
Question 17. What Are The Advantages & Disadvantages Of Vertical Cluster & Horizontal Cluster? Which Is The Best? Why?
Answer :
In horizontally clustered environment, cluster-enabled application is deployed on multiple physical machines. Each device is available for requests. Horizontal clusters gives safety over hardware failure, increases efficiency, presents load balancing and process failover. However, in view that there are many range of bodily machines concerned the installation and upkeep value increases proportionally.
In Vertical clustering, multiple utility server times are hosted on the same physical device. This sort of clustering affords accelerated efficiency, load balancing and method failover. However, if hardware fails then there might not be ready alternative.
Advanced C# Interview Questions
Question 18. Explain Cdrom Access Is Random Or Semi Random Or Sequential?
Answer :
CDROM get entry to is sequential..
Magnetic sequential get entry to reminiscence is usually used for secondary storage in preferred-reason computers due to their better density at lower value compared to RAM, in addition to resistance to wear and non-volatility. Examples of SAM devices nevertheless in use encompass tough disks, CD-ROMs and magnetic tapes. Historically, drum reminiscence has also been used.
Core Java Interview Questions
Question 19. What Is Dirty Dimension?
Answer :
If a Record takes place multiple time in a table by the distinction of a non-key characteristic then this type of measurement is known as Dirty Dimemsion.
Object Oriented Analysis and Design Tutorial
Question 20. What Is The Hierarchy Levels In Data Warehousing Concepts Level?
Answer :
In-correct data is regularly termed as grimy records and has been characterised as missing information, incorrect statistics and compound data with distinct representations.
Ex. :- client size in which the same man or woman can seem multiple instances in all likelihood no longer with exactly the same spellings or different attributes.
Advanced C++ Interview Questions
Question 21. Write An O(log2(n)) Algorithm To Find X^n?
Answer :
int computeXn(int x, int n)
if(n == 2)
go back x*x;
else if(n % 2 == 0)
int y = computeXn(x, n/2);
return y*y;
else if(n % 2 == 1)
int y = computeXn(x, n/2);
go back y*y*x;
Question 22. What Is A Lowest Level Computer Language?
Answer :
8085 Assembly language is broadly referred to as the bottom stage language!!!
Question 23. How To Implement "queue" Functionality By Using "2 Stacks"?
Answer :
Take 2 empty stacks.
Fill the first stack with a few gadgets (eg: enter 100, one hundred and one, 102, 103)
Now study the items from 1st stack in LIFO order and write to second stack.
(By this the 2nd stack will get the items within the order .. 103, 102, one hundred and one, 100)
Now study the items from second stack in LIFO order i.E. The output might be a hundred, one hundred and one, 102, 103.
(this is the queue order FIFO with appreciate to the real gadgets entered in 1st stack.)
Apache Tomcat Interview Questions
Question 24. What Is Multitasking?
Answer :
Two or more method run concurrently called MultiTasking.
There are two forms of multitasking:
Process-based totally
Thread-primarily based.
Process-based totally multitasking permits your pc to run or greater applications simultaneously. Thread-based multitasing manner single software can carry out two or more undertaking concurrently.
Basic Programming Interview Questions
Question 25. What Is How Chat Server Works?
Answer :
Through a socket programming bidirectional communication.
Question 26. Give The Complete Difference Between Database, Relational Database And Object Database?
Answer :
A database is an organized series of statistics. It is based so that you can jump to the records via using a key, and discover related infromation through navigating a path. A sequential (flat) file is not taken into consideration a database.
A relational database includes one-to-many relationships.
A networked database carries one-to-many and many-to-many relationships.
Basic C Interview Questions
Question 27. Why Dont We Give A & Before Reading A String In C Language? Scanf("%s",str); Why Is It Not Scanf("%s",&str);
Answer :
We do not deliver an & earlier than studying a string. This is so because a string is a person array. For an array, be it integer or individual or any other array, declared as int a[10] or char str[20], the call 'a' or 'str' stores the base deal with of the array, this is the deal with of the reminiscence place in which the array is beginning. The scanf statement calls for the address of the region to store the value enter by using the person. Since str already stores the deal with of the reminiscence area we do now not want to feature the & earlier than it.
Scala Interview Questions
Question 28. How To Hide A Text In Cognos Reportnet?
Answer :
sure, we can conceal by way of 2 possible alternatives.
Make the box kind none to the textual content
Use boolean
Question 29. Explain What Is The Osi Model?
Answer :
OSI is Open System Interface Model. It is a concept that is used to make statistics transfer in steps. There are 7 layers and each layer engage with its counterpart. Earlier a product made by using any abc co changed into capable of communicate with the identical organization product. To speak with distinctive co's products it was created. Because it's name indicates "OPEN System Interface"
C# OOPS Interview Questions
Question 30. Tell Me How Can We Check Out The Files From Cvs?
Answer :
In GUI mode i.E winCVS, On menubar,there is checkout option.In that u can click on and pick out the module that you want to test out.
In UNIX mode,you have to execute the subsequent comand
>CVS checkout -r
Question 31. Explain What Are The Differences Between Desktop And Enterprise Application?
Answer :
Desktop application runs on a unmarried gadget. It may be part of network. But Application and database is living on identical device. And best one user can get entry to it at a time.Enterprise software is typically a multi-tier utility. Many a concurrent users can access information and application at a time.
Question 32. What Is Virtual Memory Under Linux?
Answer :
Linux helps virtual memory, that is, the use of a disk as an extension of RAM in order that the powerful size of usable memory grows correspondingly. The kernel will write the contents of a currently unused block of reminiscence to the tough disk so that the memory may be used for some other reason. When the original contents are needed again, they're examine again into memory. This is all made absolutely transparent to the user; packages strolling under Linux handiest see the bigger amount of memory to be had and don't word that parts of them reside on the disk every so often. Of path, studying and writing the hard disk is slower (on the order of one thousand times slower) than the usage of actual memory, so the applications do not run as rapid. The a part of the hard disk this is used as virtual reminiscence is called the change area
Object Oriented Analysis and Design Interview Questions
Question 33. How To Remove Sections In Report In Reportnet?
Answer :
Remove Sections : To take away a section, do the following Steps :
Delete the section header.
From the View menu, click Page Structure.
Expand Page Body until you spot the information container in that you introduced the segment.
The information container is nested inside the List item this is created whilst you upload a phase.
Drag the facts field to Page Body.
The records box seems as a node of Page Body.
Delete the List object.
In the Query Explorer, the question this is created whilst you upload a section is likewise deleted.
From the View menu, click Page Design.
In the Insertable Objects pane, click on the Query Items tab.
Drag the question object that changed into used as a phase header back into the information container.
R Programming language Interview Questions
Question 34. Explain How To Write A Class In C++ Using Only One Object?
Answer :
elegance singleten
static int matter; singleten()
if (rely==1)
go out(zero);
count++;
singleten::depend =zero;void primary()
singleten s1;singleten s2;
program is terminated as quickly as 2nd object is created.
Question 35. A Function Is Running, It Has Its Own Stack Pointer, Memory Area Now It Invokes Another Function From This Point What Changes Will Be In Its Memory Area And What Other Changes In Data Segment, Stack Segment, Heap Segment. I Want A Complete Picture Of Memory Architecture?
Answer :
There might be a whole lot of adjustments in truth. First of all, all the variables the function changed into suing needs to be driven into the stack. (we want all these variables whilst we return from the opposite function). The Program counter might be driven to stack too... (When the "return" of second function takes place we need to understand where to 'return' to)These are the basics which can be sure to occur whilst a function calls any other.
Question 36. Explain What Is Actually Meant For Buffer? How Does It Work?
Answer :
Buffer is some thing that is used to preserve the information temporarly.
Ex-If we are watching any thing on line,then buffering of information takes region i.E for sometime facts get stored in buffer then processed.
D Programming Language Interview Questions
Question 37. Tell Me Can We Execute Any Simple Program Without Installing Any Operating System?
Answer :
No! We cannot run any easy program without the use of any interface along with operatin systen or System software program. But in some cases like Machine degree languge or firmware run with none software program as it directlly talk with hardware and makes the hardware energetic so other software can run the use of his platform.
Question 38. Write A C Program To Reverse The String Without Using Strrev() Function?
Answer :
#consist of <stdio.H>
#include <conio.H>
#include <string.H>
void fundamental()
char *str;
int i,len;
//now not the usage of any temp variable and assume we can use only string array and duration
printf("Enter String : ");
scanf("%s",str);
len=strlen(str)-1;
for(i=0;i<strlen(str)/2;i++)
str[i]+=str[len];
str[len]=str[i]-str[len];
str[i]=str[i]-str[len--];
printf("Reverse String is : %s",str);
getch();
Question 39. Tell Me How To Execute 13,000 Test Cases In A Faster Way In Manual Testing?
Answer :
Cannot execute thirteen,000 FTS faster. First want to analyse the severity and precedence of the capability smart and then the chosen test on my own have to execute.
Question forty. What Is The Dif Between Review And Walkthrough? On Testing Perspective ,who Will Do Review And Walkthrough? Clarify With An Real Example?
Answer :
In laymans term stroll-through is nothing but walking through the requirements at the same time as overview is making an evaluation of the development and if the case may be a alternate has to be recommended
Advanced C# Interview Questions
Question 41. A Two-dimensional Array X (7,nine) Is Stored Linearly Column-smart In A Computers Memory. Each Element Requires 8 Bytes For Storage Of The Value. If The First Byte Address Of X (1,1) Is 3000, What Would Be The Last Byte Address Of X (2,three)?
Answer :
use the formulae
X(i,j)=Base+w[n(i-1)+(j-1)]
wherein m=7 ,n =9 ,i=2 ,j=three
for this reason 3000+eight*[9(2-1)+(3-1)]
=3000+eight*(9+2)
=3000+8*11=3088
Question 42. Define Raster And Vector Data. Explain What Is The Difference Between Raster And Vector Data?
Answer :
Raster facts is a set of horizontal lines composed of man or woman pixels, used to shape an photo on a CRT or other display.Raster facts makes use of matrix of square areas to outline wherein functions are located. These squares are normally of uniform length, and their size determines the element that may be maintained inside the dataset.Raster data represent square areas, they describe interiors instead of obstacles. Vector records use X and Y coordinates to outline the locations of points, traces, and areas (polygons) that correspond to map functions, vector records have a tendency to define centers and edges of functions.They are high-quality for taking pictures and storing spatial information
Advanced C++ Interview Questions
Question 43. Planning To Start A Career As A Manual Tester ,is Taking A Course Compulsory Or Can I Get The Subject By Referring Through Information On Internet?,does Manual Testers Use Any Tools In Real Time?
Answer :
Not vital that you need to take any direction supplied if you aren't brisker. Suppose if you are operating in any employer as layout engineer, then as you have got the area knowledge operating as quit person. Then you can sincerely use this knowledge to check the software and locate insects. And concerning strategies and equipment used every enterprise has specific strategy which may be controlled or research once you get into that organization.
Question 44. What Kind Of Useful Task Does Stacks Support?
Answer :
Stack supports four important computing regions,they may be:
expression evaluation
subroutine return cope with storage
dynamically allocated local variable storage and
subroutine parameter passing.
Question 45. What Are Application Clusters In Crm?
Answer :
CRM application cluster is a software that degrees in size and complexity making it feasible for an employer to pick the form of software program wanted the most. It includes how a customer is related to sales,advertising and success,customer support and support,retention and loyalty program and phone and account management.
Question 46. What Is The Difference Between Connecting To Rdbms Using Odbc And Native Drivers?
Answer :
ODBC is an open trendy for software program carriers to follow when growing an intermidate layer among the database and the application the usage of the database. Having "open standards" normally approach that extraordinary programs can write their code the equal way no matter which database they are the use of, as long as that database comes with an ODBC driving force.In evaluation, local drivers are constructed with one unique database in thoughts. Thus, programs written to apply the native driver will only paintings with one precise database. You will lose flexibility to your code's capacity to replace database vendors, however you may benefit overall performance enhancements due to the truth that the driver is custom made for the database and can be able to take gain of an "insider's view" of the database software.
Question 47. Explain Virtual Function?
Answer :
virtual capabilities are the capabilities by means of which we can put in force the concept of polymorphism ,ie one call with numerous wonderful forms.A f'n preceded by way of a digital key-word makes a feature virtual way the compiler turns on the mechanism to perform past due binding or dynamic binding.Extra of all,the equal characteristic name can be used to carry out distinct responsibilities .
Question forty eight. How To Get The Prime Number Rows From Table I.E. Like 1,three,five,7,eleven?
Answer :
There is no particular formulation to locate top numbers.
Question forty nine. What Are The Various Cause & Effect Signals Of The 8085 Microprocessor?
Answer :
Interrupts.
Question 50. What Is Data Modelling?
Answer :
Data Modelling is designing of the records content material and shape of the database.
The facts version files the shape of and interrelationships among the facts - it's miles presented as a combination of simple diagrams and written definitions and is impartial of any DBMS software or hardware considerations.
Question 51. Explain What Are Dangling Pointers,virtual Constructors And Virtual Destructors?
Answer :
char *str=new str;char *str1=new str1;strcpy(str,str1);delete str;at this time str will act as dangling pointer due to the fact whilst str1 is copied to str ,then it'll create the deep replica,so whilst while we will delete that one then still thare is existing of its example.That is referred to as dangling pointer
Question 52. What Is The Scope Of Information Technology?
Answer :
The scope of the facts generation will be live all the time, bcaz, there is a want for air to stay , v need a automation to servive so IT is all the time no probs.
Question fifty three. Explain Can You Deploy Mercury Quicktest Professional On Mercury Managed Service?
Answer :
Yes. Mercury Managed Services can provide you the benefits of speedy time to cost, on-going mentoring and lower total value of ownership for Mercury QuickTest Professional as long as you also are utilizing Mercury Managed Services for Quality Center.
Question fifty four. What Is Paging?
Answer :
Pageing is a reminiscence Management technique which allows users program memory to be non continus, the method is used to eliminate the problem of outside fragmentation.In this approach entire consumer Memory is divided into fixed length page frames, a Page Map table is used to map the person technique pages to physical reminiscence page.
Question 55. What Is Swapping?
Answer :
Swapping is to hazard the cost to each other in c++#encompass#includevoid principal()Int a,b;cout<<"Enter the cost of a ::::"<>a;cout<<"Enter the fee of b ::::"<>b;a=a+b;b=a-b;a=a-b;cout<
Question 56. I Want To Run Unix Script From Windows Batch File That Will Connect Automatically To Unix With Username And Password. Can Anybody Help Me How I Can Write The Script File?
Answer :
If you are looking at connecting to a *nix machine from windows then you can very well use a windows batch file. The latest windows scripting package provides pretty powerful tools similar to *nix scripting.Or you can try installing Cygwin which will provide the windows port of *nix tools that are usually used in *nix scripts.But if you are running it from windows then the best one would be to write a windows batch file.
Question 57. I Have Got Abi Installed On My Local Comp, I Know That Gde Goes To Co>op Through The Repository.I Want To Use The Repository To Chicken And Checkout. Any Steps To Connect From Gde To Repository Will Be Greatly Appreciated?
Answer :
We can connect GDE to EME(Repository) inorder to have checkin and checkout.A file with extension .Aip will provide sufficeient infto hook up with EME
Question 58. How Do I Put A Background On A Website Using Css Coding?
Answer :
If you want to put background color you can use history-shade assets of CSS in frame tag
If you need to put background picture you may use heritage-photograph belongings of CSS in body tag
Question fifty nine. Suppose If Get Method Is Less Secure Than Post Method Then Why They Introduced Get Method.And Well Use Only Post Method Alone. Wats The Need For Get Here?
Answer :
Using GET method shape records is appended to URL while the use of POST technique it is transferred in the message frame.
GET approach is supposed for data retrieval. It need to be used to retrieve facts that do not exchange state of server.
For functions along with login, POST technique is premier due to safety reasons.
Question 60. How Do U Go About Gathering The Requirements?
Answer :
Requirement amassing is an art rather than a technology. First it depends upon at what level you're speakme about. Generally speakme, requirements accumulating follows Top-Down Approach. It additionally depends upon your level within the SDLC cycle. There are distinctive ways of amassing requirements. Generally established methods are:
Intereviewing Techniques.
Case Study methods.
Joint Application Development Method.
Application Explorer technique.
Brain Stroming approach,and so forth.
There are also unique tools used for requirement collecting like, UML, Rational Rose, Microsoft Visio, Recruitment Matrix,and many others.
Question sixty one. What Is The Main Difference Between Portability And Platform Independent?
Answer :
I agree it's miles accurate to mention that Java is platform impartial, but it is because of the Java Virtual Machine. Java applications are simplest intermediately compiled, which permits adaptation to the given surroundings it needs to run in later.
An example of a portability difficulty is the creation of Unix. The first version became not transportable. It was unique best to that pc's architecture. Unix became portable when it changed into rewritten in C. The new edition written in C was transportable because C served as a "translator", if you may, between what underlying structure or gadgets have been bodily inside the pc and what unix desired them to do.
Question 62. Explain The Term "non Volatile Memory" States?
Answer :
that reminiscence is retained in the reminiscence unit for some time even after electricity failure to the reminiscence unit
that reminiscence is lost by way of electricity failure however regained as quickly as strength is restored
that reminiscence is retained in the memory unit at higher temperature
that reminiscence is retained in the memory unit for years after strength failure to the memory unit
Question 63. What Is The Difference Between Last Two Data Flow?
Answer :
When we're running with FLAG we can use only 2 filter out alterations additionally however at the preliminary level it'll be higher to go with three filters. Where we are the usage of the FIRST Filter to insert the information for first time, In 2nd Filter we are placing the facts however those records are with up to date facts and in third filter we are updating the information with surrogate key. This 1/3 filter out information could be up to date with our changed FLAG fee 'ZERO'. Because we're identifying the current information with FLAG values 'ONE'.
Question 64. Explain How Search Engines Work?
Answer :
Indexing. Searching. Web search engines paintings by using storing information about many web pages, which they retrieve from the HTML markup of the pages. These pages are retrieved with the aid of a Web crawler (occasionally additionally called a spider) - an automated Web crawler which follows every hyperlink on the web site.
Question sixty five. How To Remove A Column From Table?
Answer :
You can remove a column however to start with you need to see that column doest have any values and it should no longer be a number one key
ALTER TABLE DROP COLUMN
Question 66. What Is The Difference Between Client Response Time And Server Response Time?
Answer :
The fundamental difference between the response time among a patron & server is of - response time.
Usually customer reaction time is lesser in evaluation to the server reaction time.

