Technology Questions

Q:

Which of the following can't be done with client-side JavaScript?

A) Sending a form's contents by email B) Storing the form's contents to a database file on the server
C) Validating a form D) None of the above
 
Answer & Explanation Answer: B) Storing the form's contents to a database file on the server

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Web Technology

38 56150
Q:

Which operator performs pattern matching ?

A) LIKE operator B) EXISTS operator
C) BETWEEN operator D) None of these
 
Answer & Explanation Answer: A) LIKE operator

Explanation:

LIKE is a keyword that is used in the WHERE clause. Basically, LIKE allows us to do a search based operation on a pattern rather than specifying exactly what is desired (as in IN) or spell out a range (as in BETWEEN).

 

The syntax is as follows:
SELECT "column_name"
FROM "table_name"
WHERE "column_name" LIKE {PATTERN}

 

{PATTERN} often consists of wildcards.

 

In SQL, there are two wildcards:


% (percent sign) represents zero, one, or more characters.

_ (underscore) represents exactly one character.

 

More :: Certification Questions on SQL

Report Error

View Answer Report Error Discuss

27 36763
Q:

class Hell {

public static void main(String[] args) {

Integer i = 42;

String s = (i<40)?"life":(i>50)?"base":"ball";

System.out.println(s);

}

}

A) null B) ball
C) base D) None
 
Answer & Explanation Answer: B) ball

Explanation:

D is correct. This is a ternary nested in a ternary with a little unboxing thrown in.Both of the ternary expressions are false.

Report Error

View Answer Report Error Discuss

Filed Under: Java

1 31384
Q:

What is meaning of following declaration?
int(*p[5])();

A) p is pointer to function. B) p is array of pointer to function.
C) p is pointer to such function which return type is array. D) p is pointer to array of function.
 
Answer & Explanation Answer: B) p is array of pointer to function.

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: C++

14 29117
Q:

What is the correct JavaScript syntax to write “Hello World”?

A) System.out.println( B) println (
C) document.write( D) response.write(
 
Answer & Explanation Answer: C) document.write(

Explanation:

document.write() is a JavaScript command that literally writes out whatever you place between the opening and closing parentheses.

 

 

What_is_the_correct_JavaScript_syntax_to_write_“Hello_World”1556279922.jpg image 

Report Error

View Answer Report Error Discuss

Filed Under: Web Technology

15 28301
Q:

What is IMS (DB/DC)?

Answer

IMS (Information Management System) is IBMs hierarchical database management system. It has mainly two components: IMS DB and IMS DC (Also know as IMS TM)


IMS DB - IMS/Database Manager as the name implies manages the IMS databases. It is used for physical storage creation and management and data retrieval.


IMS DC / IMS TM - IMS/Data Communications or IMS/Transaction Manager handles online transaction processing system.

Report Error

View answer Workspace Report Error Discuss

9 27561
Q:

try { int x = Integer.parseInt("two"); }

Which could be used to create an appropriate catch block?

A) ClassCastException B) IllegalStateException
C) NumberFormatException D) None
 
Answer & Explanation Answer: C) NumberFormatException

Explanation:

C is correct. 'Integer.parseInt' can throw a NumberFormatException, and IllegalArgumentException is its superclass 

Report Error

View Answer Report Error Discuss

Filed Under: Java

3 26679
Q:

What is DHTML? What are the features of DHTML?

Answer

DHTML stands for Dynamic HTML. The first thing that we need to clear about DHTML is that it is neither a language like HTML, JavaScript etc. nor a web standard. It is just a combination of HTML, JavaScript and CSS. It just uses these languages features to build dynamic web pages. DHTML is a feature of Netscape Communicator 4.0, and Microsoft Internet Explorer 4.0 and 5.0 and is entirely a "client-side" technology.  


Features of DHTML:


- Simplest feature is making the page dynamic.


- Can be used to create animations, games, applications, provide new ways of navigating through web sites.


- DHTML use low-bandwidth effect which enhance web page functionality.


- Dynamic building of web pages is simple as no plug-in is required.


- Facilitates the usage of events, methods and properties and code reuse. 

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

35 26503