Back

CP (AC) 2020

2020BUTEX-AC

Computer Programming exam (MDM 101) from the 2020 Level-1 Term-I finals at BUTEX affiliated colleges. Covers C program structure, flowchart symbols, ternary operators, digit reversal programs, increment operators, and recursive text reversal.

BANGLADESH UNIVERSITY OF TEXTILES

B. Sc. in Textile Engineering (For Affiliated Colleges)

Level-1 Term-I, Final Exám-2020
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) Differentiate between compiler and interpreter.

(b) Write down the basic structure of C.

(c) Describe the function of the various flow charting symbol.

[4+4+4=12]

2. (a) Compare the use of if-else statement with the use of ?: operator. In particular, In what way can the ?: operator be used in place of an if-else statement.

(b) Define variable. How can declare variable for different types of data in the programme?

(c) What is control statement? Mention different types of control statement with example.

[4+4+4=12]

3. (a) Do you agree following statement-

“C programs the smallest individual units are known as C tokens” if so explain it.

(b) C support non-printing character-do you think the statement is correct? If yes justify your answer.

Sign in to see the full question paper

It's free.

Login
Share