0% found this document useful (0 votes)
1K views23 pages

Computer Sc. 12th FB Solved MCQs - Nauman Sadaf

1. The document appears to be a test paper for a Computer Science class containing 50 multiple choice questions covering topics related to databases, programming, and computer fundamentals. 2. The test paper includes the student's name, father's name, roll number, class, and date for a multiple choice question exam covering chapters 1 through 14. 3. The questions cover topics such as database concepts, file types, programming constructs, and operating systems.

Uploaded by

Ali Shahbaz
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
1K views23 pages

Computer Sc. 12th FB Solved MCQs - Nauman Sadaf

1. The document appears to be a test paper for a Computer Science class containing 50 multiple choice questions covering topics related to databases, programming, and computer fundamentals. 2. The test paper includes the student's name, father's name, roll number, class, and date for a multiple choice question exam covering chapters 1 through 14. 3. The questions cover topics such as database concepts, file types, programming constructs, and operating systems.

Uploaded by

Ali Shahbaz
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 23

Smart Guess & Test Papers

Student Name ______________________ Father Name ______________________ Roll Number _______


Class: 2nd /Year - Computer Science New Marks : ___________ Exam Format : Full Book MCQs
Time : NOTESPK.COM_Nauman Sadaf | Date _________________ Examiner Sig __________ Chapter#: 1, 2,
3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14

MCQ's S/Q L/Q Total

Objective Type

‫تس‬
1. Encircle the Correct Option. ‫وجاب ےک رگد دارئہ اگلںیئ۔‬ ‫در‬ .1
1) Which mode opens only an existing file for both reading and writing ?
a) "w" b) "w+" c) "r+" d) "a+"

2) Each column in a table represents .


a) Field b) Record c) File d) Data set

3) Which of the following is used to retrieve data from one or more tables of database and to present it to the user in a
formatted way?
a) Report b) Form c) Query d) Table

4) Another name for file is called .


a) Collection records b) Row c) Dataset d) Tuple

5) A loop within a loop is called .


a) Complex b) Nested c) Infinite d) For

6) A record is a complete set _________ of field .


a) Distinct b) Related c) Designed d) All of them

7) What symbol indicates that you are editing a record ?


a) Pencil b) Black arrow c) Key d) Asterisk

8) A ________ is a set of related records .


a) Language b) Function c) File d) Program

9) It makes very simple to create a database .


a) Sample database b) Common standard c) Wizard d) Easier programming

10) Which one of the following is used to associate entities with each other ?
a) Attributes b) Entities c) Relationship d) Cardinals / Identifier

11) Following type of report spreads the information for a single record over many rows .
a) Columnar b) Justified c) Data sheet d) Tabular

12) Term for conditional operator is .


a) Ternary b) Binary c) Byte d) Iteration

13) An expression consists of.


a) Operators b) Operands c) Both A & B d) None of these

14) Following is the file extension of the program file .


a) .exe b) .com c) .prg d) Both A & B

15) printf () is a .
a) Built-in function b) User-defined function c) Local function d) Keyword

16) The escape sequence for backslash is .


a) \ b) \a c) \n d) \m

17) A collection of raw facts and figures is called .


a) Data b) Information c) Processing d) Output

18) The column of a table corresponds to.


a) Table b) Field c) Record d) Cell

19) Following is the resulting collection of records .


a) Form b) Query c) Dynaset d) Report

20) Which of the following type of variables are destroyed when the program is terminated .
a) Register variables b) Automatic variables c) Local variables d) Global variables

21) Which of the following data type offers the highest precision ?
a) Float b) Long int c) Long double d) Unsigned long int

22) The type of files from usage point of view include .


a) Master file b) Backup file c) Transaction file d) All of these

23) Which term describes the kind of values that a variable can store ?
a) Data type b) Variable name c) Variable type d) Variable size

24) Following object is used to display data as well as to change data of a database .
a) Form b) Report c) Both A & B d) None of these

25) Following is the default field size of Text data type in MS - Access .
a) 100 b) 50 c) 255 d) 150

26) The escape sequence to produce beep from computer speaker is .


a) \t b) \a c) \n d) \b

27) All records in a file have the same .


a) Contents b) Structure c) Order d) Key

28) If fptr = fopen ("afile.txt" , "r" ) statement is used to open a file then what would be the necessary condition ?
a) The file must already b) The file must contain c) The file should be data d) The type of file must be
exist valid student data file only read only

29) The number of characters in fixed - length field is .


a) Constant b) 5 c) 255 d) Variable

30) Following key consists of two or more than two attributes of a table .
a) Composite key b) Foreign key c) Primary key d) Sort key

31) Which of the following represents a collection of concepts that are used to describe the structure of a database ?
a) Data warehouse b) Data model c) Data structure d) Data type

32) A built-in function .


a) Cannot be redefined b) Cannot return a value c) Can be redufined d) Should be redefined

33) An array subscript should be.


a) int b) float c) duble d) real

34) The field width will automatically _______ if the specified space is not sufficient to accommodate the value .
a) Adjusted b) Shrink c) Expanded d) None of these

35) Which of the following type of file require largest processing time ?
a) Sequential file b) Random file c) Direct access file d) Indexed sequential file

36) A sub form can be created by using.


a) The form wizard b) Sub form wizard c) Drag and drop method d) All of these

37) The relationship between countries and their capitals is an example of _______ relationship .
a) One-to-one b) One-to-many c) Many-to-many d) None of them

38) In a group of nested loops , which loop is executed the most number of times ?
a) The outermost loop b) All loops at the same c) The innermost loop d) Cannot be determined
number of times
39) In the Relation , following is insignificant .
a) Name of relation b) Number of records c) Order of rows d) Size of relation

40) While of the following statement is true about a function call ?


a) Stops the execution of the b) Transfers control to the c) Transfers control to d) Resumes the execution of
program main function the called function the program

41) The major database objects in MS Access is / are .


a) Two b) Four c) Three d) Five

42) The process of arranging data in a logical sequence is called .


a) Sorting b) Sumarizing c) Capturing d) Classifying

43) A request for information from a database in database terminology is called .


a) Report b) Form c) Table d) Query

44) Which wildcard replaces one character only ?


a) * b) ? c) : d) !

45) In relational database a table is also called a .


a) Tuple b) Relation c) File d) Scheme

46) A file is stored in .


a) RAM b) Hard disk c) ROM d) Cache

47) What happens when the result of a calculation exceeds the capacity of data type ?
a) System error b) Logic error c) Syntax error d) Overflow

48) C was designed to write program for .


a) Windows operating b) Unix operating system c) Solaris operating system d) S/2 operating system
system
49) In Access, the structure of a table is created in _________ view.
a) Design View b) Datasheet View c) Both A & B d) None of these

50) Video file has the following file extension .


a) .avi b) .wav c) .mpg d) Both B & C

51) Which of the following header files is most commonly used in C program ?
a) math.h b) stdio.h c) conio.h d) stdlib.h

