============================================================================================================= www.sanonline.com ===================================== ORACLE ------ section 2: 1. what is sparese matrices?. give (at least) two methods for implemetation rather than two dimentional array. 2.what are cheap locks/latches?. 3.what is two phase locking?. Name two locks. 4. What are volatile variables in C?. What is their significance ?. 5. will these two work in same manner #define intp int * typedef int * inpp; 6. what are binary trees?. what is its use?. 7. section 3 : A). write header file containing functions used, etc (C), problem is to maitain a Queue. user has to give size and type of Queue. This problem is like this I don't remember exactly. B). C++ 1. What is polymorphism? 2. What is Inheritence?. 3. Mention four Object Oriented Programming Languages?> 4. Mention basic concepts of OOP. 5. What are messages in OOP?. 6. What is garbase collection?. 7.what is object?. 8. what is a class?. section 4: 1. expand the following: a.SEI b. ISO 2. what are different levels of SEI?. 3. What is significance of ISO?> 4. Expand the following: a. WWW b. HTTP c. HTML d. TCP/IP 5. what is Black box testing?. 6. explain the following: 1. white box testing 2. white box testing 3. boundary testing 4 stress 5. negative 6. system 7. unit 8.module 9.destructive ********************************************************************** ====================================================== Novell network paper ======================= The paper consists os three sections. 1. aptitude 15 questions 20 min. 2. system concepts 20 questions 20 min. 3. 'c' 15 questions 20 min. NOTE::::: I'm sendin the questions, somany have no answers. U do check the answers for all the given questions also. All questions are MULTIPLE CHOICES ONLY. U do try to cover the related topics to get some understanding. In interview They are asking C C++ Operating system concepts and Networks. They will ask about Ur interesting subjects, U try to have good grip on those intresting subjects. They selected 11 out of 55 students. They asked about c c++ project work and OS,NETWORKS. But they selected only 2 , one from CS and another is BTech ECE. SECTION 1 is main factor selection to the interview -------------------------------------------------------------- In the interveiw you should be very active .And should be frank to say no also.One CS student said that he don't know NETWORK and he hasn't taken NETWORKS subject.But he has selected. OK BEST OF LUCK. section 1::::; *. GRE book test paper 3 section 5 question no. 8 to 12 (ships WXYZ starting on dec. 23rd..........) * 5 programs are sheduled from monday to saterday, monday is not holiday, PQRST are the programs. The day before P is holiday, and some other clues are given, we have to find the sequence (4 questions) ANS: tuesday is the holiday P comes on wednesday , U can do the remaining very easily. * Suppose U R the presoner, There are two guards Who will tell truth or one will tell truth. There is a gate for liberty and another foe hell. Some questions are given, like i. are U tell truth? ii. another tell truth or not?? iii. both of U R telling truth?? iV. both of U lieing?? V. -------------- they gave a. b. c. d. and asking about which sequencing is sufficient to find the gate for liberty?? ( I can't give exact thing) * There are WIFE and HUSBAND at one side of river. They have one child, They want to cross the river. The child can't be lonly. The boat boy won't permit morethan one to cross the river, what is the correct way to cross the river?? * There are 7 targets, A B and C has to shoot them. All should be shooted consicutively. 1. The no. of chances for A and B are not less thn 2, 2. for C there is only one chance. 3. A can't shot 3 times consicutively. 4. B is permited to shoot in even chances only. They have given some 3or 4 questions on this * ----------------------------------------------------------------------------- ------------------------------------------------------------------------------ section 3:: 1.Max value of SIGNED int a. b. c. d. 2.One questin is given, long one, to find the answer U should be femiliar with the operation as follows int *num={10,1,5,22,90}; main() { int *p,*q; int i; p=num; q=num+2; i=*p++; print the value of i, and q-p, and some other operations are there. } how the values will change?? 3. One pointer diff is given like this: int *(*p[10])(char *, char*) asked to find the meaning. 4. char *a[4]={"jaya","mahe","chandra","buchi"}; what is the value of sizeof(a)/sizeof(char *) a. 4 b.bytes for char c-- d.-- ( we don't know the answer) 5. void fn(int *a, int *b) { int *t; t=a; a=b; b=t; } main() { int a=2; int b=3; fn(&a,&b); print the values os a and b; } what is the output--- out put won't swap, the same values remain. a. error at runtime b. compilation error c.2 3 d. 3 2 6. #define scanf "%s is a string" main() { printf(scanf,scanf); } what is the output. ANS : %s is string is string 7. i=2+3,4>3,1; printf("%d"i); ans is 5 only. 8. char *p="abc"; char *q="abc123"; while(*p=*q) { print("%c %c",*p,*q); } a. aabbcc b. aabbcc123 c. abcabc123 d. infinate loop ( this may be correct) 9. printf("%u",-1) what is the value? a. -1 b. 1 c. 65336 d. -- (maxint value-1 I think, check for the answer) 10. #define void int int i=300; void main(void) { int i=200; { int i=100; print the value of i; } print the value of i } what is the output? may be 100 200 11. int x=2; x=x<<2; printf("%d ",x); ANS=8; 12. int a[]={0,0X4,4,9}; /*some values are given*/ int i=2; printf("%d %d",a[i],i[a]); what is the value??? (may be error) 13. some other program is given , I can't remember it U can get it afterwads, the answer is 3 3, so U can check this in the exam. itself. I'll send the remaining two afterwars whenever I get them. OK ! 14. ------------------------------------------------------------------------- ************************************************************************** TECHNICAL TEST (MASCOT) --------- ---- Total 6 sections. 1)Computer Fundamentals 2)Algorithms 3)Hardware 4)Software 5)General Awareness 6)Languages * All together 60 questions with each section containing 10 questions. * All are multiple choice questions 1. One Nibble = ? 2. Hexadecimal and Octal representation of 1024 ? 3. What a compiler does ? 4. DOS ? (whether Graphical interface or Character interface and two more choices are given) 5. CPU - abbrevation 6. Fortran used as ( Ans : Scientific Language) 7. ASCII character set ? (total number) 8. Windows NT- What NT stands for? 9. Which is not an input device ? (keyboard, Disk, Mouse,Lightpen) 10. Which is not a pointing device ?( mouse,Joy stick,lightpen none) 11. Microsoft Chief ? 12. 4GL ? (Fortran,SQL,ADA, ....) 13. Father of Computers? 14. Which of them is Object Oriented Language.? 15. Power PC is the product of ? (Microsoft,IBM,Apple,Motorola,Intel) (A combination of any correct 3 companies) 16. Latest processor used ? (Pentium, Power PC, Pentium pro,none) 17. MS Word is ? 18. First Super Computer built in India. (Ans : param) 19. Which of the following companies donot manufacture chips? (Microsoft, Motorola, Intel, HP) 20. LAN - abbrevation 21. WAN - abbrevation 22. Modem is ? (related to electrical hardware.- Like Modulator &demodulator) 23. FDD - abbrevation ( floppy disk drive) 24. BIT - abbrevation 25. Information is ? (message, data,processed data,none) 26. Which is not networking ?(internet,ethernet,arcnet,none) 27. One Gigabyte =?( 2 power30 , 2 power 20 ,2 power 10 none) 28. Which of the following is not RDBMS ? (sybase, SQL,Acess,none)_ 29. Oracle is ? (Ans : Relationasl Data Base Management System) 30. In Oracle, Table means ( Ans : Collection of records) 31. DMA - abbrevation (Direct Memory Access,Discrete memory Access, Disk memoryaccess) 32. What is meant byStatic Variable ? 33. What is meant by QUEUE? {refer any data structures text} 34. What is meant by STACK? {refer any data structures text} 35. The processor used in first IBM PC? (8086,8088,zig4,intel) 36. Difference between 80286 and 80287 37. In bubble sort , no. of comparisons required ?(ans : formula : N*(N-1)/2) 38. No. of comparisons of an item in 100 items by binary comparison? ( 10,25,50 100) 39. CRT - (Cathode Ray Tube) 40. No. of entryvalues are there in ideally in a subroutine. 41. Binary tree? 42. Flow in one direction ? (Single linked list,Double linked list,.......,....) 43. Electron screen size ? (here, 2 lines of algorithm is given. Name the algoirithm) 44. Which is not storage device.? (printer,CD ROM,Disk,none) 45. A question regarding memory ? ( least used memory,recently unused memory,..) 46. ISO - (International Standard Organisation) 47. HTML - (Hyper Text Makeup Language) 48. Flow chart for factorial N? (ans :choice a) 49. What is meant by Recursion ? 50. Struct(s) { int a; long b; } Union (u) {int a; long b; } Print sizeof(s)and sizeof(u) if sizeof(int)=4 and sizeof(long)=4 51.Switch (i) i=1; case 1 i++; case 2 ++i; break; ( ans : 1,2,3,none) case 3 --i; Output of i after executing the program 52. char S; char S[6]= " HELLO"; printf("%s ",S[6]); output of the above program ? (0, ASCII 0, I,unpredictable) 53. Unsigned char c; for ( c=0;c!=256;c++2) printf("%d",c); No. of times the loop is executed ? (127,128,256,infinitely) 54. int i; i=0; repeat i=i+1; <====== PASCAL PROGRAM print i; until(i<10) end No. of times the loop is executed? 55. Convert (int A,var ,int B;int c) { A=10; B=4-; C=120; } Convert (inta,b,c) { <====== PASCAL PROGRAM a=1; b=4; c=12; } convert (A,B,c) ? (10,40,120 10,40,12,..........,............) 56. Procedure A Begin -------- end <====== PASCAL PROGRAM Procedure B No. Of errors in the program ?(1,2,3,none) Begin ----------- end 57. int i; i=2; i++; if(i=4) { printf(i=4); } else { printf(i=3); } output of the program ? (4,3,unpredictable,none) 58. what is FAT?. File allocation table QUANTITATIVE APPTITUDE TEST : --------------------------- Total 44 questions are there. Refer R.S. Aggarwal 1. How many degrees hours hand rotate in 10 minutes? 2. 1/(10 power 18) - 1/(10 power 20) = ? 3. 0 >=3;PRINT(y); } 5. struct list{ int x; struct list *next; }*head; the struct head.x =100 above is correct / wrong 6. '-'=45 '/'=47 printfr(%d/n,'-','-','-','-','/','/','/'); o/p =? 12.o/p=? int i; i=1; i=i+2*i++; printf(%d,i); 8.{ ch='A'; while(ch<='F'){ switch(ch){ case'A':case'B':case'C':case'D':ch++;continue; case'E':case'F':ch++; } putchar(ch); } } a)ABCDEF b.EFG c.FG d.error 9. FILE *fp1,*fp2; fp1=fopen("one","w") fp2=fopen("one","w") fputc('A',fp1) fputc('B',fp2) fclose(fp1) fclose(fp2)} a.error b. c. d. 10. int a=1; b=2; c=3; *pointer; pointer=&c; a=c/*pointer; b=c; printf("a=%d b=%d",a,b); a. a=1 b=3 b a=3 b=3 c 3 2 d. error 11.#include char *f() { char *s=malloc(8); strcpy(s,"goodbye") } main() { char *f()_; printf("%c",*f()='A'); } o/p=? 13. int sum(n) int n; if(n<1)return n; else return(n+sum(n-1)) a 10 b 16 c 14 d 15 14. when a function is recursively called all , automatic variables are a. stored in stack b . c. d 15) #define MAN(x,y) (x)>(y)?(x):(y) { int i=10;j=5;k=0; k= MAN(i++,++j) printf(%d %d %d %d,i,j,k) } 16) a=10;b=5; c=3;d=3; if(a show(int t,va_list ptr1) { int a,x,i; a=va_arg(ptr1,int) printf("\n %d",a) } display(char) {int x; listptr; va_star(otr,s); n=va_arg(ptr,int); show(x,ptr); } main() { display("hello",4,12,13,14,44); } a) 13 b) 12 c) 44 d) 14 ............................................. 17. if the following program (my prog) main(int size of ,char *arg[]) { while(size of arg) printf("%s",arg[--size of arg) } is run from the command line as myprog jan feb mar apr what would be the o/p a)myprog jan,feb,mar,apr b)rev c)jan,feb,mar,apr d)error ............................................. 18.what is o/p main() {int i=3; while(i--) { int i=100 i--; printf("%d..",i); } } a) infinite loop b) error c) 99..99..99..99 d) 3..22..1.. ............................................. 20)what is the o/p of the program main() { int rows=3,colums=4; int a[rows][colums]={1,2,3,4,5,6,7,8,9,10,11,12}; i=j=k=99; for(i=0;i