hi friends,
i'm having a few questions from CSC Technical paper. this year their emphasis was on Programming and Java.
1.C# is a native language of:
A.Java
B. .Net
C.Visual Basic
2.What is IMP in Objective C
A.Implementation pointer
B.Important Pointer
C.Intended Pointer
3.The width in bits of double primitive type in Java is --. Select the one correct answer.
- The width of double is platform dependent
- 64
- 128
- 8
- 4
4.What would happen when the following is compiled and executed. Select the one correct answer.
-
- class example {
- int x;
- int y;
- String name;
- public static void main(String args[]) {
- example pnt = new example();
- System.out.println("pnt is " + pnt.name +
- " " + pnt.x + " " + pnt.y);
- }
- }
-
- The program does not compile because x, y and name are not initialized.
- The program throws a runtime exception as x, y, and name are used before initialization.
- The program prints pnt is 0 0.
- The program prints pnt is null 0 0.
- The program prints pnt is NULL false
5.Which of these lines will compile? Select all correct answers.
- short s = 20;
- byte b = 128;
- char c = 32;
- double d = 1.4;;
- float f = 1.4;
- byte e = 0;
6.What is contained in the directory /proc?:
a. System information
b. Administrative procedures
c. Boot procedures
d. Documentation on your sytem
8. Transactions per rollback segment is derived from[DBA]
a. Db_Block_Buffer
b. Processes,
c. Shared_Pool_Size,
d. None of the above
9. These following parameters are optional in init.ora parameter file DB_BLOCK_SIZE, PROCESSES
a True, b False Ans : False
10.What is the purpose of different record methods 1) Record 2) Pass up 3) As Object 4) Ignore.
11.While running DOS on a PC, which command would be used to duplicate the entire diskette:
(I forgot options)