Crystal (programming language)/C Programming Multiple Choice Question Sample Test,Sample questions

Question:
 First version of C Programming language is ____ .

1.K&R

2.C89

3.ANSI

4.R&K


Question:
 The mapping from assembly language instructions into machine language instructions is?

1.many-one

2.many-many

3.one-one

4.one-many


Question:
 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.

1.Only i & ii

2.Only i & iii

3.Only ii & ii

4.All of the above


Question:
. Which is true in case of ANSI C?

1.Comments are represented in /* and */

2.Nested comments are not allowed

3.Comments are not allowed within a string constant

4.Nested comments are allowed


Question:
A compiler is

1.a machine-independent and OS-independent

2.machine-dependent and OS-dependent

3.machine-dependent and OS-independent

4.machine-independent and OS-dependent


Question:
A program that converts a high level language program to a set of instruc-tions that can run on a computer is called a ?

1.compiler

2.debugger

3.editor

4.None of the above


Question:
A program which translates a high level language program into a machine language program is called

1.Compiler

2.Interpreter

3.Both A and B

4.none of the above


Question:
An escape sequence commence with

1.

2./

3.?

4.#


Question:
C can be used on?

1.Only MS-Dos operating System

2.Only Linux operating system

3.Only Windows operating system

4.All of the above


Question:
C Language was developed at ?

1.AT & T Bell Laboratory

2.MIT University

3.Harvard University

4.Stanford Lab


Question:
C programming language is

1.Procedural language

2.Object Oriented language

3.Scripting languages

4.None of These


Question:
C programming language is

A. Procedural language
B. Object Oriented language
C. 
D. None of these

1.Procedural language

2.Object Oriented language

3.Scripting languages

4.None of these


Question:
C was initially used for

1.General purpose

2.System development work

3.Data processing

4.None of these


Question:
Identify the correct statement?

1.The variable names VOLUME and volume are identical

2.The variable names sun and sun are identical

3.Variables are not declared before use

4. Variable may he absent in a declaration.


Question:
Identify the separator(s) in C?

1.white space character

2.Comments

3.Semicolon

4. Both A and B


Question:
Identify the wrong Statement?

1.#define /* symbolic constant */ Max 100

2.int /*declaration*/ a,b;

3.. char c1,c2;

4.#define MAX 25;


Question:
Identify the wrong statement?

1.# define is a preprocessor facility.

2. # define aids in modifying a constant value throughout the program.

3. # define uses a statement terminator.

4.# define improves the readability of the program.


Question:
Indicate which of the following is not true about an interpreter?

1.Interpreter generates an object program from the source program

2. Interpreter is a kind of translator

3.Interpreter analysis each source statement every time it is to be executed

4. None of the above


Question:
Many features of C were derived from which language ?

1.PASCAL

2.B

3.BASIC

4.FORTRAN


Question:
The errors that can be pointed out by the compiler are?

1.syntax errors

2.semantic error

3.logical error

4.none of the above


Question:
The language C is

1.an assembly language

2. a third generation high level language

3.a machine language

4. none of the above


Question:
What is C language?

1.C language is a structure/procedure oriented

2.C language is a middle level programming language

3.C language was invented for implementing UNIX operating system

4.All of the above


Question:
Where does the execution of every C program starts?

1.Every C program starts in the main () function.

2. Every C program starts in the begin ( ) function.

3.Every C program starts in the initialize ( ) function.

4.Every C program starts in the start ( ) function.


Question:
Which is not a character Of C?

1. $

2. ^

3. -

4.|


Question:
Which of the following statements is not true?

1.FORTRAN is a high-level language

2.A FORTRAN program written for the IBM-PC, is totally different from a FORTRAN program written for the execution of SUN machine.

3.FORTRAN is extensively used write program for performing scientific computations

4.None of the above


Question:
Which of these is not an example for IDE in C?

1.Turbo

2.Pycharm

3.Code::Blocks

4.Borland


Question:
Which year C language is developed?

1.1970

2.1971

3.1972

4.1973


Question:
Who is father of C Language?

1.Bjarne Stroustrup

2.James A. Gosling

3.Dennis Ritchie

4.Dr. E.F. Codd


More MCQS

  1. C Programming Multiple Choice Question
Search
Olete Team
Online Exam TestTop Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on Online Exam Testwebsite is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!