52) Which programming structure executes program statements in order ?


a) Relation b) Decision c) Sequence d) Repetition

53) The implementation model of database design is derived from .


a) Relational Model b) User Model c) Conceptual - Model d) Data Model

54) To find all names start with M from student table , the criteria is.
a) Like " M? " b) Like " M# " c) Like " M- " d) Like " M* "

55) Following two objects cannot have the same name in a database .
a) Tables b) Rows c) Database d) Records

56) How many types of identifiers are in C language ?


a) 2 b) 3 c) 4 d) 5

57) Which of the following are determined by format specifier ?


a) Data type b) Field width c) Format of the value d) All of these

58) A ____ structure chooses which statement or a block of statements is to execute .


a) Selection b) Input / output c) Sequence d) Repetition

59) The actual body of the function is defined in .


a) Function declaration b) Function definition c) Function call d) Function header

60) C is a .
a) High level language b) Assembly language c) Low level langauage d) Machine language

61) A virtual table that is constructed from other tables is called .


a) Tuple b) Table c) View d) Report

62) Which of the following function is used to write string to a file ?


a) getc ( ) b) putc ( ) c) fputs ( ) d) fgets ( )
63) A form within another form is called .
a) Sub Form b) Main Form c) Multi Form d) Form

64) Following type of field is used to store the URL address of any website .
a) Text b) Hyper Link c) OLE object d) Memo

65) In for loop , which expression is executed at least once .


a) Test condition b) Increment c) Initialization d) Decrement

66) SQL is used for .


a) Data manipulation b) Data definition c) Data deletion d) All of these

67) The region of a program in which a variable is accessible is called .


a) Area b) Scope c) Function d) Use

68) Following is the basic distribution strategy .


a) Centralized b) Partitioned c) Replicated d) All of these

69) The function getch () is defined in .


a) stdio.h b) string.h c) math.h d) conio.h

70) Foreign key is found in .


a) Parent Table b) Dependent Table c) Pivot Table d) Index table

71) Which of the following data type offers the highest precision ?
a) Float b) Long int c) Long double d) Unsigned long int

72) Following is an example of form layout .


a) Justified b) Spreadsheet c) Columnar d) Datasheet

73) The variables declared inside any function are known as .


a) Global variables b) External variables c) Private variables d) Local variables

74) The wildcard __________ Sal[ei]ma.


a) Saleema b) Salima c) Both A & B d) None of these

75) A process of assigning initial value to a variable at the time of declaration is called .
a) Assigning b) Initializing c) Naming d) Executing

76) Merge the relations is also called .


a) View data model b) View relation c) View integration d) ERD

77) Machine language .


a) Is the language in which b) Is the only language c) Differs from one type of d) All of these
programs were first written understood by the computer computer to another
78) A series of actions that are performed on raw data to achieve the required objectives and results are called .
a) Operation b) Data processing c) Information d) Both A & B

79) The while loop body with multiple statements ends with .
a) Right brace } b) Right bracket ] c) Comma d) Semicolon

80) Escape sequence \\ is use to input .


a) New line b) Backslash c) Space d) Tab

81) How many types of relationship ?


a) 2 b) 3 c) 4 d) 5

82) Which of the following is also known as control key ?


a) Foreign key b) Composite key c) Primary key d) Sort key

83) The following is the most suitable example of primary key .


a) Name b) Birth date c) Address d) NIC number

84) Which one is not a loop structure .


a) Switch b) For c) While d) Do-while

85) Following type / layout of form displays multiple records at a time .


a) Tabular b) Datasheet c) Columnar d) None of these
86) The attribute on left hand side of arrow in functional dependency is called .
a) Entity b) Determinant c) Dependent d) Attribute

87) Stdio.h is a part of .


a) Comment section b) Compiler c) Linker d) Main function

88) A collection of logically related data set is called .


a) Record b) Data file c) Database d) File

89) In 3NF , a non-key attribute must not depend on a (n) .


a) Non-key attribute b) Composite key c) Key attribute d) Sort key

90) To link a database following menu is used .


a) Edit b) File c) Link d) Tools

91) The relationship between the entities is represented graphically by using .


a) E - R diagram b) Data flow diagram c) Flow charts d) Decision tables

92) An identifier in C language , may consists of ________ character .


a) 30 b) 31 c) 32 d) 33

93) Semicolon is placed at the end of condition in .


a) Switch b) While loop c) For loop d) Do - while loop

94) The rule that a record from a table cannot be deleted if its associated record exits in a related table is called rule .
a) Referential integrity b) Normalization c) Entity ____ relationship d) All of them

95) An array subscript should be .


a) int b) float c) boule d) real

96) In if-statement , false represented by .


a) 2 b) 1 c) 3
97) The lowest level of programming language is .
a) Jave b) Assembly Language c) Pascal d) C++

98) A record is complete set of the following type of fields .


a) Distinct b) Related c) Designed d) All of these

99) In ERD model , the relationships between two entities are represented by .
a) Rectangle b) Oval c) Square d) Diamond

100) A form within form is called.


a) Sub Form b) Multi Form c) Main Form d) Form

101) Which of the following represents an object ?


a) Person b) Company c) An event d) All of these

102) _________ can be previewed on the screen before printing .


a) Report b) Form c) Subform d) None of them

103) The statement that activates a function is called .


a) Function call b) Function output c) Invoking a function d) Function input

104) Which function is called formatted output function ?


a) scanf () b) puts () c) printf () d) fputs ()

105) To mention end of file point , following marker is used .


a) File End ( FE ) b) End File ( EF ) c) End of File ( EF ) d) End of File ( EOF )

106) Turbo C ++ can compile


a) C ++ programs only b) Turbo C programs only c) C and C++ prgrams d) Turbo C++ programs
only
107) A rule that states that each foreign key value must match a primary key value in the other relation is called .
a) Referential integrity b) Entity key group rule c) Key match rule d) Foreign / Primary match
constraint rule

108) In if statement , normally true is represented by .


a) 1 b) 2 c) 3

109) The following buttons to find and Replace dialog is clicked to start the search process ?
a) Find b) Find next c) Search d) Next

110) The processing of running an executable file is known as .


a) Dubagging b) Compiling c) Executing d) Saving

111) _______ loop structure always executes at least once.


a) Nested b) FOR c) While d) do while

112) In if-else if statement only ______ block (s) of statement is executed .


a) One b) Two c) Three d) More than three

113) Which of the following function is used to write string to a file?


a) getc ( ) b) putc ( ) c) fputs ( ) d) fgets ( )

114) Another name of built in function is .


a) Library function b) Arithmetic function c) User defined function d) All of these

115) To create a new database there is a button named .


a) Open b) Select c) Create d) Retrieve

116) The following is the feature of DBMS ?


a) Data dictionary b) Backup and recovery c) Query language d) All of these

117) Following defines the nature of the relationship .


a) Cardinality b) Modality c) Simple d) Recursion

118) Variables are created in .


a) RAM b) ROM c) Hard Disk d) Cache

