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

INTRODUCTION TO PROGRAMMING

00:00:00

The programming language happens to be the high level language with some assembly language features.

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

Explanation :

The programming language happens to be the high level language with some assembly language features.

Question No# : 01 out of 20

Choose the option that contains only valid hexadecimal integers

Option A. 0x9F, 0xbcd, 0x1
Option B. 037, 0xx, 01000
Option C. 0x561u, 0x9h, 0xdd
Option D. H9F, HFF, HAA
True Answer D

Explanation :

Hexadecimal Number System is one the type of Number Representation techniques, in which there value of base is 16. That means there are only 16 symbols or possible digit values, there are 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F.

Choose the option that contains only valid hexadecimal integers

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

A cross assembler is an assembler that runs on a computer other than that which it produces machine codes

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

Explanation :

A cross assembler is an assembler that runs on a computer other than that which it produces machine codes

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

A program which translate a high-level language program into a machine language program is called

Option A. Compiler
Option B. Interpreters
Option C. Both Compiler and Interpreter
Option D. None of the above
True Answer C

Explanation :

A program which translate a high-level language program into a machine language program is called

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



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

C Programming Language was developed and written by

Option A. Martin Richards
Option B. Dennis Ritchie
Option C. Ken Thompson
Option D. Herman Hellorith
True Answer B

Explanation :

C Programming Language was developed and written by

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

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



The part of a machine level instruction, which tells the central processor what has to be done, is

Option A. An operation code
Option B. An address
Option C. An operand
Option D. None of the above
True Answer A

Explanation :

The part of a machine level instruction, which tells the central processor what has to be done, is

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



Who is father of C Language?

Option A. Bjarne Stroustrup
Option B. James A. Gosling
Option C. Dennis Ritchie
Option D. Dr. E.F. Codd
True Answer C

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.

Who is father of C Language?

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