Technology Questions

Q:

How to handle error in the destructor?

A) throwing B) terminate
C) both a & b D) none of the mentioned
 
Answer & Explanation Answer: B) terminate

Explanation:

It will not throw an exception from the destructor but it will the process by using terminate() function.

Report Error

View Answer Report Error Discuss

Filed Under: C++

3 7414
Q:

What’s the difference between md5( ), crc32( ) and sha1( ) crypto on PHP?

Answer The major difference is the length of the hash generated. CRC32 is, evidently, 32 bits, while sha1() returns a 128 bit value, and md5() returns a 160 bit value. This is important when avoiding collisions.
Report Error

View answer Workspace Report Error Discuss

Subject: PHP

1 7367
Q:

How many ways are there to initialize int with a constant?

A) 1 B) 2
C) 3 D) 4
 
Answer & Explanation Answer: B) 2

Explanation:

There are two formats for initializers in C++ as shown in the example that follows. The first format uses the traditional C notation. The second format uses constructor notation.

int foo = 123;

 

int bar (123);

Report Error

View Answer Report Error Discuss

Filed Under: C++
Job Role: Software Architect

1 7352
Q:

How to perform incremental load in DataStage?

Answer

-Daily loading is known as incremental load.


-When data is selected from source, selected records are loaded between timestamp of last load and the current time 


-The parameter that are passed to perform are last loaded date and current date


-The first parameter is the stored last run date is read through job parameters


-The second parameter is the current date

Report Error

View answer Workspace Report Error Discuss

1 7336
Q:

What is SQL*Plus? Explain its features

Answer

SQL*plus allows SQL and PL/SQL scripts to interactively run in command line.

It allows three kinds of commands to run; SQL, PL/SQL and SQL * Plus commands. It’s most commonly used by DBA’s to interact with the oracle database.

Report Error

View answer Workspace Report Error Discuss

Subject: Oracle

9 7285
Q:

List the steps involved in creating the checksum.

Answer

- Divide the data into sections


- Add the sections together using 1's complement arithmetic


- Take the complement of the final sum, this is the check sum

Report Error

View answer Workspace Report Error Discuss

4 7261
Q:

How many types of macros are there in c++?

A) 1 B) 2
C) 3 D) 4
 
Answer & Explanation Answer: B) 2

Explanation:

There are two types of macros. They are object-like and function-like.

Report Error

View Answer Report Error Discuss

Filed Under: C++

1 7227
Q:

Which of the following can derived class inherit?

A) members B) functions
C) both a & b D) None of the above
 
Answer & Explanation Answer: C) both a & b

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: C++

2 7174