119) A file is stored in .


a) RAM b) ROM c) Hard disk d) Cache

120) The value of C expression 5/9*2 are .


a) 0.27 b) 1.11 c) 2

121) Which of the following are valid examples of character constant ?


a) ' A ' b) ' 9 ' c) ' $ ' d) All of these

122) Which one is not related to an entity ?


a) Person b) Concept c) Action d) Object

123) Following perform tasks that may need to be repeated many times.
a) Condition b) Module c) Program d) Function

124) Following menu in MS - Access contains commands that can be used to switch between table views .
a) File b) View c) Edit d) Tool

125) What does the # sign indicate in an instruction of C language ?


a) Instruction for b) Instruction for Linker c) Instruction for d) Instruction for loader
programmer compiler

126) The statements written by the programmer or developer are called .


a) Source code b) Object code c) Syntax d) None of these

127) Following is a collection of related data organized in rows and columns .


a) Table b) Query c) Form d) Report

128) A program written in following language runs directly on the computer .


a) C b) Machine c) Assembly d) Jave

129) A table is also called .


a) Two dimensional array b) Relation c) Both A & B d) Key

130) Data integrity is expressed in terms of .


a) Constraints b) Consistency rules c) Correctness d) All of these

131) Following allows to query and records faster while using MS - Access .
a) Key b) Primary key c) Index d) All of these

132) Variables are created in .


a) RAM b) ROM c) Hard Disk d) USB

133) A database consists of various components called the .


a) Tool b) Properties c) Entities d) Object

134) The following database object which actually stores data is called .
a) Table b) Form c) Query d) Report

135) The extension of a file created in notepad is .


a) .doc b) .txt c) .exe d) .xls

136) The following data model creates parent - child relationship between data elements and enables each child to have just
one parent .
a) Network model b) Relational model c) Hierarchical model d) Data model

137) Which of the following is not a valid escape code ?


a) \t b) \v c) \y d) \f

138) Which operators are used to join two or more conditions ?


a) Relational b) Logical c) Assignment d) Comparison

139) Which of the following key is used to compile a program ?


a) Alt + F9 b) Ctrl + F9 c) Ctrl + S d) Alt + F5

140) ______ is not decision making statement .


a) if b) break c) nested if d) switch

141) A person who is responsible for the organization of entire data of an organization is called .
a) DBA b) DA c) Administrator d) System administrator

142) Which of the following is a one to many relations.


a) Student - Reg No b) Person - Date of Birth c) Mother - daughter d) Country - Capital

143) How many digits are printed to the right of the decimal point in real number ?
a) 15 b) 3 c) 6 d) 5

144) C is a strongly typed language , this means that ,


a) Every program must be b) Every variable must c) The variable declaration d) Sufficient data types are
compiled before execution be declared before it is also defines the variable available to manipulate each
being used type of data

145) Following is a type of relationship .


a) One to One b) Ont to Many c) Many to many d) All of these

146) Global variables are created in .


a) RAM b) ROM c) Hard disk d) Cache

147) Which of the following is NOT an example of a program bug ?


a) Run time error b) Operator error c) Syntax error d) Logical error

148) Memory is allocated to a local variable at the time of its .


a) Declaration b) Destruction c) Definition d) First reference

149) The expression 0 % 4 has a value equal to.


a) 4 b) 1 c) 2 d) 0

150) In C Language , first line of the function definition is known as .


a) Function header b) Arguments c) Function body d) Parameters

151) The ampersand before the name of a variable denotes .


a) Actual value b) Variable name c) Address d) Data type

152) The text written between /* and */ is called .


a) Command b) Line c) Sentence d) Comment

153) To properly exit the MS Access application , Click on File Menu and choose .
a) Close b) Exit c) Return d) Open

154) Which of the following is the native language of computer ?


a) C langauge b) Pascal c) Machine language d) Java

155) Following view is used to add , edit and delete records form the table .
a) Design View b) Record view c) Datasheet View d) Edit View

156) Communicating the information through internet is related to .


a) Managing the output b) Data manipulation c) Data capturing d) Sorting
result
157) A report can be made from .
a) A table but not a query b) Neither a table nor a query c) A query but no a table d) Both a table and a
query
158) A ______ can store text only .
a) Binary file b) Text file c) Exe file d) Object file

159) SQL Stands for .


a) Sort Query List b) Structured Query c) Self Quantifying Language d) Self Quantitate Language
Language
160) The following is / are the property / properties of relation .
a) Each attribute has a b) No multivalued attributes c) No two rows are same d) All of these
different name
161) A type of an identifier which is defined by a programmer to access memory location (s) .
a) User - defined identifier b) Standard identifier c) Both A & B d) None of these

162) The programmer usually enter source code or program into a computer using .
a) Compiler b) Text editor c) Debugger d) Linker

163) The following is not an example of database management system ?


a) MS Access b) SQL Server c) Oracle d) Excel

164) Views are also called.


a) Complex Tables b) Simple Tables c) Virtual Tables d) Actual Tables

165) Following term of a function describes the number and type of its arguments and the return type of the function .
a) Size b) Name c) Header d) Type

166) For following data type , user does not require to enter data for that field .
a) Number b) Auto Number c) Automatic Number d) Memo

167) Which of the database models has the general shape of an organizational chart ?
a) Network model b) Relational model c) Hierarchical model d) Data type

168) When a relational expression is false , it has the value .


a) Zero b) One c) Less than zero d) Two

169) A counter can be defines as .


a) The final value of a loop b) The starting value of a c) A variable that counts d) The step value of a loop
loop loop iteration
170) Following menu is used to sort data in Microsoft Access .
a) Tools b) Data c) Records d) Query

171) The format specifier % f is used for .


a) double b) float c) int d) long

172) Following is not included in a database wizard .


a) Template b) Selecting Fields c) Customizations d) Designing Database

173) The number of characters in variable - length field is .


a) Constant b) 5 c) 255 d) Variable

174) A table must have .


a) Primary key b) Secondary key c) Composite key d) Sort key
175) What is the final value of I after executing the code : for ( inti = 1 : i < 5 ; i + = 2 )
a) 7 b) 5 c) 6 d) 9

176) Which is a valid character constant ?


a) A b) " Hello " c) ' 6 ' d) =

177) Which of the following character is used to mark the end of the string ?
a) \0 b) /0 c) \a d) \n

178) Another name for predefined functions is .


a) User defined b) Custom built c) Built in d) Modal

179) A row of table divided into columns is called .


a) Records b) Fields c) Entities d) Tuples

180) As in Design view , you can move from field to field in the Table window in Datasheet view using ________ button.
a) Tab b) Esc c) Enter d) Spacebar

181) Logical operators are .


a) NOT b) AND c) OR d) All of these

182) A subform can be created using following method .


a) Form Wizard b) Subform Wizard c) Drag and drop method d) All of these

183) A loop counter can be defines as .


