Technology Questions

Q:

What is a REPL in context of Node.js?

Answer

Read - Reads users input, parse the input into JavaScript data-structure and stores in memory


Eval - Evaluates the data structure


Print - Prints the result


Loop - Loops the above command until user press ctrl-c twice

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology
Job Role: Software Architect

0 2871
Q:

What is sqlcode -811?

Answer

SELECT statement has resulted in retrieval of more than one row.

Report Error

View answer Workspace Report Error Discuss

0 2868
Q:

How do you destroy a particular or all Sessions?

Answer

<?php
session_start();
// store session data
$_SESSION['views']=1;
unset($_SESSION['views']); // If you wish to delete some session data, you can use the unset()
session_destroy(); // You can also completely destroy the session by calling the session_destroy() function. session_destroy() will reset your session and you will lose all your stored session data.
?>

Report Error

View answer Workspace Report Error Discuss

Subject: PHP

0 2867
Q:

Explain 5-4-3 rule

Answer

In a Ethernet network, between any two points on the network, there can be no more than five network segments or four repeaters, and of those five segments only three of segments can be populated.

Report Error

View answer Workspace Report Error Discuss

1 2867
Q:

How To Open Outlook Explorer in VB Code?

Answer

Once can use the Shell function to call any Aplication in VB 6.0. For Outlook Express one can use, Shell (msimn.exe)

Report Error

View answer Workspace Report Error Discuss

0 2867
Q:

Application_Start: This event occurs when the first user visits a page of the application.

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

Explanation:

whenever user visits a page application Application_start event occurs

Report Error

View Answer Workspace Report Error Discuss

Subject: .NET
Job Role: Software Architect

0 2867
Q:

What is Catalog Manager? How to move reports and dashboards using Catalog Manager?

Answer

Catalog Manager supports command line options.


 


To move reports and dashboards, we need to use some general syntax using catalog manager.


 


e.g:


catalogmanager -online/offline


-cmd {report | replace | export}


{command line options}


In extra, by keeping it online, This will automatically open up the catalog 


manager without having the need to enter the connection details every time.

Report Error

View answer Workspace Report Error Discuss

0 2865
Q:

If an array with name as "names" contain three elements, then how will you print the third element of this array?

Answer

Print third array element document.write(names[2]);

Note:- Array index starts with 0.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 2864