Phase Objective 2nd Year (Computer)
Phase Objective 2nd Year (Computer)
Objective
Note: Overwriting, cutting, use of lead pencil or ink remover is not allowed.
Q1. Each question has four possible options. Encircle the most suitable option. (15)
1. The table in which is found is called Dependent Table.
A. Foreign Key. B. Control key. C. Primary key. D. Sort Key
2. The functions that are defined by programmer are called:
A. User-defined. B. Subprograms C. Subroutines. D. Built-in functions
3. Which of the following are ingredients of data modeling?
A. Entities. B. Attributes. C. Relationship. D. All
4. Which of the following is used to describe the characteristics of an object?
A. Attribute B. Relationship C. cardinality D. Model
5. The relationship can be
A. One-to-one B. One to many C. Many to many D. All
6. In relational database, a table is also called:
A. Tuple B. Relation C. File D. Schema
7. The process of changing of source code into object code is called:
A. Compiling. B. Executing. C. Linking D. Saving
8. The extension of the header file is:
A. .CPP. B. txt. C. .c. D. .h
9.Which of the following is a valid character?
A. a. B. “Hello”. C. ‘6’. D. =
10.The number of bytes used by int data type in C is:
A. 2. B. 8. C. 12. D. 16
11. The function used to show the output on screen is:
A. printf(). B. scanf(). C. Sqrt(). D. Main()
12. Which form of dependency is removed in 2NF?
A. Functional B. Transitive C. Associative D. Partial
13. getch() stands for
A. go character B. get character C. give character D. All
14 The total number of keywords in C is
A. 32 B. 60 C. 90 D. 100
15. A statement that starts with a # is called a:
A. Pre-processor directive B. Keyword C. Comment D. None