Technology Questions

Q:

Which class is used to indicate Black Navigation Bar ?

A) .navbar-inverse B) .navbar-black
C) .navbar-dark D) .navbar-default
 
Answer & Explanation Answer: A) .navbar-inverse

Explanation:

.navbar-inverse is used to display in black color.

Report Error

View Answer Report Error Discuss

Filed Under: .NET
Exam Prep: Bank Exams
Job Role: Analyst , IT Trainer

2 4306
Q:

How do you handle error condition while writing stored procedure or accessing stored procedure from java ?

Answer

Stored procedure should return error code if some operation fails but if stored procedure itself fail than catching SQLException is only choice.

Report Error

View answer Workspace Report Error Discuss

Subject: Java

1 4301
Q:

How can we extract string "abc.com" from a string "https://info@abc.com" using regular _expression of php?

Answer

We can use the preg_match() function with “/.*@(.*)$/” as the regular expression pattern.
For example:
preg_match("/.*@(.*)$/","https://info@abc.com",$data);
echo $data[1];
?>

Report Error

View answer Workspace Report Error Discuss

Subject: PHP

0 4299
Q:

What is a VSAM slot?

Answer

A relative record dataset (RRDS) consists of a specified number of areas called slots. Each slot is identified by a relative record number (RRN) which indicates its relative position in the file.

Report Error

View answer Workspace Report Error Discuss

0 4289
Q:

How to convert JSON Text to a JavaScript Object ?

Answer

One of the most common use of JSON is to fetch JSON data from a web server (as a file or as an HttpRequest), convert the JSON data to a JavaScript object, and then it uses the data in a web page.


The eval() function can compile and execute any JavaScript. This represents a potential security problem.


It is safer to use a JSON parser to convert a JSON text to a JavaScript object. A JSON parser will recognize only JSON text and will not compile scripts.

Report Error

View answer Workspace Report Error Discuss

2 4286
Q:

DOM stands for

A) Document object model B) Data object model
C) Document Oriented model D) Data oriented model
 
Answer & Explanation Answer: A) Document object model

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Web Technology

0 4286
Q:

What is conversion operator ?

Answer

Class can have a public method for specific data type conversions.
for example:
class B
{
double value;
public  B(int i )
operator double()
{
return value;
}
};
B BObject;
double i = BObject; // assigning object to variable i of type double.
now conversion operator gets called to assign the value.

Report Error

View answer Workspace Report Error Discuss

11 4277
Q:

What is DataStage?

Answer

- A tool for designing Extraction, Transformation and Loading


- An ideal tool for data integration projects system migrations


- Importing, extracting and creating metadata are within these jobs


- Data stage allows scheduling, monitoring and running the jobs 


- Allows to administer the development and execution in a single environment


 

Report Error

View answer Workspace Report Error Discuss

1 4270