Frequently Asked Basic Programming Interview Questions Part – 3
What Kind Of Useful Task Does Stacks Support?
Stack supports four major computing areas,they are
1.expression evaluation.
2.subroutine return address storage.
3.dynamically allocated local variable storage.
4.subroutine parameter passing.
Tell Me What Are Application Clusters In Crm?
CRM application cluster is a software that ranges in size and complexity making it possible for an organization to select the type of software needed the most. It consists of how a customer is related to sales,marketing and fulfillment,customer service and support,retention and loyalty program and contact and account management.
Tell Me What Is The Difference Between Connecting To Rdbms Using Odbc And Native Drivers?
ODBC is an open standard for software providers to follow when creating an intermidate layer between the database and the application using the database. Having “open standards” usually means that different applications can write their code the same way no matter which database they are using, as long as that database comes with an ODBC driver.
In contrast, native drivers are built with one specific database in mind. Thus, applications written to use the native driver will only work with one particular database.
You will lose flexibility in your code’s ability to switch database vendors, but you might gain performance enhancements due to the fact that the driver is custom made for the database and may be able to take advantage of an “insider’s view” of the database software.
Explain Virtual Function?
virtual functions are the functions by which we can implement the concept of polymorphism ,ie one name with several distinct forms.a f’n preceded by a virtual keyword makes a function virtual means the compiler turns on the mechanism to perform late binding or dynamic binding.more of all,the same function name can be used to perform different tasks .
What Is Data Modelling?
Data Modelling is designing of the data content and structure of the database.
The data model documents the structure of and interrelationships between the data – it is presented as a combination of simple diagrams and written definitions and is independent of any DBMS software or hardware considerations.
Explain What Are Dangling Pointers,virtual Constructors And Virtual Destructors?
char *str=new str;char *str1=new str1;strcpy(str,str1);delete str;at this time str will act as dangling pointer because when str1 is copied to str ,then it will create the deep copy,so when when we will delete that one then still thare is existing of its instance.That is called dangling pointer.
Explain Can You Deploy Mercury Quicktest Professional On Mercury Managed Service?
Yes. Mercury Managed Services can provide you the benefits of fast time to value, on-going mentoring and lower total cost of ownership for Mercury QuickTest Professional as long as you are also utilizing Mercury Managed Services for Quality Center.
What Is Paging?
Pageing is a memory Management technique which allows users program memory to be non continus, the technique is used to remove the problem of external fragmentation.In this technique entire user Memory is divided into fixed size page frames, a Page Map table is used to map the user process pages to physical memory page.
What Is Swapping?
Swapping is to chance the value to each other in c++#include#includevoid main(){Int a,b;cout<<“Enter the value of a ::::”<>a;cout<<“Enter the value of b ::::”<>b;a=a+b;b=a-b;a=a-b;cout<
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?
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.
When The Variables Are Pushed Into The Stack, Which Method Is Used To Retrieve Them From It
pop method is used for retrieving variables from stack
How Do I Put A Background On A Website Using Css Coding?
If you want to put background color you can use background-color property of CSS in body tag.
If you want to put background image you can use background-image property of CSS in body tag.
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?
Using GET method form data is appended to URL while using POST method it is transferred in the message body.
GET method is intended for information retrieval. It should be used to retrieve information that do not change state of server.
For functions such as login, POST method is preferable due to security reasons.
Explain The Term “non Volatile Memory” States?
1. that memory is retained in the memory unit for some time even after power failure to the memory unit.
2. that memory is lost by power failure but regained as soon as power is restored.
3. that memory is retained in the memory unit at higher temperature.
4. that memory is retained in the memory unit for years after power failure to the memory unit.
What Is The Main Difference Between Portability And Platform Independent?
I agree it is correct to say that Java is platform independent, but it is due to the Java Virtual Machine. Java programs are only intermediately compiled, which allows adaptation to the given environment it needs to run in later.
An example of a portability issue is the creation of Unix. The first version was not portable. It was specific only to that computer’s architecture.
Unix became portable when it was rewritten in C. The new version written in C was portable because C served as a “translator”, if you will, between what underlying architecture or devices were physically in the computer and what unix wanted them to do.
How To Count Number Of Html Pages In A Website?
you can write a simple ASP program to run against the root directory of the website.
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.
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.
How To Download The Whole Website Not Internet Example Some Small Data Related Websites?
by using any website copier software.
Explain What Is Port? What Is Http Port, Ftp Port, Telnet Port And Others?
ports are like different gates of the building. Each gate is having its own function.
HTTP Port :
it will allow only HTTP people. It communicates in HTTP protocol. any request with http:// .. HTTP.. is Hyper Text Transfer Protocol.
FTP Port :
File Transfer Protocol…. used to upload and download files….. used to update websites from the local machine… it requires FTP host name, username and password.. and on the host machine FTP services should be enabled.
Telnet port:
telenetting with other computer in hybrid environment… from thin client to server..
Explain How Search Engines Work?
Indexing. Searching. Web search engines work by storing information about many web pages, which they retrieve from the HTML markup of the pages. These pages are retrieved by a Web crawler (sometimes also known as a spider) – an automated Web crawler which follows every link on the site.
How To Remove A Column From Table?
You can remove a column but first of all you should see that column doest have any values and it should not be a primary key.
ALTER TABLE DROP COLUMN
Tell Me What Is The Difference Between Client Response Time And Server Response Time?
The major difference between the response time between a client & server is of – response time.
Usually client response time is lesser in comparison to the server response time.