2) To check version of oracle from command prompt, if you are using unix, you can type sqlplus. It will connect to Oracle and show the corresponding version
eg.
Connected to:
Oracle8i Enterprise Edition Release 8.1.6.3.0 - Production
With the Partitioning option
JServer Release 8.1.6.3.0 - Production
Or
You can use TOAD/SQLplus to connect to the database and enter either of the following queries -
select * from v$version;
select * from v$instance;