Interview Questions

Q:

To which type of class, We can apply RTTI?

A) Encapsulation B) Polymorphic
C) Derived D) None of these
 
Answer & Explanation Answer: B) Polymorphic

Explanation:

RTTI is available only for classes which are polymorphic, which means they have at least one virtual method.

Report Error

View Answer Report Error Discuss

Filed Under: C++

0 7576
Q:

Which among the following are not access Specifiers in C++?

A) Public B) Protected
C) Default D) Private
 
Answer & Explanation Answer: C) Default

Explanation:

Default is the access specifier in java not in C++

Report Error

View Answer Report Error Discuss

Filed Under: C++

4 7412
Q:

Which keyword is used to declare the min and max functions?

A) iostream B) string
C) algorithm D) None of these
 
Answer & Explanation Answer: C) algorithm

Explanation:

Algorithm header file contain the supporting files needed for the execution of these functions.

Report Error

View Answer Report Error Discuss

Filed Under: C++

1 7375
Q:

Suppose you are in a situation where deadlines and priorities change frequently and rapidly. How would you handle it?

Answer

Deadlines are set in several ways some are artificial while others are real. In a situation where deadlines change frequently and rapidly it is important to be able to tell which are real and which are artificial. One must be flexible and agile with the ability to adapt to the needs of the office. A good attitude would be to imagine you are a juggler who must keep several balls in the air at one time. This would enable you to focus quickly on the job at hand and move on to the next without hesitation or stress. 

Report Error

View answer Workspace Report Error Discuss

11 7339
Q:

How do you check the syntax of a JCL without running it?

Answer

TYPERUN=SCAN on the JOB card or use JSCAN.


TYPERUN=HOLD on the job card.


it is used for syntatical checks and direct job to spool and hold it.

Report Error

View answer Workspace Report Error Discuss

3 7309
Q:

Difference between DDE and OLE?

Answer

DDE (Dynamic Data Exchange) a communication protocol that let applications call each other.


OLE was the first protocol that enabled users and programmers to create compound documents?that is documents that contain data from different applications (for example an Excel worksheet inside a Word document).

Report Error

View answer Workspace Report Error Discuss

2 7304
Q:

How to handle error in the destructor?

A) throwing B) terminate
C) both a & b D) none of the mentioned
 
Answer & Explanation Answer: B) terminate

Explanation:

It will not throw an exception from the destructor but it will the process by using terminate() function.

Report Error

View Answer Report Error Discuss

Filed Under: C++

3 7274
Q:

What are Payroll source documents?

Answer

The Payroll source documents are the employee Time Sheets (or equivalent) that record when the employee worked and generally what they did. These records are subject to audit by the Labor Department, EEOC and probably others that I haven't encountered. These should be bound into a Payroll Source Document folder.

However, there are other employee documents that need to be retained, e.g., their original employment application, employee reviews (if you do them),that record their federal/state tax exemption choices,reporting their annual wages and withholdings, etc.

These can be filed in separate Employee files (by employee name or number) -- or simply integrated into the Payroll Source Document folders (in the week in which they occur). I very much favor the latter -- especially if you're doing computer accounting -- in keeping with my "always file chronological" bias.

Report Error

View answer Workspace Report Error Discuss

1 7229