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
Updated: 5 years ago
0 344

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

Algorithm
Program
Code
Flow chart

Among unary operation which operator represents increment?

--
++
-
!

The function scanf is used to ___

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

If the function returns no value then it is called ____

Data type function
Calling function
Main function
Void function

A function _____

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

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

Any alphabet
A
Null
None of these

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

In the for loop structure, which statement is present?

Assign statement
Alter statement
Both
None of these

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

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

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

Who invented C Language.

Charles Babbage
Grahambel
Dennis Ritchie
Steve Jobs

C Language is a successor to which language.?

FORTRAN
D Language
BASIC
B Language

C is a which level language.?

Low Level
High Level
Low + High
None

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.

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.

C is _______ type of programming language.?

Object Oriented
Procedural
Bit level language
Functional

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

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

C language was invented in which laboratories.?

Uniliver Labs
IBM Labs
AT&T Bell Labs
Verizon Labs

BCPL Language is also called..?

C Language
B Language
D Language
None

C language was invented to develop which Operating System.?

Android
Linux
Ubuntu
Unix

C language was invented in the year.?

1999
1978
1972
1990

C language is used in the development of .?

Databases
Graphic applications
Word Processors
All of the above

A C program is a combination of.?

Statements
Functions
Variables
All of the above

Single Line Comment // is also called.?

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

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

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

31
32
33
28

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

32
63
64
68

C Programs are used in .?

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

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 Like 1
Dislike Dislike 0
Love Love 0
Funny Funny 0
Wow Wow 0
Sad Sad 0
Angry Angry 0

Comments (0)

User