FBISE Computer Science Class-12 Year 2013

Federal Board | Past Papers | Notes | A-Level

Back to: Federal Board Class 12 Notes

Choose the correct answer from the given options.

1. Who developed C ?
(A) Von-Neumann
(B) Al-Khuwarizmi
(C) Dennis Ritchie
(D) Charles Babbage

2. .exe file is produced by ?
(A) Linker
(B) Loader
(C) Compiler
(D) Interpreter

3. Mistakes that causes a running program to produce incorrect results are called ?
(A) Syntax error
(B) Logical error
(C) Program error
(D) None of these

4. Order of precedence determines which operator ?
(A) is most important
(B) is used first
(C) is faster
(D) operator on the largest number

5. Which of the following has the highest precedence ?
(A) ( )
(B) ++
(C) >=
(D) –

6. Comments are used to increase the ___________ of the program.
(A) Visibility
(B) Beauty
(C) Readability
(D) Complexity

7. Which address operator indicates the address of a variable?
(A) %
(B) \a
(C) #
(D) &

8. A while loop is more appropriate than a for loop when ?
(A) The terminating condition occurs unexpectedly
(B) The body of the loop will be executed at least once
(C) The program will be executed at least once
(D) The number of times the loop is executed is not known before the loop is executed

9. If x=6 and y=4, what will be the output of the following expression x > y ? x+y: x*y;
(A) 2
(B) 24
(C) 10
(D) None of these

10. What does a compound condition use to join two conditions?
(A) Relational operator
(B) Logical operator
(C) Relational results
(D) Logical results

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

12. The scope of a variable refers to its ?
(A) Name
(B) Life time
(C) Data type
(D) None of these

13. On successfully closing a file, the fclose() returns ?
(A) Null
(B) 0 (zero)
(C) 1 (one)
(D) File pointer

14. Which data type can be used to define a field that consists of a maximum of 255 characters ?
(A) Memo
(B) Number
(C) Text
(D) Auto number

15. Which of the following is used to retrieve data from database and represent it to the user in a formatted way?
(A) Report
(B) Form
(C) Query
(D) Table

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