Header Ads Widget

BCA Information

C Programming

1.   Who invented C Language.?

A) Charles Babbage
B) Grahambel
C) Dennis Ritchie
D) Steve Jobs

2.C language was invented in which laboratories.?

A) Uniliver Labs
B) IBM Labs
C) AT&T Bell Labs
D) Verizon Labs
3.Find a correct C Keyword below.
A) work
B) case
C) constant
D) permanent
4. Identify wrong C Keywords below.
A) union, const, var, float
B) short, unsigned, continue, for
C) signed, void, default, goto
D) sizeof, volatile, do, if

5.Which is valid C expression?
A) int my_num = 100,000;
B) int my_num = 100000;
C) int my num = 1000;
D) int $my_num = 10000;

6.All keywords in C are in ____________
  A) LowerCase letters
  B) UpperCase letters
  C) CamelCase letters
 D) None of the mentioned

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

A) FORTRAN
B) D Language
C) BASIC
D) B Language

8.C is a which level language.?

A) Low Level
B) High Level
C) Low + High
D) None

9.C is _______ type of programming language.?

A) Object Oriented
B) Procedural
C) Bit level language
D) Functional

10.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.

11.An Identifier can start with.?

A) Alphabet
B) Underscore ( _ ) sign
C) Any character that can be typed on a keyboard
D) Option A & Option B

12.An Identifier may contain.?

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

13.What is an Identifier in C Language.?

A) Name of a Function or Variable
B) Name of a Macros
C) Name of Structure or Union
D) All the above

14.C program is a combination of.?

A) Statements
B) Functions
C) Variables
D) All of the above

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

A) Databases
B) Graphic applications
C) Word Processors
D) All of the above

16.C language was invented in the year.?

A) 1999
B) 1978
C) 1972
D) 1990

17.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

18.The C-preprocessors are specified with _________ symbol.

A) #
B) $
C) ” ”
D) &

19.Which of the following is NOT possible with any 2 operators in C?
A) Different precedence, same associativity
B) Different precedence, different associativity
C) Same precedence, different associativity
D) All of the mentioned

20.Operator % in C Language is called.?
A) Percentage Operator
B) Quotient Operator
C) Modulus
D) Division
21.Find a C Storage Class below.
A) static
B) auto
C) register & extern
D) All the above
22.Every C Variable must have.?
A) Type
B) Storage Class
C) Both Type and Storage Class
D) Either Type or Storage Class
23.Types of Integers are.?
A) short
B) int
C) long
D) All the above

24.Which of the following is not a valid C variable name?

a) int number;
b) float rate;
c) int variable_count;
d) int $main;
25.Number of Keywords present in C Language are .?
A) 32
B) 34
C) 62
D) 64















Post a Comment

0 Comments

Popular Posts

Visual Basic 6.0 Program
Node js practical