Objective type (MCQ) questions on C programming language Part 1

 C programming language multiple type questions for exams point of view 

Basic C programming MCQ

1) Who invented C Language.?
A) Charles Babbage
B) Grahambel
C) Dennis Ritchie
D) Steve Jobs

Explanation:

Full name is Dennis Mac Alistair Ritchie. He also invented Unix Operating System along with his colleague Ken Thomson.

2) C Language is a successor to which language.?
A) FORTRAN
B) D Language
C) BASIC
D) B Language

3) C is a which level language.?
A) Low Level
B) High Level
C) Low + High
D) None

Explanation:

C is a high level language. Another example is BASIC.

4) Low level language is .?
A) Human readable like language.
B) language with big program size.
C) language with small program size.
D) Difficult to understand and readability is questionable.

Explanation:

Looks like raw data often in the form of 1's and 0's.

5) High level language is a .?
A) Human readable like language.
B) language with small program size.
C) language with big program size.
D) language which is difficult to understand and not human readable.

6) Which program outputs "Hello World.." .?
A)
main()
{
scanf("Hello World..");
}
B)
main()
{
printf("Hello World..");
}
C)
main()
{
print("Hello World..");
}
D)
main()
{
scan("Hello World..");
}

7) C is _______ type of programming language.?
A) Object Oriented
B) Procedural
C) Bit level language
D) Functional

Explanation:

C is a procedural programming language. It's written in a series of steps, with the help of statements and functions. The programs depicts logic in a clear manner. Imperative language is another name for procedural language. COBAL, BASIC, and other programming languages are examples.

8) C language was invented to develop which Operating System.?
A) Android
B) Linux
C) Ubuntu
D) Unix

Explanation:

C was invented to develop Unix Operating System to overcome compatibility with different Hardware Platforms.

9) C language was invented in the year.?
A) 1999
B) 1978
C) 1972
D) 1990

10) C language is used in the development of .?
A) Databases
B) Graphic applications
C) Word Processors
D) All of the above

Explanation:

C language is very efficient in using hardware resources.

11) What is the present C Language Standard.?
A) C99 ISO/IEC 9899:1999
B) C11 ISO/IEC 9899:2011
C) C05 ISO/IEC 9899:2005
D) C10 ISO/IEC 9899:2010

12) What are the new features of C11 or ISO IEC 9899 2011 standard.?
A) Type generic Macros, Static Assertions
B) Multi Threading, Anonymous Unions, quick_exit
C) Bounds Checking Interfaces, Anonymous Structures
D) All

13) C language was invented in which laboratories.?
A) Uniliver Labs
B) IBM Labs
C) AT&T Bell Labs
D) Verizon Labs

Explanation:

C was invented in Bell Laboratories in New Jersey.

14) BCPL Language is also called..?
A) C Language
B) B Language
C) D Language
D) None

Explanation:

B language is successor of BCPL ( Basic Combined Programming Language ). B language was invented by Ken Thomson.

15) A C program is a combination of.?
A) Statements
B) Functions
C) Variables
D) All of the above

Post a Comment

Previous Post Next Post