| Back to Questions Page |
| |
| Question |
I am doing my BS.c MATHS CAN I ABLE TO JOIN IN NIIT? |
Rank |
Answer Posted By |
|
Question Submitted By :: Monisha |
|
I also faced this Question!! |
© ALL Interview .com |
| Answer | Yes, sure u can join it.  |
| Shelly |
| |
| |
| Question |
What is the underlying datastructure of map? |
Rank |
Answer Posted By |
|
Question Submitted By :: Suku Pk |
| This Interview Question Asked @ Siemens , Bia |
|
I also faced this Question!! |
© ALL Interview .com |
| Answer | hash table  |
| Jyoti |
| |
| |
| Answer | No its a Binary Tree  |
| Spark |
| |
| |
|
|
| |
| Answer | It is not quite a binary tree, it has too many issues on
rebalancing. It is a red-black tree.  |
| Bahbar |
| |
| |
| Answer | Most STL implement a map as a balanced binary tree. However
the standard doesn't specify that it should be implemented
as such.  |
| O Saienni |
| |
| |
| Question |
What is the Difference between CArray and CList? |
Rank |
Answer Posted By |
|
Question Submitted By :: Suku Pk |
| This Interview Question Asked @ Siemens |
|
I also faced this Question!! |
© ALL Interview .com |
| Answer | CArray has static Size u defined at the time u declare
and CList Dynamically grow.  |
| Rao Naee |
| |
| |
| Question |
how to swap two numbers in a linked list without exchanging
the data but only the links? |
Rank |
Answer Posted By |
|
Question Submitted By :: Bharghavi |
| This Interview Question Asked @ Wipro |
|
I also faced this Question!! |
© ALL Interview .com |
| Answer | Suppose List contains 3 no. 10, 20, 30
try to exchange 10 and 20.
head points to 10.
temp = head;
head = head -> next;
temp -> next = head - next;
head -> next = temp;
I think it works..  |
| Pavny |
| |
| |
| Answer | head points 20
head=head->link;
link->next;
link->head=head->next  |
| Siva |
| |
| |
| Question |
what is use of for loop? |
Rank |
Answer Posted By |
|
Question Submitted By :: Kannan.p |
| This Interview Question Asked @ Wipro |
|
I also faced this Question!! |
© ALL Interview .com |
| Answer | for loop use is more then one calculation or process can be
performed, for example:
for(int i=0;i<5;i++)
{
printf("%d",i);
}
In the above example the printf statement can be excuted in
five times.
Output:0 1 2 3 4  |
| Geetha |
| |
| |
| Answer | for loop use is one are more then printing in printup
statements.  |
| Kannan.p |
| |
| |
| Answer | for loop is used to repeate the process for certain number
of time s known.  |
| Murugasundari |
| |
| |
| Answer | for loop is executed as long as condition is true and
process the loop until condition is fail.  |
| Keshav.gadde |
| |
| |
| Answer | it is a loop which can have 3 conditions like
1)initiating a value to a variable
2)incrementation/decrementation
3)and a specific condition  |
| Swathi |
| |
| |
| Answer | for the repeated eecution of a statement or a block we use
for loop.  |
| Gunasekhar |
| |
| |
| Answer | testing the condition more than one time.when it gets true
the loop will be finished.  |
| Madhu |
| |
| |
| Question |
what is strcture
i++ i ++i answer to this i=5 what is the out put |
Rank |
Answer Posted By |
|
Question Submitted By :: B4urhtdm |
|
I also faced this Question!! |
© ALL Interview .com |
| Answer | The o/p will be as follows:-
666
reason:- in c++ in cascading the processing will be from
RHS. hence first "++i" will be executed and gives value 6.
after that "i" is executed as 6 and finally "i++" which will
also give 6.
one thing to notice here is that printing will be as usual
i.e. from left to right. So if the structure was "++i i i++"
then o/p will be 765  |
| Shivendra |
| |
| |
| Answer | The output is 7  |
| Antony [SavitrSoftwareServices.Pvt.Ltd.] |
| |
| |
| Answer | The answer is undefined since you are modifying a built in
type in sequence without a sequence point in between.  |
| Osama [SavitrSoftwareServices.Pvt.Ltd.] |
| |
| |
| Answer | my answer is 755........  |
| Diliprajug [SavitrSoftwareServices.Pvt.Ltd.] |
| |
| |
| Answer | My answer is
1.
#include<iostream>
using namespace std;
int main()
{
int i = 5;
cout << ++i << i << i++ << endl;
return 0;
}
ANS:765
2.
#include<iostream>
using namespace std;
int main()
{
int i = 5;
cout << ++i ;
cout << i ;
cout << i++ << endl;
return 0;
}
ANS:666  |
| Bala [SavitrSoftwareServices.Pvt.Ltd.] |
| |
| |
| Question |
Waht is inheritance
|
Rank |
Answer Posted By |
|
Question Submitted By :: B4urhtdm |
|
I also faced this Question!! |
© ALL Interview .com |
| Answer | inheritance is way to access the properties of super class  |
| Neema |
| |
| |
| Answer | Deriving a new class from existing base class is known to be
inheritance.The new derived class will have the functions of
the base class.  |
| Dilip [SavitrSoftwareServices.Pvt.Ltd.] |
| |
| |
| Answer | inheritance is the extention of one class into another class  |
| Shilpa [SavitrSoftwareServices.Pvt.Ltd.] |
| |
| |
| Answer | the ability to acquire base class properties is called
inheritance  |
| Bharghavi [SavitrSoftwareServices.Pvt.Ltd.] |
| |
| |
| Question |
What is Constructor |
Rank |
Answer Posted By |
|
Question Submitted By :: B4urhtdm |
| This Interview Question Asked @ Angel-Broking |
|
I also faced this Question!! |
© ALL Interview .com |
| Answer | IT IS A MEMBER FUNCTION WHOSE TASK IS TO INITIALIZE THE
OBJECTS OF ITS CLAASS.
IT IS INVOKED A SOON AS THE OBJECT ASSOCIATED WITH THAT
CLASS IS CREATED.
ITS TYPES:-
1> COPY CONSTRUCTOR
2>
PARAMITERISED CONSTRUCTOR
3>
DUMMY CONSTRUCTOR
4>
DYNAMIC CONSTRUCTOR  |
| Shalini Chopra |
| |
| |
| Answer | Constructor is a default member function available with a
class.
It can be explicitly defined in a class to initialize the
variables.
Constructor is called when an object is created for a class.
Rules for defining a constructor
********************************
The name of the constructor should possess the same name of
the class.
The constructor member function should not return a value.  |
| M.shanmuga Sundaram [SavitrSoftwareServices.Pvt.Ltd.] |
| |
| |
| Question |
What is Object Oriental Progam |
Rank |
Answer Posted By |
|
Question Submitted By :: B4urhtdm |
|
I also faced this Question!! |
© ALL Interview .com |
| Answer | Every thing is done using objects.  |
| Diliprajug |
| |
| |
| Question |
Define the terms: field, record, table and database |
Rank |
Answer Posted By |
|
Question Submitted By :: Msansari00 |
|
I also faced this Question!! |
© ALL Interview .com |
| Answer | Field
A space allocated for a particular item of information. A
tax form, for example, contains a number of fields: one for
your name, one for your Social Security number, one for
your income, and so on. In database systems, fields are the
smallest units of information you can access. In
spreadsheets, fields are called cells
Record
In database management systems, a complete set of
information. Records are composed of fields, each of which
contains one item of information. A set of records
constitutes a file. For example, a personnel file might
contain records that have three fields: a name field, an
address field, and a phone number field
Table
Refers to data arranged in rows and columns. A spreadsheet,
for example, is a table. In relational database management
systems, all information is stored in the form of tables.
Data Base
A collection of information organized in such a way that a
computer program can quickly select desired pieces of data.
You can think of a database as an electronic filing system.
 |