a) The final value of a loop b) The initial value of a c) A variable that counts d) The step value of a loop
loop loop iterations
184) Preprocessor directives are commands for .
a) Microprocessor b) C preprocessor c) Language processor d) Loader

185) If x = 2 and y = 3 , what will be the output of the expression ? x>y? x + y : x*y;
a) 6 b) 5 c) 12 d) 10

186) The Objectives of database include .


a) Data integration b) Data integrity c) Data independence d) All of these

187) An array subscript should be.


a) int b) float c) double d) an array

188) A special value that terminates the loop is called .


a) Terminate value b) Sentinel value c) Control value d) End value

189) In the statement FILE * fp ; the * denotes .


a) Pointer b) Variable c) Multiplication d) Parameter

190) The Database system consists of following four major parts .


a) Hardware , hard drive , b) Hardware , software , c) Software , you , me , d) DBMS , hardware , user ,
monitor , data people and data DBA , client programmer

191) The columns of a table correspond to .


a) Table b) Record c) Field d) Cell

192) The name of actual and formal parameters .


a) May or may not be b) Must be different c) Must be same d) Must be in lowercase
same
193) The escape sequence for backslash is .
a) \ b) \b c) \\ d) \t

194) Which of the following may be a temporary file ?


a) Master file b) Transaction file c) Backup file d) None of these

195) Which of the following language requires no translator to execute the program .
a) C b) Machine language c) C++ d) Assembly language

196) Following represents an entity .


a) Car b) Student c) House d) All of these
197) A database consists of various components called .
a) Tools b) Properties c) Entities d) Objects

198) Which one is a control structure ?


a) Selection b) Sequence c) Repetition d) All of these

199) How many are the layout of report ?


a) 3 b) 2 c) 5 d) 4

200) To close the switch board automatically following command can be associated with button
a) Close b) Exit c) Quit d) Un - load

201) _____ is a loop statement .


a) If b) While c) If-else d) Switch

202) A spelling error ( e.g. typing Int instead of int ) is an example of


a) Syntax error b) Runtime error c) Logical error d) Compiler error

203) The computer program is normally written in .


a) English language b) Programming language c) Both A & B d) Electrical language

204) The following is not an advantage of database system or DBMS .


a) Data security b) Data idependence c) Data redundancy d) Data sharing

205) The number of bytes used by int data type in C is .


a) 8 b) 6 c) 4 d) 2

206) A virtual Table that is constructed from other tables is called.


a) Tuple b) Table c) View d) Report

207) Which for loop will counts from 0 to 5 ?


a) For int c = 0 ' < = 6 ; c++ b) For int c = 0 ' < = 5 ; c) For int c = 0 ' < 5 ; c++ ) d) For int c = 0 ' < = 7 ; c++
) c++ ) )

208) What is the name for a word that has a specific meaning in C language ?
a) Keywords b) Commands c) Operands d) Operators

209) Graphical representation of a program is called.


a) Flowchart b) Logical chart c) Binary chart d) Logical diagram

210) The format specifier % is used for .


a) Integer b) Unsigned short c) Unsigned float d) Unsigned long int

211) Which of the following object of database is used to retrieve data from database ?
a) Queries b) Forms c) Reports d) Tables

212) How many table views are available in MS - Access ?


a) 1 b) 2 c) 3 d) 4

213) C - Language was developed in.


a) 1962 b) 1969 c) 1970 d) 1972

214) Which of the following buttons of Find and Replace dialog box is clicked to start the search process ?
a) Find b) Find Next c) Search d) Next

215) All of the following are logical operators expect .


a) && b) c) ! d) >=

216) Which of the following is an example of student data ?


a) Roll - no b) Name c) Address d) All of these

217) Following is the object of MS - Access database file .


a) Queries b) Tables c) Forms d) All of these

218) The expression 11% 3 has a value equal to .


a) 1 b) 3 c) 2 d) 8

219) Which of the following key is used to save a file ?


a) F2 b) F3 c) F4 d) F9
220) A key is .
a) A unique field that b) The first field of a c) The most important field in d) The last field of a table
identifies a record table a table

221) In while loop , the loop control variable is always initialized ?


a) Outside the program b) After loop ends c) Inside the loop body d) Outside the body of
loop
222) A ________ Auto form displays one record at a time .
a) Tabular b) Columnar c) Datasheet d) Justified

223) Another term for computer making a decision is .


a) sequuential b) Selection c) Repetition d) Iteration

224) To open a file following function is used .


a) Open ( ) b) File open ( ) c) Fopen ( ) d) Getc ( )

225) The variables that are declared outside all blocks are called .
a) General variables b) Global variables c) Local variables d) Global data items

226) ____ structure are used to control the flow of execution in a program .
a) Data b) Program c) Input d) Control

227) ________ iterates at least once if condition is false.


a) While loop b) For loop c) Do - while loop d) All of these

228) A function is called with help of its .


a) Name b) Parameter c) Definition d) Return value

229) In a C program , two functions can have .


a) Same name b) Same name and same c) Same parameters d) Same name but different
parameters parameters
230) Which view is used to add, edit or delete record from table?
a) Record View b) Design View c) Datasheet View d) Edit View

231) Semicolon is placed at the end of condition in .


a) Switch b) For loop c) While loop d) Do - while loop

232) Which of the following is called counter loop ?


a) nested if-else b) if-else c) for loop d) while loop

233) In hybrid distribution which kind of fragments are stored at only one site .
a) Critical fragments b) Critical and Non-critical c) Non-critical fragments d) Only large fragments
fragments
234) In if-statement , true is represented by .
a) 1 b) 2 c) 3

235) How find four name that starts with H , the criteria is specified as ?
a) H * a b) H ? 4 c) H ???? d) H # #

236) Database development process involve mapping of conceptual data model into.
a) Object oriented data b) Network data model c) Implementation model d) Hierarchical data model
model
237) In File handing sequence of bytes is called .
a) Text stream b) File stream c) Binary steam d) Character stream

238) A block of code is surrounded by .


a) ( ) b) [ ] c) { } d) " "

239) The format specifier % u is used for .


a) Interger b) Unsigned short c) Unsigned float d) Unsigned long int

240) The Do - while loop structure always ends with.


a) Comma b) Colon c) Semi colon d) Brace

241) Actual argument are used in .


a) Function declaration b) Functioncall c) Function prototype d) Function definition

242) a + = b is equivalent to
a) b + = a b) a = a - b c) a = a + b d) b = b + a

243) C statement ends with


a) Period b) Comma c) Colon d) Semi colon

244) Which of the following looks for the prototypes of functions used in a program ?
a) Linker b) Loader c) Compiler d) Parser

245) a + = b is equivalent to .
a) b + = a b) a = + b c) a = a + b d) b = b + a

246) The scope of a variable refers to its .


a) Length b) Name c) Accessibility d) Data type

247) The process of sending an argument to a function is called.


a) Sending b) Filtering c) Delivering d) Passing

248) The following keys does not hold uniqueness property .


a) Candidate key b) Foreign key c) Sort key d) Secondary key

