Technology Questions

Q:

Pick out the correct method in the c++ standard library algorithm.

A) mismatch B) maximum
C) minimum D) None of these
 
Answer & Explanation Answer: A) mismatch

Explanation:

It is a method in the search opertion in standard library algorithms.

Report Error

View Answer Report Error Discuss

Filed Under: C++

2 4459
Q:

How can you generate debugging output from PL/SQL?

Answer

Use the DBMS_OUTPUT package. Another possible method is to use the SHOW ERROR command.

Report Error

View answer Workspace Report Error Discuss

Subject: SQL

0 4451
Q:

What is the difference between operational data stage (ODS) and data warehouse?

Answer

Data warehouse


- It is a decision support database system for the purpose of organizational needs. 


-It is non volatile, integrated and time variant collection of data


 


Operational Data Stage


- It is an integrated collection of information. 


-It can contain 90 days of information at maximum.


-ODS supports dynamic data.

Report Error

View answer Workspace Report Error Discuss

1 4449
Q:

What operator tests column for the absence of data?

A) NOT operator B) IS NULL operator
C) EXISTS operator D) All of the above
 
Answer & Explanation Answer: B) IS NULL operator

Explanation:

SELECT "column_name"


FROM "table_name"


WHERE "column_name" IS NULL.

Report Error

View Answer Report Error Discuss

1 4446
Q:

Server control events are handled in the server whereas HTML control events are handled in the page

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

Explanation:

Server control events can be handled inside a server itself

Report Error

View Answer Workspace Report Error Discuss

Subject: Web Technology
Job Role: Software Architect

0 4443
Q:

Series of interface points that allow other computers to communicate with the other layers of network protocol stack is called SAP

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

Explanation:
Report Error

View Answer Workspace Report Error Discuss

1 4432
Q:

Explain when to use GET or POST. Provide example for both the ways.

Answer

Both GET and POST are used to collect data from a form. However, when security is desired $_POST should be used. When the $_ POST variable is used, all variables used are NOT displayed in the URL. Also, they have no restrictions to the length of the variables. GET should be used when the interaction with the form is more like a question. For e.g. firing a query etc. POST should be used more often when the interaction is more like an order or the interaction changes the state of the resource.


POST example:


<form action="sample.php" method="post">


Name: <input type="text" name="name" />


Age: <input type="text" name="age" />


<input type="submit" />


</form>


On clicking submit the URL resembles to: https://www.mysamplesite.com/sample.php


The sample.php file can be used for catching the form data using $_POST 


Hello <?php echo $_POST["name"]; ?>.<br />


You are <?php echo $_POST["age"]; ?> years old!


 


GET EXAMPLE


<form action="sample.php" method="get">


Name: <input type="text" name="name" />


Age: <input type="text" name="age" />


<input type="submit" />


</form>


On clicking submit the URL resembles to : https://www.mysamplesite.com/sample.php?name=jim&age=37


The sample.php file can be used for catching the form data using $_GET 


Hello <?php echo $_GET["name"]; ?>.<br />


You are <?php echo $_GET["age"]; ?> years old!

Report Error

View answer Workspace Report Error Discuss

Subject: PHP

0 4421
Q:

How the different permutations are ordered in c++?

A) Compare lexicographicaly to each other elements B) By finding the highest element in the range
C) By finding the lowest element in the range D) None of the mentioned
 
Answer & Explanation Answer: A) Compare lexicographicaly to each other elements

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: C++

1 4419