Interview Questions

Q:

Explain i) Rename ii) Alias.

Answer

- Rename : It is a permanent name provided to a table or column.
- Alias : It is a temporary name provided to a table or column which gets over after the execution of SQL statement.

Report Error

View answer Workspace Report Error Discuss

Subject: Oracle

0 3210
Q:

What is the difference between Property Get, Set and Let?

Answer

Set - Value is assigned to ActiveX Object from the form.


Let - Value is retried to ActiveX Object from the form.


Get - Assigns the value of an expression to a variable or property.

Report Error

View answer Workspace Report Error Discuss

6 3208
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 3207
Q:

What is factory method in AngularJS ?

A) It generates the facts and figures B) It is used to create the service
C) It is used to calculate the factorial of a number D) All the above
 
Answer & Explanation Answer: B) It is used to create the service

Explanation:

In general, Services are Javscript functions and are responsible to do a specific tasks. Factories implements module pattern in which we use a factory method to generate an object which is use for building models.

It's syntax is
module.factory('factoryName', function);

Report Error

View Answer Report Error Discuss

Filed Under: Web Technology
Job Role: Analyst , Software Architect

1 3205
Q:

Market survey means...........

A) Market Research B) Market Planning
C) Marketing Strategies D) Market Monitoring
 
Answer & Explanation Answer: A) Market Research

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Marketing and Sales

0 3205
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 3205
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 3203
Q:

Key Difference between Indian accounting standards and international accounting standards is:

Answer

In international accounting LIFO and extraordinary items are prohibited


In international accounting, proposed dividend entry is made in the Year in which it is declared, but in Indian Accounting Standards Proposed Divided entry is passed in the year for which dividend is declared. e.g. Dividend for 09-10 declared in AGM on 14 Sept 2010, Financial (Accounting) Year = 2009-10


In Indian Accounting entry would be passed in 2009-10 Accounts books, but in International Accounting entry would be passed in the year 2010-11 Accounts books.

Report Error

View answer Workspace Report Error Discuss

1 3202