Technology Questions

Q:

For printing out strings, there are echo, print and printf. Explain the differences.

Answer - echo is the most primitive of them, and just outputs the contents following the construct to the screen. print is also a construct (so parentheses are optional when calling it), but it returns TRUE on successful output and FALSE if it was unable to print out the string. However, you can pass multiple parameters to echo, like:

and it will output the string "Welcome to TechInterviews!" print does not take multiple parameters. It is also generally argued that echo is faster, but usually the speed advantage is negligible, and might not be there for future versions of PHP. printf is a function, not a construct, and allows such advantages as formatted output, but it’s the slowest way to print out data out of echo, print and printf.
Report Error

View answer Workspace Report Error Discuss

Subject: PHP

0 3140
Q:

Exlpain STL.

Answer

STL stands for Standard Template Library. It is a library of container templates approved by the ANSI committee for inclusion in the standard C++ specification.

Report Error

View answer Workspace Report Error Discuss

Subject: C++

0 3139
Q:

Name and explain the type of locks?

Answer

There are three types of lock, namely:


Shared – This type of lock permits two or more programs to read from the locked space but does not allow them to change it.


Update – This lock is more lenient. It permits the program to read and change the locked space.


Exclusive – This lock restricts all users from accessing the locked space.

Report Error

View answer Workspace Report Error Discuss

0 3138
Q:

What is the diff between RDO and ADO?

Answer

RDO is Hierarchy model where as ADO is Object model. ADO can access data from both flat files as well as the data bases. I.e., It is encapsulation of DAO, RDO , OLE that is why we call it as OLE-DB Technology. 

Report Error

View answer Workspace Report Error Discuss

7 3137
Q:

What is a AngularJS?

Answer

AngularJS is a framework to build the large scale and high performance web application while keeping them as easy-to-maintain. These are the features of AngularJS framework.


AngularJS is a powerful Script based on JavaScript development framework to Implement RICH Internet Application (RIA).


AngularJS is a developers options to write client side application (using JavaScript) in a clean MVC (Model View Controller) side.


Application are written in AngularJS is also cross-browser compliant. AngularJS automatically handles JavaScript code suitable for any browser.


AngularJS is an open source, completely free, and used by large number of developers around the world. It is licensed under the Apache License version 2.0.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology
Job Role: Software Architect

0 3133
Q:

What is locking ? what are the advantages of locking?

Answer

Locking is a mechanism to ensure data integrity while allowing maximum concurrent access to data. It is used to implement concurrency control when multiple users access table to manipulate its data at the same time.


Advantages :


- Avoids deadlock conditions


- Avoids clashes in capturing the resources

Report Error

View answer Workspace Report Error Discuss

Subject: Oracle

0 3133
Q:

What is WHEN-Database-record trigger?

Answer

Fires when oracle forms first marks a record as an insert or an update. The trigger fires as soon as oracle forms determines through validation that the record should be processed by the next post or commit as an insert or update. Generally occurs only when the operators modifies the first item in the record, and after the operator attempts to navigate out of the item.

Report Error

View answer Workspace Report Error Discuss

2 3131
Q:

What is Language Integrated Query (LINQ)?

Answer

LINQ is a programming model that is the composition of general-purpose standard query operators that allow you to work with data, regardless of the data source in any .NET based programming language. It is the name given to a set of technologies based on the integration of query capabilities into any .NET language.

Report Error

View answer Workspace Report Error Discuss

Subject: .NET

0 3127