Interview Questions

Q:

What is function prototyping? What are its advantages?

Answer

Function prototyping is a function declaration statement that tells the compiler about the return type of the function and the number as well as type of arguments required by the function at the time of calling it.


Syntax:


return_type function_name( type1 arg1, type 2 arg2, ... );


 


Advantages of function prototype :


- It helps the compiler in determining whether a function is called correctly or not. Each time when a function is called, its calling statement is compared with its prototype. In case of any mismatch, compiler reports an error.


- A function must be defined before calling it. But prototyping allows a function to be called before defining it.

Report Error

View answer Workspace Report Error Discuss

Subject: C++

34 21778
Q:

A phrase expressing the aim of a group or party?

Answer

a_phrase_expressing_the_aim_of_a_group_or_party1538566769.jpg image


 


The aim of a group or party must be


• The mission or purpose of the group - what business they are in.


• The vision or direction they are headed - often expressed as the impact they want to have distinct from their purpose. 


• The strategies for how they will get from where they are today to where they are headed; these are broadly stated, like a 50,000-foot overview, and are typically few in number, usually no more than 3-5 key areas of focus. 


• The goals and objectives for how the strategies will be implemented; these are sometimes referred to as tactics or operational plans; there is usually no specific limit on the number of these, and they are more specific and not so far out in the future, often 1-2 years or less.

Report Error

View answer Workspace Report Error Discuss

30 61321
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 14781
Q:

Which operator performs pattern matching ?

A) LIKE operator B) EXISTS operator
C) BETWEEN operator D) None of these
 
Answer & Explanation Answer: A) LIKE operator

Explanation:

LIKE is a keyword that is used in the WHERE clause. Basically, LIKE allows us to do a search based operation on a pattern rather than specifying exactly what is desired (as in IN) or spell out a range (as in BETWEEN).

 

The syntax is as follows:
SELECT "column_name"
FROM "table_name"
WHERE "column_name" LIKE {PATTERN}

 

{PATTERN} often consists of wildcards.

 

In SQL, there are two wildcards:


% (percent sign) represents zero, one, or more characters.

_ (underscore) represents exactly one character.

 

More :: Certification Questions on SQL

Report Error

View Answer Report Error Discuss

27 36878
Q:

What is a Non-PO Invoice?

Answer

A non-po is an invoice which does not have po(purchase order).However, these invoices requires approval for authorized person/persons to process for payment.


What_is_a_Non-PO_Invoice1558075538.jpg image

Report Error

View answer Workspace Report Error Discuss

Subject: Accounts Payable Exam Prep: Bank Exams
Job Role: Bank Clerk , Bank PO

26 22245
Q:

Rate Yourself 1-10?

Answer

I think its 8 because even if i have strength i still have weaknesess.

Report Error

View answer Workspace Report Error Discuss

Subject: About Yourself

25 7816
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

24 16644
Q:

What is the difference between stack and array?

Answer

Stack:


 - Stack is a ordered collection of items


 - Stack is a dynamic object whose size is constantly changing as items are pushed and popped .


 - Stack may contain different data types


Array:


- Array is an ordered collection of items


- Array is a static object i.e. no of item is fixed and is assigned by the declaration of the array


- It contains same data types.

Report Error

View answer Workspace Report Error Discuss

Subject: C++ Exam Prep: GATE

24 15165