Interview Questions

Q:

What is meaning of following declaration?
int(*p[5])();

A) p is pointer to function. B) p is array of pointer to function.
C) p is pointer to such function which return type is array. D) p is pointer to array of function.
 
Answer & Explanation Answer: B) p is array of pointer to function.

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: C++ - Technology

6 10862
Q:

What is the full form of the trem WIRE in wire payment ? Explain the process for making and receiving the payment through WIRE?

Answer

There is no specific abbreviation for the term WIRE because when the payment is being made using this option, you will not see the physical movement of funds. It is all electronic. It is just like a current passes through Wire. 


Therefore Electronic movement of funds is campared with WIRE.

Report Error

View answer Workspace Report Error Discuss

19 10629
Q:

In tree construction which is the suitable efficient data structure?

A) Array B) Linked list
C) Stack D) Queue
 
Answer & Explanation Answer: B) Linked list

Explanation:

Linked list is the efficient datastructure in tree construction

Report Error

View Answer Report Error Discuss

Filed Under: C++ - Technology

2 10552
Q:

Write an SQL Query to check whether date passed to Query is date of given format or not.

Answer

SQL has IsDate() function which is used to check passed value is date or not of specified format ,it returns 1(true) or 0(false) accordingly.


SELECT  ISDATE('1/08/13') AS "MM/DD/YY";


It will return 0 because passed date is not in correct format.

Report Error

View answer Workspace Report Error Discuss

Subject: SQL - Technology

7 10326
Q:

Javascript is interpreted by

A) Server B) Object
C) Client D) None of the above
 
Answer & Explanation Answer: C) Client

Explanation:

JavaScript is an interpreted language, not a compiled language. A program such as C++ or Java needs to be compiled before it is run.

The source code is passed through a program called a compiler, which translates it into bytecode that the machine understands and can execute.

Report Error

View Answer Report Error Discuss

Filed Under: Java - Technology
Job Role: Analyst , IT Trainer

13 10200
Q:

The total sum of the goods and services produced in a country in a year, minus depreciation is called as ________.

A) Net Domestic Product B) Gross National Income
C) Gross Domestic Product D) Net National Product
 
Answer & Explanation Answer: A) Net Domestic Product

Explanation:

Gross Domestic Product : 

It is the total value of all final goods and services produced within the boundary of country during the given period of time. 

Gross National Product :

It is the total value of the total output or production of final goods and services produced by the nationals of a country during a given period of time. 

Gross National Income : 

It is the total domestic and foreign output claimed by residents of a country, consisting of gross domestic product (GDP) plus factor incomes earned by foreign residents, minus income earned in the domestic economy by non-residents.

Net National Product :

The total value of goods produced and services provided in a country during one year, after depreciation of capital goods has been allowed for.

Report Error

View Answer Report Error Discuss

Filed Under: Bank Interview - Accounting and Finance
Exam Prep: Bank Exams , CAT
Job Role: Bank Clerk , Bank PO

19 10009
Q:

public abstract class Shape {

private int x;

private int y;

public abstract void draw();

public void setAnchor(int x, int y) {

this.x = x;

this.y = y;

}

}

Which two classes use the Shape class correctly?

A) public class Circle implements Shape { private int radius; B) public abstract class Circle extends Shape { private int radius; }
C) public class Circle extends Shape { private int radius; public void draw(); D) None
 
Answer & Explanation Answer: B) public abstract class Circle extends Shape { private int radius; }

Explanation:

Only B is true

Report Error

View Answer Report Error Discuss

Filed Under: Java - Technology

0 9986
Q:

Difference between %TYPE and %ROWTYPE.

Answer

%type is used to declare a field of a table while %rowtype is used to declare a record with the same type as specified in that table, view or cursor.


Example of %type:


DECLARE


         v_EmployeeName emp.ename%TYPE


 


Example of %rowtype


DECLARE


          v_empployee emp%ROWTYPE;

Report Error

View answer Workspace Report Error Discuss

Subject: Oracle - Technology

7 9847