249) The output of a query is in the form of a .


a) Table b) Form c) Report d) Query

250) You can drag the __________ bar to move the property sheet window around on your screen.
a) Title bar b) Status bar c) Scroll bar d) All of them

251) The " exe " file is produced by .


a) Linker b) Loader c) Compiler d) Interpreter

252) Following controls the value of record and sets it in a specific format .
a) Field Validation Rules b) Input Mak c) Caption d) Indexes

253) To find a name that start with S , the criteria is written as .


a) S # ? b) S # c) ? S d) S*

254) The logic not operator , denoted by ! , is a .


a) Ternary operator b) Binary operator c) Unitary operator d) Bitwise operator

255) Which input function will not print the entered character on the screen ?
a) scanf () b) getch () c) getche () d) getchar ()

256) getch() is a part of .


a) stdio.h b) conio.h c) math.h d) All of above

257) Which part of the compiler handles the preprocessor directives ?


a) Supervisor b) Shell c) Processor d) Preprocessor

258) SQL can be used to .


a) Retrieve selected records b) Update records of c) Create table d) All of these
from database database
259) Which type of report can display multiple records on one page ?
a) Columnar b) Data sheet c) Tabular d) Both A & C

260) Which of the following is called counter controlled loop ?


a) do-while b) while c) for d) All loops

261) Which escape sequence is used to begin new line ?


a) \a b) \b c) \m d) \n

262) A memory location with some data that can be changed is called .
a) Constant b) Named constant c) Address d) Variable

263) Which of the following does not contain machine language code ?
a) Source code b) Object code c) Library code d) Binary code

264) Following serves as a bridge between end users and database administrator .
a) Data administrator b) Application programmer c) System analyst d) None of these

265) The for loop contains three expressions , initialization , condition and .
a) Character b) Float c) Increment / decrement d) All of these

266) To find all names start with M , from table the criteria is .
a) Like " M? " b) Like "M-" c) Like "M#" d) Like "M*"

267) A logical interface to a file is called .


a) I/O b) FILE I/O c) Stream d) Pointer

268) The ____ loop will execute at least once even the condition is false .
a) While b) Do - while c) For d) All of these

269) Which is a numeric data type ?


a) Floating point b) Integer c) Both A & B d) String

270) Void occupy how many bytes in memory ?


a) Zero b) One c) Two d) Three

271) An association established between common fields in two tables is called .


a) Entity b) Relationship c) Entity - Relationship Model d) Integrity

272) The following model has no physical connections between entities .


a) Network model b) Relational model c) Hierarchical model d) None of these

273) .exe file is produced by the .


a) Linker b) Loader c) Compiler d) Interpreter

274) The expression p - = q is equivalent to .


a) p = q - p b) p = q - 1 c) p = p - q d) q = p - q

275) An expression consists of .


a) Operators b) Operands c) Both A & B d) None of these

276) The following is / are example (s) of a database system .


a) Library management b) Inventory management c) College Management d) All of these
system system
277) Following type of query is used to perform calculations on the data of numeric field(s) .
a) Select Query b) Delete Query c) Parameter Query d) Crosstab Query

278) Relational operators are used to .


a) Establish a relationship b) Compare two values c) Constant compound d) Perform arithmetic
among variables condition operations

279) Scanf function stores input value into .


a) Signature of a variable b) Position of a variable c) Constant d) Address of a variable

280) In statement scanf ("%f, %kilometer); , kilometer is a (n) .


a) Integer variable b) Float variable c) String variable d) Double variable

281) The predefined functions that are part of C language are called .
a) User defined b) Subprograms c) Subroutines d) Built- in functions

282) The function used for input and out put is stored in .
a) Stdio.h b) Conio.h c) Math.h d) Tan.h

283) A built - in function .


a) Cannot be redefined b) Cannot return a value c) Can be redefined d) Should be redefined

284) The row of table is also called .


a) Entity b) Attributes c) Cell d) Record

285) Which of the following is a valid character constant ?


a) a b) "6" c) '6' d) =

286) Which of the following keys does not hold uniqueness property ?
a) Candidate key b) Foreign key c) Primary key d) Secondary key
287) A type of function is written by the programmer is known as .
a) User - defined b) Subprograms c) Subroutines d) Built - in - function

288) The parameters specified in the function header are called .


a) Formal parameters b) Default parameters c) Actual parameters d) Original parameters

289) A type of an identifier which has a special meaning in C .


a) User - defined identifier b) Standard identifier c) Both A & B d) None of these

290) The function that is used to display output on screen is called .


a) scanf b) pow c) display d) printf

291) In database , correctness and consistency refers to .


a) Constraints b) Integrity constraints c) Database constarints d) Indexes

292) Rollno , student Name and marks are examples of .


a) User - defined identifier b) Standard identifier c) Both A & B d) None of these

293) Data can be shared between functions using .


a) Local variable b) Static variable c) Global variable d) Register variable

294) ______ can be used to terminate the loop .


a) Terminate b) Break c) Stop d) exit

295) A table must have a .


a) Primary key b) Secondary key c) Composite key d) Sort key

296) Which one of the following translates source code to object code as a whole ?
a) Interpreter b) Compiler c) Assembler d) Linker

297) Data is stored at single site is following strategy .


a) Centralized b) Distributed c) Hybrid d) Partitioned

298) Teachers , students and cars are example of .


a) Relationships b) Entity c) Attributes d) Identifiers

299) How many primary keys can exists in a relation ?


a) Al least two b) Only one c) No limit d) More than one

300) ____ structure is used when programmer does not know in advance the number of repetition of loop ?
a) do-while b) for c) while d) Both A & C

301) The forms are the __________ end of our database in Microsoft Access .
a) Back end b) Front end c) Both A & B d) None of these

302) The number of bytes used by " float " data type in C is .
a) 2 b) 4 c) 6 d) 8

303) Built in functions make our task.


a) Complex b) Length c) Simple and easy d) Technical

304) Non critical fragments are stored at following number of site(s) .


a) 1 b) 2 c) 3 d) Multiple

305) Atomicity means .


a) Individual value in a b) Individual value in a c) Individual value in a row d) Individual value in a
cell table tuple

306) In 2NF , which form of dependency is removed ?


a) Functional b) Partial c) Associative d) Transitive

307) An if statement inside the true block of another if statement is called .


a) Nested if statement b) Conditional operator c) Branched if statement d) Relational operator

308) Views are used to .


a) Hide SQL statements b) Hide columns c) Hide rows d) All of these

309) An expression that uses a relational operator is known as.


a) Operational b) Serial c) Sequential d) Relational
310) Which statement is used for making two way decision ?
a) if b) Nested if c) While d) if-else

311) Which of the following functions is used to write a string to a file?


a) puts () b) putc () c) fputs () d) fgets ()

312) Following are the tools involved to the data Analysis .


a) Data flow diagram b) Decision tree c) Decision table d) All of these

313) A form that contains a sub form is called.


a) Form b) Report c) Mail Form d) Child Form

314) The objectives of database system or DBMS include .


a) Database integrity b) Availability c) Evolvability d) All of these

315) When the result of the computation of two very small numbers is too small to be represented , this phenomenon is called
.
a) Arithmetic overflows b) Truncation c) Arithmetic underflow d) Round off

316) Which of the following character is used to mark the end of the string?
a) \0 b) /0 c) \a d) \n

317) How many reports layout are ?


a) 2 b) 3 c) 4 d) 5

318) The target code produced by the compiler is called .


a) Object code b) Source code c) Source code d) Linked code

319) One execution of a loop is known as a (n).


a) Test b) Iteration c) Duration d) Integer

320) Following is the main function of a report .


a) Edit data b) Delete data c) Get data d) Display data

321) For A = 4 and B = 4 which expression evaluates as true ?


a) A > = B b) A ! = B c) A < B d) A > B

322) In the whole logic of program is contained in main function , it is called .


a) Structured programming b) Object oriented c) Un-structures d) Modular programming
programming programming
323) The entity integrity rules states the following .
a) No primary key b) Primary key must have c) Each entity must have a d) None of these
attribute can be null only one attribute primary key

324) ASCII code for a character is displayed using format specifier .


a) % d b) % f c) % c d) % x

325) Scanf function is used to input .


a) Numeric value b) String value c) Both A & B d) None of above

326) An IDE typically consists of .


a) Text editor b) Compiler c) Debugger d) All of these

327) Which of the following function is used to input data in C program ?


a) printf () b) scanf () c) sqrt () d) get ()

328) Which key is used to move field to field in table window in datasheet view?
a) Tab b) Esc c) Enter d) Spacebar

329) Following type of query displays a dialog box a get information form user ?
a) Select b) Append c) Parameter d) Crosstab

330) C is a .
a) High Level Language b) Assembly Language c) Low Level Language d) Machine Language

331) On successfully closing a file , the fclose () returns .


a) NULL b) 0 ( Zero ) c) 1 ( One ) d) FILE pointer
332) Integrity is concerned with the .
a) Reliability of data b) Feasibility of data c) Quality of data d) Accessibility of data

333) Relational operators allow you to _______ value .


a) Compare b) Add c) Muliply d) Divide

334) The symbols that perform operations on data are called .


a) Operators b) Syntax c) Operation code d) Operands

335) In order to move the property sheet window around screen , the following bar can be dragged .
a) Title Bar b) Scroll Bar c) Menu Bar d) Status Bar

336) A form that contains the sub form is called ________ .


a) Form b) Main Form c) Report d) None of these

337) Which of the following loop in available in C?


a) While - wend b) Sequence c) For - next d) Do - while

338) An entity related to itself in an ERD model refers to relationship .


a) Recursive b) One to many c) Many to many d) One to one

339) A person who is responsible for the security and maintenance of database is called .
a) DBA b) DA c) User d) System administrator

340) Formal arguments are also called .


a) Actual arguments b) Original arguments c) Dummy arguments d) Referenced arguments

341) The ________ gives you the most existing database that you have used recently .
a) Black box b) White Box c) Check Box d) None of these

342) Critical fragments are stored at following number of site(s) .


a) 1 b) 2 c) 3 d) Multiple

343) The expression in define directive .


a) Can only be changed at b) Cannot be change c) Cannot be changed but d) Cannot be assigned a
the end of the program can be redefine value
344) A person's account , computer , car and college are considered
a) Table b) Data processing c) Raw data d) Object

345) The keyword ' break ' cannot be used within .


a) For loop b) While loop c) If-else statement d) Do-while loop

346) Text stream have following correspondence with characters .


a) One to one b) One to many c) Many to one d) All of these

347) A report provides a column for each field of the records in rows under the column header is known as .
a) Tabular b) Columnar c) Datasheet d) Justified

348) Database development process involve mapping of conceptual data model into .
a) Object oriented data b) Implementation model c) Network data model d) User Model
model
349) SQL is used for .
a) Data definition b) Data definition and c) Data manipulation d) Searching records
manipulation
350) In a table each row represents .
a) Record b) Field c) Form d) Data set

351) Following is not a database object .


a) Form b) Table c) Window d) Query

352) Views are also called .


a) Complex tables b) Simple tables c) Virtual tables d) Actual tables

353) A text file is a _______ collection of characters .


a) Fresh b) Old c) Named d) New
354) Function declaration consists of
a) Function name b) Function return type c) Number and types of d) All of these
parameters
355) ______ is the name given to a variable , constant , function or a label in the program .
a) Keyword b) Identifier c) Reserved word d) Operator

356) In relational database , a table is also called .


a) Tuple b) Relation c) Record d) Schema

357) The conditional operator is used as alternate to .


a) if b) if - else c) if - else if - else d) switch

358) Which of the following is NOT a valid identifier ?


a) Rerutn b) MyInt c) MyInteger d) Total3

359) In the following activity , the possible inputs for the database are obtained .
a) Project planning b) Requirements analysis c) Feasibility study d) Data analysis

360) Format specifier starts with symbol .


a) % b) $ c) # d) @

361) A well defined set of instructions or statements given to the computer is called .
a) Hardware b) Software c) Bug d) Error

362) The extention of header file is


a) .c b) .txt c) .hf d) .h

363) Normally , database is a collection of logically related .


a) Program files b) Files c) Data sets d) Both B & C

364) An expression that uses a relational operator is known as .


a) Operational b) Sequential c) Serial d) Relational

365) ____ structures is a selection structure ?


a) if b) if - else c) switch d) All of these

366) In a table each row represents .


a) Record b) Field c) Form d) Data set

367) Following is an example of wildcard character .


a) ? b) * c) ! d) Both A & B

368) In which loop the condition comes after the body of the loop?
a) For ( ) b) Do - while ( ) c) While ( ) d) Nested for ( )

369) Which of the following mode open only an existing file for both reading and writing.
a) "w" b) "w+" c) "r+" d) "a+"

370) Following helps the database system to run smooth and fast .
a) Computer b) Software c) Table d) Index

371) Which symbol indicate that you are editing a record?


a) Pencil b) Black arrow c) Key d) Asterisk

372) Following is a control structure that causes a statement or group of statement to repeat .
a) Decision statement b) Loop c) Sequential d) Logical

373) Following is a statement that extracts specific information from the database .
a) Table b) Query c) Report d) Form

374) A form is an object of


a) Table b) Database c) Report d) Query

375) _________ is the interface between the user and the database .
a) Data b) Degree c) IDE d) Desktop

376) The actual values are passed to the function in .


a) Function declaration b) Function definition c) Function call d) Called function body
377) Organizing the database on secondary storage is called .
a) Logical design b) Physical design c) Implementation d) Analysis

378) The first line of function definition is known as .


a) Function body b) Function call c) Function header d) Function argument

379) DBA stands for .


a) Database application b) Database administrator c) Database access d) Dual base administrator

