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

INTRODUCTION TO PROGRAMMING

00:00:00

Which type of error are flagged by compilers

Option A. Logical errors
Option B. Syntax errors
Option C. Both Logical and Syntax errors
Option D. None of these
True Answer B

Explanation :

Which type of error are flagged by compilers

Question No# : 01 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# : 02 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# : 03 out of 20

What is the binary number equivalent of the decimal number 12?

Option A. 1100
Option B. 1010
Option C. 1001
Option D. 1110
True Answer A

Explanation :

What is the binary number equivalent of the decimal number 12?

Question No# : 04 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# : 05 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# : 06 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# : 07 out of 20

An algorithm is best describe as

Option A. A computer language
Option B. A step by step procedure for solving a problem
Option C. A branch of mathematics
Option D. None of the above
True Answer B

Explanation :

An algorithm is best describe as

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



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# : 10 out of 20



‘C’ language can not be used for database manipulation.

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

Explanation :

‘C’ language can not be used for database manipulation.

Question No# : 11 out of 20

The error that can be pointed out by the compiler are

Option A. Syntax errors
Option B. Semantic errors
Option C. logical errors
Option D. None of the above
True Answer A

Explanation :

The error that can be pointed out by the compiler are

Question No# : 12 out of 20



It is easy to correct or modify machine language program

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

Explanation :

It is easy to correct or modify machine language program

Question No# : 13 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# : 14 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# : 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

C language cannot be used for database manipulation.

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

Explanation :

C language cannot be used for database manipulation.

Question No# : 17 out of 20

Compiler translates the of source code into object code before the program can be executed.

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

Explanation :

Compiler translates the of source code into object code before the program can be executed.

Question No# : 18 out of 20

Which numbering system is not handled directly by the printf() conversion specifies ?

Option A. Decimal
Option B. Binary
Option C. Octal
Option D. Hexadecimal
True Answer B

Explanation :

Which numbering system is not handled directly by the printf() conversion specifies ?

Question No# : 19 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# : 20 out of 20