Saturday, June 7, 2008

PAPER 26

15.five file sizes given . what should be the order of their access so

that least time is taken.



16. SQL query does what?



17. main()

{ printf("%u",main); } what will be the output?

18. main()

{

int l, b, con;

l=b=2;

con= (b==l) ? 1 : 0;

printf("%d",con);

}

what will be the value of con?



19. Software Configuration Management process is -

(a)developing & managing software for .....software....

(b)developing & managing hardware for....software.......

(c)... (d)..



20. Data Integrity constraint is ----------------------//DBMS



21. Paging is ------------------------//OS



22. What type of memory could be accessed in least time?//CO



23. what is vector processing



24. what is data integrity



25 . which of the following uses the minimum length of cable?

(a)ring (b)star (c)mesh (d)bus (e)all of the above



26. Best sorting if elements are already sorted



27. In network the packets are flowing unnecessarily what is the way to control

it and ....



28. A trigger is

(a) a statement ..start of database..

(b) statements that r executed as a side effect to the modification to the database

(c)... (d)...



29. in c r+ is used for

1.read only 2. writing only 3. both 1 and 2



30.ROM is

(a)volatile (b)permanent & fast

(c)device containing boot up program & is not accessible (d)...



31. what does the following statement mean?

int (*a)[4]

(a)'a' is a pointer to an array of 4 integers

(b)'a' is an array of pointers to integer

(c)'a' is a pointer to function returning an integer (d)...



32. If a primary key is an attribute of another one table means........

1. candidate key 2. foreign key 3. secondary key 4.....



33. what is the difference b/w 0123 and 123 in c?



34. In a student form what is the relationship b/w student and course



35. How can u append the ls and who to certain existing file (like that)(i.e. listing & output of who is to be directed to a file

(a)ls;who > filename (b)ls;who > > filename

(c)(ls;who) > > filename (d)who;ls < filename (e)...



36. which among the devices is spooled device?



37. suppose u have a network .users complain of slow ....u suspect a problem in network adapter once u find that the data is continuous and erroneous. what device do u use?

(a)volt-ohmmeter (b)SNMP (c)protocol... checking (d)all of the above



38.int i=10;

printf("%d%d%d",i,i++,++i); Output is ?



39.printf("Enter two values a and b:"):

scanf("%d%d",a,b);

printf("%d+%d=%d",a,b,a+b); Output is ?



40.when destroy window what message would display



41.MS Windows 3.1 about multitasking



42.windows 3.1 is



43. The command grep first second third /usr/you/myfile

a) prints lines containing the words first, second or third from the file /usr/you/myfile
b) searches for lines containing the pattern first in the files
second, third, and /usr/you/myfile and prints them
c) searches the files /usr/you/myfile and third for lines containing the words first or second and prints them
d) replaces the word first with the word second in the files third and /usr/you/myfile
e) None of the above



44.what is the command to initiate the windows



45.const char *, char * const. What is the difference between the above two?.



46.In Unix inter process communication take place using?.

47.What are the files in /etc directory?



48. In UNIX a files i-node ......?



49. Max relaxable permission value with out giving write permission to others?



50. Linking across directories?



51. In the process table entry for the kernel process, the process id value is

(a) 0 (b) 1 (c) 2 (d) 255 (e) it does not have a process table entry



52. The very first process created by the kernel that runs till the kernel process is halts is

a) init b) get tty c) both (a) and (b) d) none of these



53. Which of the following function is used to repaint a window immediately?

a) Send message(hWnd,WM_PAINt,......) b) InvalidateRect(.......)

c) Move Window d) WM_COPY e) None



54. Which function is the entry point for a DLL in MS Windows 3.1

a) Main b) Win main c) Dllmain d) Libmain e) None

No comments: