Interview Questions

Q:

How variable declaration in c++ differs that in c?

Answer

C requires all the variables to be declared at the beginning of a scope but in c++ we can declare variables anywhere in the scope. This makes the programmer easier to understand because the variables are declared in the context of their use.

Report Error

View answer Workspace Report Error Discuss

Subject: C++

1 5335
Q:

What is Mainframe Testing?

Answer

Mainframe Testing is similar to client-server applications testing, but you have to know how to operate basic TSO and ISPF commands and menus, view mainframe files, look at and use SDSF or other output tool, log on CICS and transactions, use FTP or another transfer protocol, submit the batch job - it's for QA testing of mainframe applications.

Report Error

View answer Workspace Report Error Discuss

0 5330
Q:

$message vs $$message in PHP?

Answer

$message is a variable with a fixed name. $$message is a variable whose name is stored in $message. 


If $message contains "var", $$message is the same as $var.


 

Report Error

View answer Workspace Report Error Discuss

Subject: PHP

0 5326
Q:

Which among the following is a scope resolution operator?

A) : B) ::
C) :? D) None
 
Answer & Explanation Answer: B) ::

Explanation:

:: is the scope resolution operator

Report Error

View Answer Report Error Discuss

Filed Under: Java
Job Role: Software Architect

0 5320
Q:

A co-worker is rude to customers, what would you do?

Answer

That would depend on what kind of a rapport I had with him. If I felt comfortable, I would probably mention that being rude is probably going to be bad for him in the long run, since unhappy customers reflect badly on the sales associate. Otherwise, I would mention to the supervisor what I had witnessed, and let him handle it.

Report Error

View answer Workspace Report Error Discuss

6 5319
Q:

Which of the following are elements of SQL?

A) base-table-identifier ::= user-defined-name B) base-table-name ::= base-table-identifier
C) boolean-primary ::= comparison-predicate D) All the above
 
Answer & Explanation Answer: D) All the above

Explanation:
Report Error

View Answer Report Error Discuss

2 5293
Q:

How would apply date range filter?

Answer

One can use simple conditions like >= and <=, or use between/and but the trick here is to know your exact data type.


 


- Sometimes date fields contain time and that is where the query can go wrong so it is recommended to use some date related functions to remove the time issue. In SQL Server common function for accomplishing the task datediff () function.


- Interviewees also have to be aware of different time zones and server time zone.


-To increase query performance you may still want to use between however you should be aware of proper format you should use if not it might misbehave during filtering.

Report Error

View answer Workspace Report Error Discuss

Subject: SQL

1 5249
Q:

What are the 4 key phases of business development?

Answer

The 4 key phases of business development are: Forming, Storming, Norming and Performing.

Report Error

View answer Workspace Report Error Discuss

0 5242