FBISE Computer Science Class-12 Year 2014

Federal Board | Past Papers | Notes | A-Level

Back to: Federal Board Class 12 Notes

Choose the correct answer from the given options.

1. An IDE typically consists of ?
(A) Text editor
(B) Compiler
(C) Debugger
(D) All

2. The process of converting source code into object code is known as ?
(A) Compiling
(B) Executing
(C) Linking
(D) Saving

3. Conio stands for ?
(A) Character Input Output
(B) Console Input Output
(C) Common Input Output
(D) Complex Input Output

4. 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

5. A memory location with some data that can be changed is called ?
(A) Constant
(B) Variable
(C) Named constant
(D) None of these

6. What happens when the result of a calculation exceeds the capacity of data type?
(A) Syntax error
(B) Logical error
(C) System error
(D) Overflow

7. The expression 3%5 has a value equal to ?
(A) 3
(B) 5
(C) 0
(D) None of these

8. Which Operator is used in a compound condition to join two conditions ?
(A) Relational Operator
(B) Logical Operator
(C) Relational Results
(D) Logical Results

9. An ampersand before the name of a variable denotes ?
(A) Actual Value
(B) Variable Name
(C) Address
(D) Data Type

10. Operators used to compare operands and decide whether the relation is true or false are called?
(A) Arithmetic Operators
(B) Logical Operators
(C) Syntax Operators
(D) Relational Operators

11. ___________ is a control structure that causes a statement or group of statements to repeat.
(A) Decision Statement
(B) Loop
(C) Sequential
(D) None of these

12. Function prototype for built-in functions are specified in ?
(A) Source file
(B) Library file
(C) Object file
(D) Image file

13. Which of the following functions is used to write a string to a file ?
(A) puts ( )
(B) putc ( )
(C) fputs ( )
(D) fgets ( )

14. A category of data or information that describes an entity is called a/an ?
(A) Attribute
(B) Data item
(C) Record
(D) Tuple

15. Which of the following components of physical database design refer to the correctness and consistency of data?
(A) Indexes
(B) Integrity constraint
(C) File Organization
(D) Data Distribution Strategy

1(D) 2(A) 3(B) 4(B) 5(B) 6(D) 7(A) 8(B)
9(C) 10(D) 11(B) 12(B) 13(C) 14(A) 15(B)