Computer Programming paper (MDM 101) from BUTEX affiliated colleges' 2021 Level-1 Term-I finals. Questions address machine versus high-level languages, keywords and identifiers, operator types, while loop conversions, harmonic series programming, and storage classes.
Level-1 Term-I, Final Exám-2021
Subject: Computer Programming (Code: MDM 101)
Time: 3.0 Hrs. Full Marks: 72
(Use separate answer script for Part: A and Part: B)
(All parts of a question must be answered consecutively)
Part: A
(Answer any three questions)
1. (a) What is machine language? How does machine language differ from high-level languages?
(b) What do you mean by source program and object program?
(c) What are compilers and interpreters? Differentiate between them.
[4+2+6=12]
2. (a) What do you mean by keywords and identifiers? Write down the rules for naming identifiers.
(b) Give at least two examples for each of the following operators:
(i) Logical operator (ii) Relational operator (iii) Conditional operator
[6+6=12]
3. (a) What are the key features in the C programming language?