Vous êtes sur la page 1sur 6

PART-1(PROGRAMMING) Q1.

In which statements, does a CONTINUE statement cause the control to go directly to the test condition and then continue the looping process? a. FOR and WHILE b. WHILE and IF-ELSE c. DO-WHILE and IF-ELSE d. While and DO-WHILE e. None of above Q2. The traditional way to create an infinite loop in C is a. FOR ( ; ; ) b. IF (=) BREAK; c. WHILE () d. All of above e. None of above Q3. The comma operator (,) is used to a. Permit to different expressions to appear in situation where only one expression would ordinarily be used b. Terminate loops or to exit from switch c. Alter the normal sequence of program execution by transferring control to some other parts of the program d. Carry out the logical test and then take one of two possible actions, depending upon the outcome of the test e. None of above Q4. The recursive form of algebraic formula y=(x1 + x2 + +xn) is a. Y = x + n-1 xi i=1 b. Y= xn + n xi i=1 c. Y=xn+xi d. Y = xn + n-1 i=1 xi e. None of above Q5. Which one of the following, is a storage class specification in C? a. Automatic b. External c. Static d. All of above e. None of above Q6. What will this program display? #include <stdio.h> main() { float f; f=10/3; printf ("%f",f); } Ans : a. 3.3 b. 3.0 c. 3

d. 3.1

e. None of above

Q7. The string related function supplied by C standard library is a. strcpy() b. strcat() c. strcmp() d. All of above e. None of above Q8. C provides loop constructs for performing loop operations. They are

a. The WHILE statement c. The FOR statement e. None of above

b. The DO statement d. All of above

Q9. The header file 'ctype.h' can be used for a. providing links to assembly language for calls b. providing diagnostic and debugging assistance c. providing support for string handling functions d. providing character type identification (boolean) and translation Q10. The header file 'math.h* can be used for a. providing links to assembly language for calls b. providing diagnostic and debugging assistance c. providing support for string handling functions d. All of the above e. None of the above. PART-2(NETWORKING) Q11. Full form of URL? a) universal resource locator c) none of these b) uniform resource locator d) unidentified random locator.

Q12. If the ethernet card is removed. a) IP address will change b) MAC address will change Q13. TCP is a) connection oriented d) None of these Q14. How is data send by IP layer? a) as frames b) as packets

c) Nothing will happen.

b) connection less

c) god only knows

c) as datagrams

d) None

Q15. What is the function of shell? a) Interpreter b) command interpreter

c) interface

Q16. Which is a command interpreter ? a) Shell b) Kernel c)???

d)None

Q17. Which of the following statement are applicable to LINUX? i) Multi-User and Multi-Tasking ii) Open Source OS iii) Developed at AT&Ts Bell Laboratory, USA A) ( i ) only B) ( ii ) only

C) Both ( i) and ( ii ) D) ( i) , ( ii) and ( iii ) Q18. Which layer of OSI model is responsible for routing and flow control: (a) Presentation (b) Transport (c) Network (d) Data Link

Q19. A company whishes to connect two sites in different parts of the country together. It is decided to use the telephone system. What device should be connected to the fileservers on each site? (a) Router (b) Modem (c) Switch (d) Hub

Q20. What is the Protocol used for the Internet? (a) IPX/SPX (b) NetBIOS/NetBEUI PART-3(DATABASE) Q21. The ascending order of a data hirerchy is: a. bit-byte-record-field-file-database c. bit-byte-field-record-file-database b. byte-bit-field-record-file-database d. bit-byte-file-record-field-database (c) CDMA/CA (d) TCP/IP

Q22. Which of the following is true of a network structure? a. it is a physical representation of the data c. It is conceptually simple b. It allows a many-to-many relationship d. It will be dominant data base of the future

Q23. Which of the following is a problem of file management system? a. difficult to update d. program dependence b. lack of data independence e. all of above c. data redundancy

