Computer Science Foy Test: Int Num (10) (3, 3, 3)
Computer Science Foy Test: Int Num (10) (3, 3, 3)
Computer Science Foy Test: Int Num (10) (3, 3, 3)
1. Which of the following is possible in a token passing bus network? a) in-service expansion c) unlimited number of stations b) unlimited distance d) both (a) and (b) 2. In networking terminology UTP means a) Unshielded Twisted pair c) Ubiquitious Teflon port b) Uniformly Terminating port d) Unshielded T-connector port 3. Simple network management protocol (SNMP) is implemented with a daughter board in a) The nodes b) the server c) the hubs d) a separate PC that manages the network 4. Different computers are connected to a LAN by a cable and a) Modem b) Interface Card c) Data Receiver d) Telephone Line 5. Method of communication in which transmission takes place in both directions, but only in one direction at a time, is called a) Simplex b) Four Wire Circuit c) Full Duplex d) Half Duplex 6. Bit stuffing refers to a) inserting a '0' in user stream to differentiate it with a lag b) inserting a '0' in lag stream to avoid ambiguity c) appending a nibble to the lag sequence d) appending a nibble to the use data stream 7. What can happen at a Token Ring station a) Examination of the destination address b) Passing of the frame to the next station
8. For 'C' programming language a) Constant expressions are evaluated at compile b) String constants can be concatenated at compile time c) Size of array should be known at compile time d) ALL 9. If x is an array of interger, then the value of &x[i] is same as a) &x[i-1]+sizeof(int) b) x+sizeof(int)*i c) x+i d) None 10. The information about an array used in a program will be sorted in a) Symbol Table b) Activation Record c) Dope Table d) Both a and b 11. The minmum number of inter changes needed to convert the array 89,19,40,17,12, 10,2,5,7,11,6,9,70 into a heap with maximum element at the root is a) 1 b) 2 c) 4 d) None 12. The const feature can be applied to a) An identifier b) An array c) An Array argument d) None 13. Consider the array definition int num [10] = {3, 3, 3}; Pick the Correct answers a) num [9] is the last element of the array num b) The value of num [ 8] is 3
d) None
14. The following program main( ) { static int a[ ] = { 7, 8, 9 } ; printf( "%d", 2[ a ] + a[ 2 ] ) ; } a) Result in Bus Error c) Will not Compile successfully b) Result in Segmentation Error d) correct 15. The parameter passing mechanism for an array is d) call by value b) call by value result c) call by value reference d) None 16. The maximum number of dimension an array can have in C is a) 3 b) 4 c) 5 d) Compiler Dependent 17. Representation of data structure in memory is known as: a) Recursive b) Abstract Data Type c) Storage Structure d) File Structure 18. Checking quality of software in both simulated and live environments is known as a) Checking b) Usability c) Validity d) Validation 19. The largest percentage of total life cycle cost of software is: a) Design Cost b) Maintenance Cost c) Coding Cost d) Testing Cost 20. The way a particular application views the data from the database that the application uses is a a) Module b) Relational Model c) Schema d) Sub Schema 21. A logical scheme of organizing information into accessible parts. a) Is the entire Data Base b) is a standard way c) Describes data storage d) None 22. A DBMS query language is designed to a) Support end users who use English-like commands b) Support in the development of complex applications software c) Specify the structure of data base d) ALL 23. Which of the following is an advantage of view? a) Data Security b) Derived Columns c) Hiding of Complex Queries d) ALL 24. Let E1 and E2 be two entities in an E/R diagram with simple single-valued attributes. R1 and R2 are two relationships between E1 and E2, where R1 is one-to-many and R2 is many-to-many. RI and R2 do not have any attributes of their own. What is the minimum number of tables required to represent this situation in the relational model? a) 2 b) 3 c) 4 d) 5
25. Given the basic ER and relational model which of the following is incorrect? a) Any entity can have more than one attribute b) An attribute of an entity can be composite c) In a row of relational table an attribute have more than one value d) In row of a relational table, an attribute can have exactly one vlaue or a NULL value.