QUIZ ON : PROGRAMMING AND PROBLEM SOLVING THROUGH PYTHON - INTRODUCTION TO PROGRAMMING

INTRODUCTION TO PROGRAMMING

00:00:00

C Language developed at _________?

Option A. AT & Ts Bell Laboratories of USA in 1972
Option B. AT & Ts Bell Laboratories of USA in 1970
Option C. Sun Microsystems in 1973
Option D. Cambridge University in 1972
True Answer A

Explanation :

C programming language was developed in 1972 by Dennis Ritchie at bell laboratories of AT&T (American Telephone & Telegraph), located in the U.S.A. Dennis Ritchie is known as the founder of the c language. It was developed to overcome the problems of previous languages such as B, BCPL, etc.

C Language developed at _________?

Question No# : 01 out of 20



C was primarily developed as

Option A. System programming language
Option B. General purpose language
Option C. Data processing language
Option D. None of the above
True Answer A

Explanation :

The origin of C is closely tied to the development of the Unix operating system, originally implemented in assembly language on a PDP-7 by Dennis Ritchie and Ken Thompson, incorporating several ideas from colleagues.

C was primarily developed as

Question No# : 02 out of 20



In computer programming, the translation of source code into object code is done by a compiler.

Option A. TRUE
Option B. FALSE
Option C.
Option D.
True Answer A

Explanation :

In computer programming, the translation of source code into object code is done by a compiler.

Question No# : 03 out of 20

An assembly language program contains more instructions as compared to high level language program

Option A. TRUE
Option B. FALSE
Option C.
Option D.
True Answer A

Explanation :

An assembly language program contains more instructions as compared to high level language program

Question No# : 04 out of 20

High-level language is machine-independent

Option A. TRUE
Option B. FALSE
Option C.
Option D.
True Answer A

Explanation :

High-level language is machine-independent

Question No# : 05 out of 20

A sequence of instruction, in a computer language, to get the desired result is known as

Option A. An algorithm
Option B. A decision table
Option C. A program
Option D. None of the above
True Answer C

Explanation :

A sequence of instruction, in a computer language, to get the desired result is known as

Question No# : 06 out of 20



The instructions written in high-level language are called statement

Option A. TRUE
Option B. FALSE
Option C.
Option D.
True Answer A

Explanation :

The instructions written in high-level language are called statement

Question No# : 07 out of 20

In C the graphics may be used to add graphical features to the program.

Option A. TRUE
Option B. FALSE
Option C.
Option D.
True Answer B

Explanation :

In C the graphics may be used to add graphical features to the program.

Question No# : 08 out of 20

Which of the following language is predecessor to C Programming Language?

Option A. A
Option B. B
Option C. ADA
Option D. C++
True Answer B

Explanation :

However, its influence is still felt because a stripped down and syntactically changed version of BCPL, called B, was the language on which the C programming language was based.

Which of the following language is predecessor to C Programming Language?

Question No# : 09 out of 20



Comments in the program make debugging of the program easier.

Option A. TRUE
Option B. FALSE
Option C.
Option D.
True Answer A

Explanation :

Comments in the program make debugging of the program easier.

Question No# : 10 out of 20

The operating system converts the ‘C’ program into machine language.

Option A. TRUE
Option B. FALSE
Option C.
Option D.
True Answer B

Explanation :

The operating system converts the ‘C’ program into machine language.

Question No# : 11 out of 20

Identify the correct sequence of steps to run a c program

Option A. link, load, code, compile and execute
Option B. code, compile, link, execute and load
Option C. code, compile, link, load and execute
Option D. compile, code, link, load and execute
True Answer C

Explanation :

Identify the correct sequence of steps to run a c program

Question No# : 12 out of 20



cout and cin can be used for output and input respectively in ‘C’ language.

Option A. TRUE
Option B. FALSE
Option C.
Option D.
True Answer B

Explanation :
cout and cin are used in C++ for Input/Output like printf() and sacnf()

cout and cin can be used for output and input respectively in ‘C’ language.

Question No# : 13 out of 20

The language in which a programmer writes program is called object program

Option A. TRUE
Option B. FALSE
Option C.
Option D.
True Answer B

Explanation :

The language in which a programmer writes program is called object program

Question No# : 14 out of 20

Every time we supply new set of values to the program at command prompt, we need to recompile the program

Option A. TRUE
Option B. FALSE
Option C.
Option D.
True Answer B

Explanation :

Every time we supply new set of values to the program at command prompt, we need to recompile the program

Question No# : 15 out of 20

An algorithm is a graphical representation of the logic of a program.

Option A. TRUE
Option B. FALSE
Option C.
Option D.
True Answer B

Explanation :

An algorithm is a graphical representation of the logic of a program.

Question No# : 16 out of 20

Set of instructions given to a computer is known as program

Option A. TRUE
Option B. FALSE
Option C.
Option D.
True Answer A

Explanation :

Set of instructions given to a computer is known as program

Question No# : 17 out of 20

Function of a compiler is

Option A. put together the file and functions that are required by the program
Option B. translate the instructions into a form suitable for execution by the program
Option C. load the executable code into the memory and execute them
Option D. allow the user to type the program
True Answer B

Explanation :

Function of a compiler is

Question No# : 18 out of 20



An assembly language program runs faster than high-level language programs

Option A. TRUE
Option B. FALSE
Option C.
Option D.
True Answer A

Explanation :

An assembly language program runs faster than high-level language programs

Question No# : 19 out of 20

C programs are converted into machine language with the help of

Option A. An Editor
Option B. A compiler
Option C. An operating system
Option D. None of these
True Answer B

Explanation :

A compiler is a system software that converts high level language into machine level language.

C programs are converted into machine language with the help of

Question No# : 20 out of 20