380) CREATE command is used to create a .


a) Table b) View c) Report d) Query

381) In C program , the number of columns that are printed are specified in .
a) Format specifier b) Formatting intergers c) Field with specifier d) Both A & B

382) Which of the following key is used to save a file ?


a) F2 b) F3 c) F5 d) F9

383) The Goal of Normalization is to .


a) Increase b) Get Stable c) Increase Inconsistency d) Increase Anomalies Data
Redundancy Structure
384) Which of the following object is used to retrieve data from database and present in a formatted way?
a) .mdb b) .msdb c) .madb d) None of these

385) How many types of real data are in C language ?


a) 1 b) 2 c) 3 d) 4

386) The column(s) of a relation correspond to .


a) Table b) Cell(s) c) Field(s) d) Records

387) Printf and scanf are example of .


a) User - defined identifier b) Standard identifer c) Both A & B d) None of these

388) In 2NF , a non - key attribute must not depend on another .


a) Non - key attribute b) Key attribute c) Composite key d) Sort key

389) The basic structure of C program consists of


a) Preprocessor Directive b) C Preprocessor c) Main ()function d) Loader

390) What is true about a function prototype ?


a) It is also referred to as b) It is terminated with a c) It is a single statement d) All of these
function declaration semicolon ( ; )
391) Following type of field cannot be used as key field .
a) Memo b) Auto Number c) Text d) Number

392) Forms are designed for .


a) Input Data b) Manipulate Data c) Accepting Charge d) All of them

393) C was designed to write programs for .


a) Windows operating b) Solaris operating system c) Unix operating system d) OS/2 operating system
system
394) Following factor is considered when selecting file organization method .
a) Efficient storage b) Fast retrieval c) Security d) All of these

395) A set of rules that must be followed to write or develop a program is called.
a) Syntax b) Preprocessor c) Bug d) Symbol

396) Which operator is called ternary operator ?


a) If b) ++ c) ? d) ( )

397) Which of the following is a valid character constant .


a) a b) @ c) c d) =

398) Which of the following reason causes the syntax error .


a) Missing statement b) Missing any of the c) Using a variable without d) All of these
terminator delimiters declaration
399) Following involves the area identification and selection .
a) Feasibility study b) Feasibility analysis c) Initial study d) Initial examination

400) How many table views are available in Microsoft Access.


a) 4 b) 5 c) 2 d) 3

401) The following object is used for editing forms in MS - Access .


a) Resizing objects b) Grid lines c) Controls d) All of these

402) A variable whose value controls the number of iterations is known as _____
a) Variable b) Loop Variable c) Control Variable d) Loop Control Variable

403) The rule in which a record form a table cannot be deleted if its associated record exists in a related table is called .
a) Referential Integrity b) Normalization c) Entity - Relationship d) Entity Integrity

404) Which of the following activities involved in data processing or operating ?


a) Data capturing b) Data manipulation c) Managing output result d) All of these

405) Which of the following is not a database objects ?


a) Table b) Query c) Form d) MS - Word

406) A function
a) May return more than b) Cannot return any value c) May return only one d) May return two values
one values value
407) Debug is the process of .
a) Creating bugs in b) Identifying and c) Identifying Errors d) Removing Errors
program removing errors

408) On successfully closing a file , the fclose ( ) returns .


a) NULL b) 1 c) FILE pointer

409) Header files in C contains .


a) Compiler commands b) Header information of C c) Library functions d) Linker commands
programs

410) In a relational database , a single piece of information is called .


a) Field b) Attribute c) Entity d) Both A & B

411) Variable and constant name cannot contains a (n) .


a) Letter b) Underscore c) Period d) Number

412) Insert command is used to insert .


a) A new table b) A new record c) A view d) Dependencies

413) A foreign key constraint is also called .


a) Referential Integrity b) Entity integrity c) Integrity d) Redundancy

414) Which of the following may be a temporary file ?


a) Master file b) Data file c) Transaction file d) Program file

415) getch () function is used to input following number of character (s) .


a) 1 b) many c) 2 d) 3

416) Function prototypes for built-in functions are specified in .


a) Source files b) Header file c) Object file d) Image file

417) Different attributes in two different tables having same name are referred to as .
a) Synonym b) Homonym c) Acronym d) Mutually exclusive

418) In C , the maximum length of text name is .


a) 25 Characters b) 255 Characters c) 155 Characters d) 55 Characters

419) In a relational database , a single piece of information is called .


a) Field b) Record c) Entity d) Both A & B

420) The concept of database evolved from .


a) Computers b) Traditional File c) Software d) Hardware
management system
421) The function clrscr () is defined in .
a) stdio.h b) math.h c) conio.h d) graphics.h

422) The only binary operator in the following is .


a) ? b) ++ c) -- d) +

423) Dividing a number by zero ( e.g.5/0 ) is an example of .


a) Compiler error b) Runtime error c) Logical error d) None of these

424) Which database model is considered more flexible ?


a) Network model b) Relational model c) Hierarchical model d) None of these

425) Total number of keywords in C is .


a) 30 b) 32 c) 34 d) 36

426) What will be the output of ( 7 > 8 ) ? printf ("ABC"):printf("XYZ");


a) ABC b) XYZ c) ABCXYZ d) All of these

427) How many logical operators are available in C language .


a) 2 b) 3 c) 4 d) 5

428) In ERD model , the relationship between two entities is represented by a .


a) Diamond symbol b) Oval symbol c) Rectangular box d) Line

429) In the absolute path of a file we use .


a) \ b) / c) \\ d) //

430) While loop is also called .


a) Conditional loop b) Do - while loop c) For loop d) All of these

431) A group of statements enclosed in opening and closing braces is called .


a) Group statement b) Program statement c) Compound statement d) All of above

432) Find and Replace command is found in.


a) File Manu b) Tool c) Edit Menu d) View Menu

433) The program that translates and executes one line of source code at a time is called .
a) Compiler b) Translator c) Interpreter d) Assemble

434) A loop that never ends is called .


a) Infinite loop b) Running loop c) Nested loop d) Continuous loop

435) How many are basic layouts of forms in Microsoft Access.


a) 2 b) 4 c) 3 d) 5

436) In an E - R Diagram , a rectangle represents a (n) .


a) Entity b) Attributes c) Relationship d) Field

437) A file can be closed using following function .


a) close ( ) b) fclose ( ) c) file close ( ) d) exit ( )

438) Which of the following function is used to read character from a file ?
a) getc ( ) b) putc ( ) c) fputs ( ) d) fgets ( )

439) The following is the main components of DBMS .


a) Hardware b) Software c) Personal d) Data

440) The foreign key is found in .


a) Parent table b) Dependent table c) Pivot table d) Index table

441) Which mode opens only an existing file for both reading and writing?
a) "W" b) "W+" c) "r+" d) "a+"

442) Global variable are crated in .


a) RAM b) ROM c) Hard disk d) Cache

443) Following anomalies arise due to transitive dependency .