| Ash |
| |
| |
| Question |
Explain how to insert a hyperlink in to an Excel worksheet
and save a Word document as a Web page. |
Rank |
Answer Posted By |
|
Question Submitted By :: Msansari00 |
|
I also faced this Question!! |
© ALL Interview .com |
| Answer | Hyperlink creates a shortcut or jump that opens a document
stored on a network server, an intranet, or the Internet.
When you click the cell that contains the HYPERLINK
function, Microsoft Excel opens the file stored at link
location.
HYPERLINK (link_location, friendly_name)
Link_ location is the path and file name to the document
to be opened as text. Link_location can refer to a place in
a document — such as a specific cell or named range in an
Excel worksheet or workbook, or to a bookmark in a
Microsoft Word document. The path can be to a file stored
on a hard disk drive, or the path can be a universal naming
convention (UNC) path on a server (in Microsoft Excel for
Windows) or a Uniform Resource Locator (URL) path on the
Internet or an intranet.
• Link_location can be a text string enclosed in
quotation marks or a cell that contains the link as a text
string.
• If the jump specified in link_location does not
exist or cannot be navigated, an error appears when you
click the cell.
Friendly_name is the jump text or numeric value that is
displayed in the cell. Friendly_name is displayed in blue
and is underlined. If friendly_name is omitted, the cell
displays the link_location as the jump text.
• Friendly_name can be a value, a text string, a
name, or a cell that contains the jump text or value.
• If friendly_name returns an error value (for
example, #VALUE!), the cell displays the error instead of
the jump text. .
Examples:-
The following example opens a worksheet named Budget
Report.xls that is stored on the Internet at the location
named example.microsoft.com/report and displays the
text "Click for report":
=HYPERLINK ("http://example.microsoft.com/report/budget
report.xls", "Click for report")
The following example creates a hyperlink to cell F10 on
the worksheet named Annual in the workbook Budget
Report.xls, which is stored on the Internet at the location
named example.microsoft.com/report. The cell on the
worksheet that contains the hyperlink displays the contents
of cell D1 as the jump text:
=HYPERLINK ("[http://example.microsoft.com/report/budget
report.xls]Annual!F10", D1)
(B)Save a Word document as a Web page:-
To save a word document as a web page following steps are
involved.
1. On the File menu, click Save as Web Page.
2. If you want to save the document in a different
folder, locate and open the folder.
3. In the File name box, type a name for the document.
4. Click Save  |
| Saba |
| |
| |
|
| |
|
Back to Questions Page |