Interview Questions

Q:

How can we find the number of rows in a result set using PHP?

Answer

$result = mysql_query($sql, $db_link);
$num_rows = mysql_num_rows($result);
echo "$num_rows rows found";

Report Error

View answer Workspace Report Error Discuss

Subject: PHP

0 3080
Q:

What is the difference between processes and threads ?

Answer

- A process is an execution of a program, while a Thread is a single execution sequence within a process.


- A process can contain multiple threads. A Thread is sometimes called a lightweight process.

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 3078
Q:

What is a junction record in IDMS?

Answer

A junction record is a member record type that allows for many-to-many relationship between its two owner records.

Report Error

View answer Workspace Report Error Discuss

0 3077
Q:

Explain Check constraint.

Answer

Oracle check constraint is used to ensure that before inserting the data in the database, it is validated and checked for the condition.
Example:
Below, the constraint is that the id has to be between 0 and 1000.
create table employee ( id number check (id between 0 and 1000), Name varchar(200) );

Report Error

View answer Workspace Report Error Discuss

Subject: Oracle

0 3076
Q:

Are javascript and jQuery different?

Answer

jQuery is a quick as well as concise JavaScript Library that simplifies HTML document traversing, animating, event handling, & Ajax interactions for the purpose of quick web development needs. So although they are not entirely different, both are not the same either!

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 3076
Q:

What is copy constructor?

Answer


Copy constructor is a constructor function with the same name as the class and used to make deep copy of objects.

Report Error

View answer Workspace Report Error Discuss

Subject: C++

0 3069
Q:

Describe how SAP handles Memory Management?

Answer

ST02 / ST03 In general via table buffers, you could go into the whole Work Process, roll in, roll out, heap (private) memory, etc. However just as a Unix or DBA admin would know, is you look this up when needed for the exact specifics.

Report Error

View answer Workspace Report Error Discuss

Subject: SAP

0 3068
Q:

Session_End: occurs when the users stop requesting pages and their session times out.

A) TRUE B) FALSE
Answer & Explanation Answer: A) TRUE

Explanation:

True.It occurs when the user stops requsting pages and session time is out

Report Error

View Answer Workspace Report Error Discuss

Subject: .NET
Job Role: Software Architect

0 3068