Q24. One data dictionery software package is called a. DB/DC dictionary d. Datapac b. TOTAL e. Data Manager c. ACCESS

Q25. The function of a database is ... a. to check all input data c. to collect and organize input data b. to check all spelling d. to output data

Q26. What is the language used by most of the DBMSs for helping their users to access data? a. High level language b. SQL c. Query Language d. 4GL

Q27. The model for a record management system might be a. handwritten list d. all of above Q28. Primitive operations common to all record management system include a. print b. sort c. look-up d. all of above b. a Rolodex card file c. a business form

Q29. In a large DBMS a. each user can "see" only a small part of the entire database b. each subschema contains every field in the logical schema c. each user can access every subschema Q30. Information can be transferred between the DBMS and a a. spreadsheet program c. graphics program b. word processor program d. a,b&c PART-4(Miscellaneous) Q31. A receiving host failed to receive all of the segments that it should acknowledge. What can the host do to improve the reliability of this communication session ? Ans : a) send a different source port number c) decrease the sequence number b) restart the virtual circuit d) decrease the window size e. only a&b

Q32. Routers operate at layer____. LAN switches operate at layer___. Ethernet hubs operate at layer____. Word processing operate at layer___.

Ans. a) 3,3,1,7

b) 3,2,1,none

c) 3,2,1,7

d) 3,3,2,none

Q33. Which of the following are types of flow control ? Ans. a) Buffering b) Cut-through c) Windowing e) VLANS

d) Congestion avoidance

Q34. Which router command allows you to determine wheather an ip access list is enabled on a particular interface ? Ans. a) show ip port b) show access-lists c) show ip interface

d) shoe access-lists interface Q35. ( IPv6 only) if you want to ping local loopback address of your local host. Which command you will execute ? Ans. a)ping 127.0.0.1 b)ping 0.0.0.0 c)ping ::1 d)trace 0.0.::1

Q36. What does cat>>file_name command do in LINUX ? Ans : a) Replace data in file c) error b) Append data in file d) rename a file

Q37. Which command is used to see the file permissions in LINUX ? Ans : a) ls sh <file> d) du sh <file> Q38. For permanent mounting in LINUX OS in which file manual entry is done by admin ? Ans : a) /etc/network b) /etc/network-scripts c) /etc/fstab d) none b) ls l <file> c) ls R <file>

Q39. Which command is used to reboot red hat LINUX server ? Ans : a) init 0 b) init 1 c) init 6 d) none

Q40. Which command is used to see the ip address in LINUX? Ans : a) ipconfig b) ifconfig c) show ip address d) show ip

Q41. Which command is used to get the MAC Address in Windows OS ? Ans : a) ipconfig /all b) getmac c) both a and b

d) none

Q42. Which command is used to see the active connections in MS WINDOWS? Ans ; a) netstat an b) arp a c) both a & b d) ipconfig /all Q43. Which command is used to open computer management in MS WINDOWS? Ans : a)computer management c)compmgmt.exe b)compmgmt.msc d)compmgmt.inf

Q44. Which command is used to operate internet in text mode in LINUX ? Ans : a) links b) network mode text c) networking.text d) none

Q45. Which command is used to shutdown LINUX machine ? Ans : a) init 0 b) init 1 c) init 2 d) init 6

Q46 : Which command is used to change working directory in Windows ? Ans : a) cd b) chdir c) a&b d) mv

Q47 : Which DOS command is used to verifies a storage volume (hard disk, partition, floppy disk, flash drive, etc) for file system integrity. Ans : a)check disk b)chkdsk c)chkdisc d)checkdsk

Q48. Which DOS command is used to defragrant a disk drive ? Ans : a)disk defrag b)defragment c)defrag d)none

Q49. Which DOS or LINUX command is used to print a message? Ans: a) echo b) print c) put d) none

Q50. Which command is used to Shows the directory tree of the current directory? Ans : a) printdir b) tree c) show dir d) none

Vous aimerez peut-être aussi