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 2861
Q:

Will comparison of string "10" and integer 11 work in PHP?

Answer Yes, internally PHP will cast everything to the integer type, so numbers 10 and 11 will be compared.
Report Error

View answer Workspace Report Error Discuss

Subject: PHP

1 2861
Q:

Describe about Physical Data Integration?

Answer

- Physical Data Integration is all about creating new system that replicates data from the source systems.


- This process is done to manage the data independent of the original system.


- Data Warehouse is the example of Physical Data Integration.


- The benefits of PDI include data version management, combination of data from various sources, like mainframes, flat files, databases.


- A separate system is needed for handling vast data volumes.


 

Report Error

View answer Workspace Report Error Discuss

0 2857
Q:

Explain how to work with Permissions in PHP.

Answer

Permissions in PHP are very similar to UNIX. Each file has three types of permissions – Read, write and execute. Permissions can be changed using the change mode or CHMOD command. CHMOD is followed by 3 digit number specifying the permission type. CHMOD 777 is for Read, Write and execute.


Unnecessary permissions can be stripped off using UNMASK command.


Unmask (777);

Report Error

View answer Workspace Report Error Discuss

Subject: PHP

0 2856
Q:

HTML documents are saved in

A) Machine language codes B) ASCII text
C) Special binary format D) None of the above
 
Answer & Explanation Answer: B) ASCII text

Explanation:

Word and WordPad can save documents as ASCII text and HTML, but this approach can lead to problems. NotePad should launch with a new document open.

From the File pull-down menu, Select "Save As," save the file to the Desktop, and name the file using the ".html" extension (e.g., "home.html").

Report Error

View Answer Report Error Discuss

0 2848
Q:

What is Analysis service repository?

Answer

Every Analysis server has a repository to store metadata for the objects like cubes, data sources etc. It’s by default stored in a MS Access database which can be also migrated to a SQL Server database.

Report Error

View answer Workspace Report Error Discuss

Subject: SQL

0 2848
Q:

What are the Advantages of Node.js?

Answer

Aynchronous and Event Driven - All APIs of Node.js library area unit aynchronous that's non-blocking. It basically means that a Node.js based mostly server not waits for a API to return information. Server moves to next API when calling it and a notification mechanism of Events of Node.js helps server to induce response from the previous API decision.


Very FastNode.js library is very fast in execution of code.


Single Threaded but highly Scalable Node.js uses a single threaded model with event looping. Node.js uses a single threaded program and same program can services much larger number of requests than traditional server like open source.


No Buffering - Node.js applications never buffer any data. These applications simply output the data in faster.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology
Job Role: Software Architect

0 2845
Q:

What is a Parked Report ?

Answer

You can use document parking to enter and store (park) incomplete documents in the SAP System without carrying out extensive entry checks.

Report Error

View answer Workspace Report Error Discuss

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

8 2840