Olete.in
Articles
Mock Tests
🧪 Crystal (programming language) MCQ Quiz Hub
C Programming Multiple Choice Question
Choose a topic to test your knowledge and improve your Crystal (programming language) skills
1. Who is father of C Language?
Bjarne Stroustrup
James A. Gosling
Dennis Ritchie
Dr. E.F. Codd
2. C Language was developed at ?
AT & T Bell Laboratory
MIT University
Harvard University
Stanford Lab
3. Many features of C were derived from which language ?
PASCAL
B
BASIC
FORTRAN
4. What is C language?
C language is a structure/procedure oriented
C language is a middle level programming language
C language was invented for implementing UNIX operating system
All of the above
5. First version of C Programming language is ____ .
K&R
C89
ANSI
R&K
6. C was initially used for
General purpose
System development work
Data processing
None of these
7. C programming language is
Procedural language
Object Oriented language
Scripting languages
None of These
8. C programming language is A. Procedural language B. Object Oriented language C. D. None of these
Procedural language
Object Oriented language
Scripting languages
None of these
9. Which year C language is developed?
1970
1971
1972
1973
10. Which of these is not an example for IDE in C?
Turbo
Pycharm
Code::Blocks
Borland
11. Which of these is true about embedded C? i)Embedded C is the extension of C programming language ii)Embedded C is used to develop micro controller based applications. iii)Embedded C includes features not available in normal C like fixed-point arithmetic, named address spaces, and basic I/O hardware addressing.
Only i & ii
Only i & iii
Only ii & ii
All of the above
12. C can be used on?
Only MS-Dos operating System
Only Linux operating system
Only Windows operating system
All of the above
13. Which is not a character Of C?
$
^
-
|
14. . Which is true in case of ANSI C?
Comments are represented in /* and */
Nested comments are not allowed
Comments are not allowed within a string constant
Nested comments are allowed
15. Identify the wrong Statement?
#define /* symbolic constant */ Max 100
int /*declaration*/ a,b;
. char c1,c2;
#define MAX 25;
16. Identify the correct statement?
The variable names VOLUME and volume are identical
The variable names sun and sun are identical
Variables are not declared before use
Variable may he absent in a declaration.
17. An escape sequence commence with
/
?
#
18. Identify the wrong statement?
# define is a preprocessor facility.
# define aids in modifying a constant value throughout the program.
# define uses a statement terminator.
# define improves the readability of the program.
19. Where does the execution of every C program starts?
Every C program starts in the main () function.
Every C program starts in the begin ( ) function.
Every C program starts in the initialize ( ) function.
Every C program starts in the start ( ) function.
20. Identify the separator(s) in C?
white space character
Comments
Semicolon
Both A and B
21. A program which translates a high level language program into a machine language program is called
Compiler
Interpreter
Both A and B
none of the above
22. Indicate which of the following is not true about an interpreter?
Interpreter generates an object program from the source program
Interpreter is a kind of translator
Interpreter analysis each source statement every time it is to be executed
None of the above
23. The errors that can be pointed out by the compiler are?
syntax errors
semantic error
logical error
none of the above
24. Which of the following statements is not true?
FORTRAN is a high-level language
A FORTRAN program written for the IBM-PC, is totally different from a FORTRAN program written for the execution of SUN machine.
FORTRAN is extensively used write program for performing scientific computations
None of the above
25. The language C is
an assembly language
a third generation high level language
a machine language
none of the above
26. A program that converts a high level language program to a set of instruc-tions that can run on a computer is called a ?
compiler
debugger
editor
None of the above
27. The mapping from assembly language instructions into machine language instructions is?
many-one
many-many
one-one
one-many
28. A compiler is
a machine-independent and OS-independent
machine-dependent and OS-dependent
machine-dependent and OS-independent
machine-independent and OS-dependent
Submit