a) Insertion b) Deletion c) Modification d) All of these

444) An entity related to itself in an ERD model refers to .


a) Recursive relationship b) Many - to - many c) Non - to - many d) One - to - one
relationship relationship relationship
445) Fopen ( ) function takes ______ parameters .
a) 1 b) 2 c) 3 d) 4

446) SQL is a(n) .


a) Unstructured language b) Object oriented c) Structured language d) Software
language
447) Insert command is used to insert .
a) A new record b) A new column c) A view d) A new table

448) To create a database without wizard , while opening MS Access a dialog box is displayed . Click on.
a) File New Database b) Insert Blank Database c) Blank Access Database d) All of these

449) There are following types of streams .


a) 1 b) 2 c) 3 d) 4

450) Writing programs in machine language is .


a) Tedious b) Simple c) Time consuming d) Both A & C

451) The graphical query tool is known as .


a) Query grid b) Design grid c) Query form d) Design form

452) Following menu is used to access switchboard manager .


a) File b) Edit c) View d) Tools

453) A report may be based on .


a) Query b) Form c) Table d) Both A & C

454) Following in the while loop statement controls the loop iteration .
a) Colon b) Semicolon c) Condition d) { }

455) Function which used to get input from the user .


a) printf () b) scanf () c) clrscr () d) puts ()

456) How many variables can be used in one printf function ?


a) One b) Two c) Ten d) Many

457) When the result of the computation of two very small numbers is too small to be represented , this phenomenon is called
.
a) Arithmetic overflows b) Truncation c) Arithmetic underflow d) Round off

458) DBMS stands for .


a) Data Modeling System b) Data Basic Management c) Data Business Model d) Database Management
System System System

459) Which expression can be used in if condition ?


a) Relational b) Logical c) Arithmetic d) All of these

460) Microsoft Access saves the database with extension .


a) .mbd b) .msdb c) .madb d) None of these

461) Which of the following is the advantage of function ?


a) Easy to write program b) Reusability c) Eliminate duplicate d) All of these

462) Following is not an example of data distribution strategy .


a) Centralized b) Balanced c) Replicated d) Partitioned

463) The following is called a computerized record keeping system .


a) DBMS b) Database system c) Data System d) Both A & B

464) A function that does not return any thing has return type .
a) Nothing b) Float c) Void d) Null
465) Which of the following data model is more flexible ?
a) Network data model b) Relational data model c) Hierarchical data model d) Object data model

466) Which of the following data type is used to store " String " ?
a) Char b) Float c) String d) Double

467) Which of the following looks for the prototype of functions , when a function is called .
a) Linker b) Loader c) Compiler d) Parser

468) The optional relationship represented by


a) Data Objects b) Association c) Cardinality and Modality d) All of these

469) The data in table is entered in.


a) Design View b) Normal View c) Datasheet View d) Layout View

470) Examine the following code and tell output :


int count = -2; while ( count <3 ) { printf ("%d", count); count + = 1 ; }
a) -2-11234 b) -2-1123 c) -3-4-5-6-7 d) -2-1012

471) Which of the following operators has lowest precedence ?


a) ! b) + c) = d) ==

472) An attribute is also known as .


a) Relation b) Row c) Field d) Tuple

473) Any relational expression produces following results .


a) True b) False c) Either A or B d) Any value

474) Which of the following format specifier is used for float data type ?
a) %e b) %d c) %f d) %s

475) The function getche() is defined in .


a) stdio.h b) string.h c) math.h d) conio.h

476) Following control object is used to display a list of items on the forms .
a) Text Box b) List Box c) Combo Box d) Both B & C

477) Memory is allocated to a local variable at the time of its .


a) Declaration b) Destruction c) Definition d) First reference

478) Which term in commonly used to refer to software or program errors ?


a) Crash b) Short Circuit c) Shut Down d) Bug

479) In an E - R Diagram , a diamond represents a (n) .


a) Attributes b) Relationship c) Entity d) Modality

480) To find a four - character name that starts with H , the criteria is specified as .
a) H * 4 b) H ? 4 c) H ???? d) H ####

481) A table is a two - dimensional array that consists of .


a) Matrix elements b) x and y coordinates c) Intersection of data d) Columns and rows

482) The symbol '=' represents .


a) Comparison operator b) Equal to operator c) Assignment operator d) None of these

483) Following represents wizard of DBMS .


a) Database wizard b) Form wizard c) Table wizard d) All of these

484) In the following activity , the cost factors are taken into consideration .
a) Project planning b) Requirements analysis c) Feasibility study d) Data analysis

485) To create new database in Microsoft Access , which command is used ?


a) Create New Database b) File New Database c) Create Database Wizard d) Open New Database

486) _______ table views are available in Microsoft Access.


a) 1 b) 2 c) 3 d) 4

487) A set of related records that represents a unit of data is .


a) File b) Record c) Field d) Database

488) If a = 5 and b = 10 , what the output of the following expression ? a>b? a*b: a+b;
a) 5 b) 150 c) 100 d) 15

489) In 3NF , which form of dependency is removed ?


a) Functional b) Non-functional c) Associative d) Transitive

490) CREAT TABLE command is used to create a .


a) Table b) View c) Report d) Query

491) Every relation must have a .


a) Primary key b) Candidate key c) Secondary key d) Composite key

492) The manipulated and processed data is called .


a) Object b) Information c) Knowledge d) Data

493) In 3NF , which form of dependency is removed ?


a) Functional b) Non - Functional c) Associative d) Transitive

494) Local variable are also called .


a) Automatic variable b) Register variable c) Static variable d) Run time variable

495) ______ object is used to enter data into the database .


a) Tables b) Forms c) Reports d) Query

496) Following is an advantage of partitioning .


a) Reliability b) Extra space c) Efficiency d) Accuracy

497) The escape sequence for carriage return is .


a) \a b) \c c) \r d) \f

498) Which of the following is a keyword ?


a) int b) main c) printf d) include

499) The function getch () is defined in .


a) stdio.h b) conio.h c) string.h d) math.h

500) Conditional operator takes .


a) One operand b) Two operand c) Three operand d) Four operand

501) Following is / are the ingredient (s) of data modeling .


a) Objects b) Attributes c) Relationships d) All of these

502) Mistakes that cause a running program to produce incorrect results is called .
a) Syntax error b) Logical error c) Program error d) Runtime error

503) Following is the fundamental concept of relational database .


a) Query b) Table c) Form d) Report

504) In following normal form , any repeating group from the table is removed .
a) 1 NF b) 2 NF c) 3 NF d) 4 NF

505) Variable are created in .


a) RAM b) ROM c) Hard Disk d) Cache

506) Storage and retrieval of data is related is .


a) Data capturing b) Data manipulation c) Analysis result d) Managing output

507) Which of the following function is used to read character from a file?
a) getc ( ) b) putc ( ) c) fputs ( ) d) fgets ( )

508) It is simple to create database using .


a) Query b) Common standards c) Easier programming d) Wizard

You might also like