Interview Questions

Q:

What is the default return type of a function ?

A) int B) void
C) float D) char
 
Answer & Explanation Answer: B) void

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: C++

21 17701
Q:

Which of the following are capabilities of functions in JavaScript?

A) Accept parameters B) Return a value
C) Accept parameters and Return a value D) None of the above
 
Answer & Explanation Answer: A) Accept parameters

Explanation:

Accept parameters are capabilities of functions in JavaScript.

Report Error

View Answer Report Error Discuss

Filed Under: Java
Exam Prep: AIEEE , Bank Exams
Job Role: Analyst , Bank Clerk , Database Administration , IT Trainer

16 17611
Q:

What is capital structure? What are the principles of capital structure management?

Answer

Capital structure is a term which is referred to be the mix of sources from which the long term funds are required for business purposes which are raised to improve the capital of the company. To fund an organization plan this capital structure is required which is the combination of debt and equity. The management ensures the capital structure accesses which are needed to fund future growth and enhance financial performance. The principles of capital structure management which are essentially required are as follows:-


 


1) Cost Principle


2) Risk Principle


3) Control Principle


4) Flexibility Principle


5) Timing Principle

Report Error

View answer Workspace Report Error Discuss

Subject: Finance

26 17527
Q:

A world wide web contains web pages

A) residing in many computers linked together using HTML. B) with links to other web pages.
C) residing in many computers. D) created using HTML.
 
Answer & Explanation Answer: A) residing in many computers linked together using HTML.

Explanation:

A_world_wide_web_contains_web_pages1551768792.jpg image

A world wide web contains web pages residing in many computers linked together using HTML.

Report Error

View Answer Report Error Discuss

27 17322
Q:

What will be the output of the following code snippet?

Object s1 = new String("Hello");
Object s2 = new String("Hello");
 
if(s1 == s2) {
  System.out.println("s1 and s2 are ==");
}else if (s1.equals(s2)) {
  System.out.println("s1 and s2 are equals()");
}

Answer

Answer : s1 and s2 are equals()


 


Explanation :



 

Report Error

View answer Workspace Report Error Discuss

Subject: Java

8 17143
Q:

What is the output of this program?

#include
        using namespace std;
        struct sec {
            int a;
            char b;
        };
        int main()
        {
            struct sec s ={25,50};
            struct sec *ps =(struct sec *)&s;
            cout << ps->a << ps->b;
            return 0;
        }

A) 252 B) 253
C) 254 D) 262
 
Answer & Explanation Answer: A) 252

Explanation:

In this program, We are dividing the values of a and b, printing it.

Report Error

View Answer Report Error Discuss

Filed Under: C++

1 17142
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++

7 17024
Q:

Write an SQL Query find number of employees according to gender whose DOB is between 01/01/1960 to 31/12/1975.

Answer

SELECT COUNT(*), sex from Employees  WHERE  DOB BETWEEN ‘01/01/1960 ' AND ‘31/12/1975’  GROUP BY sex;

Report Error

View answer Workspace Report Error Discuss

Subject: SQL

17 17011