C Program Basic MCQs (Long Quiz)

This is the quiz about basics of C Program. Students and new learner's can test their knowledge.

Jun 12, 2021 - 10:31
Jun 12, 2021 - 14:50
 0  107

1. _____ is a picture in which the flows of computational paths are depicted.

Algorithm
Program
Code
Flow chart

2. Among unary operation which operator represents increment?

--
++
-
!

3. The function scanf is used to ___

To take logical decisions
Input a set of values
Print a set of values
Do mathematical manipulations

4. If the function returns no value then it is called ____

Data type function
Calling function
Main function
Void function

5. A function _____

May or may not need input data
May or may not return a value
Both
None of these

6. Which character is used to indicate the end of the string?

Any alphabet
A
Null
None of these

7. Each element of a structure can be _____

Read and printed as a separate data item
Printed as a separate data item
Read as a separate data item
None of these

8. In the for loop structure, which statement is present?

Assign statement
Alter statement
Both
None of these

9. When the computer is waiting for the input?

Files are selected
The cursor is blinking in the VDU screen
Menu will appear on the screen
None of these

10. Which can be included in a string constant using the escape sequences?

Apostrophe (’)
Question mark (?)
Double quotes (“)
All the above

11. Who invented C Language.

Charles Babbage
Grahambel
Dennis Ritchie
Steve Jobs

12. C Language is a successor to which language.?

FORTRAN
D Language
BASIC
B Language

13. C is a which level language.?

Low Level
High Level
Low + High
None

14. Low level language is .?

Human readable like language.
language with big program size.
language with small program size.
Difficult to understand and readability is questionable.

15. High level language is a .?

Human readable like language.
language with small program size
language with big program size
language which is difficult to understand and not human readable.

16. C is _______ type of programming language.?

Object Oriented
Procedural
Bit level language
Functional

17. What is the present C Language Standard.?

C99 ISO/IEC 9899:1999
C11 ISO/IEC 9899:2011
C05 ISO/IEC 9899:2005
C10 ISO/IEC 9899:2010

18. What are the new features of C11 or ISO IEC 9899 2011 standard.?

Type generic Macros, Static Assertions
Multi Threading, Anonymous Unions, quick_exit
Bounds Checking Interfaces, Anonymous Structures
All

19. C language was invented in which laboratories.?

Uniliver Labs
IBM Labs
AT&T Bell Labs
Verizon Labs

20. BCPL Language is also called..?

C Language
B Language
D Language
None

21. C language was invented to develop which Operating System.?

Android
Linux
Ubuntu
Unix

22. C language was invented in the year.?

1999
1978
1972
1990

23. C language is used in the development of .?

Databases
Graphic applications
Word Processors
All of the above

24. A C program is a combination of.?

Statements
Functions
Variables
All of the above

25. Single Line Comment // is also called.?

C++ Style Comment
Java Style Comment
PHP Style Comment
All the above

26. An Identifier may contain.?

Letters a-z, A-Z in Basic character set. Unicode alphabet characters other languages
Underscore _ symbol
Numbers 0 to 9 Unicode Numbers in other languages
All the above

27. What is the number of characters used to distinguish Identifier or Names of Functions and Global variables.?

31
32
33
28

28. What is length of an Identifier that is unique for Non Global Variables and Non Function Names.?

32
63
64
68

29. C Programs are used in .?

Any Electronic device which works on some logic and Operating System.
Washing machine
Fridge, Microwave Ovens
All the above

30. What are the types of Constants in C Language.?

Primary Constants
Secondary Constants
Basic Constants and Advanced Constants
Primary Constants and Secondary Constants

What's Your Reaction?

like

dislike

love

funny

angry

sad

wow