Friday, December 18, 2009

c bits part 1

UNIT – 1

1. c-programming language was developed by _______
a)*Dennis Ritchie b)Jeff Thmson c)Bill Gates d)None

2. C-language is derived from a computer language named __
a)*B b)D c)C++ d) None

3. In c-language , related data can be stored in _____
a) Arrays b) Structures c)*a & b d)None
4. In every c-program , ____ function is must .
a)printf() b)scanf() c)*main() d)None
5. _____ functions is starting of c-language program.
a)*main() b)getchar() c)putchar() d)None
6. ______ header file allows the program to interact with the screen , keyboard and file system of the computer.
a)* b) c) d)None
7. _____ brackets in C are used to group statements together as in a function, or in the body of a loop.
a)*Curly b)square c)small d)None
8. Grouping statements is known as a ________.
a)Compound statement b)block c)*a & b d) None
9. At run time , program execution starts at the first line of the ___ function.
a)*main() b)scanf() c)printf() d) None
10. _______ is a library function used in C to display any output to the terminal.
a)display() b)*printf() c)scanf() d)None
11. The text to be printed is enclosed in ____ quotes.
a)single b)*double c)triple d)None
12. The ______ at the end of the text tells the program to print a new line as part of the output.
a)\t b)*\n c)\v d) None
13. Most C-programs are in ____ case letters.
a)*lower b)upper c) both d) None
14. C- language is case sensitive. (true / false)
a)*True b)False c)Both d) None
15. C-language is a powerful and efficient _____ programming language .
a)*Structured b)Object Oriented c)unstructured d)None