C Programming
UNIT - 1
1. Who is father of C Language?
(a) Bjarne Stroustrup (b) Dennis Ritchie
(c) James A. Gosling (d) Dr. E.F. Codd
2. C Language developed at?
(a) AT & T’s Bell Laboratories of USA in 1972
(b) AT & T’s Bell Laboratories of USA in 1970
(c) Sun Microsystems in 1973
(d) Cambridge University in 1972
3. For 16-bit compiler allowable range for integer constants
is?
(a) -3.4e38 to 3.4e38 (b) -32767 to 32768
(c) -32768 to 32767 (d) -32668 to 32667
4. C programs are converted into machine language with the
help of
(a) An Editor (b) A compiler
(c) An operating system (d) None of the above
5. A C variable cannot start with
(a) An alphabet
(b) A number
(c) A special symbol other than underscore
(d) both (b) and (c)
6. Which of the following is allowed in a C Arithmetic
Instruction?
(a) [] (b) {}
(c) () (d) None of the above
7. Which of the following shows the correct hierarchy of
arithmetic operations in C
(a) / + * - (b) * -/ +
(c) + - / * (d) * / + -
8. Program which is written originally by the programmer is
classified as
(a) object code (b) machine code
(c) source program (d) interactive programs
9. Data types are differed on the basis of
(a) the way of storage (b) the type of operations
(c) the type of operators used
(d) both a and b
4 | BCA Ist Semester - MCQ’s
10. Loop statement which is repeated for some given number
of times is classified as
(a) FOR loop (b) GO loop
(c) REPEAT loop (d) GO REPEAT loop
11. Type of statement written in sequence and is repeated until
the specific condition met is classified as
(a) format (b) loop
(c) case (d) condition
12. Size of an array is declared by
(a) programmer (b) program users
(c) software (d) declared automatically
13. Programming language ‘FORTRAN’ stands for
(a) formula translator (b) formula translation
(c) free translator (d) free translation
14. Functions that are used in the programs and are defined
by the programmers are called
(a) program layout (b) program procedure
(c) built-in functions (d) user-defined function
15. An assembler translates
(a) machine code into assembly code
(b) assembly code into machine code
(c) processing time into manual time
(d) routine into subroutine
16. Name given by a programmer to any particular data is
classified as
(a) identifier (b) identification
(c) exponent (d) mantissa
17. When variable used in program is whole number, the
variable is stored as
(a) fixed string (b) integers
(c) negative whole numbers (d) positive whole numbers
18. In programming, programmers use comments to
(a) highlight program modules
(b) explain module functions
(c) explain used variables
(d) all of above
19. Variable which uses the same name in whole program and
in its all routines thus best classified as
(a) middle variable (b) default variable
(c) local variable (d) global variable
20. Statement which is used to make choice between two options
and only option is to be performed is written as
(a) if statement (b) if else statement
(c) then else statement (d) else one statement