Back

CP (AC) 2019

2019BUTEX-AC

Computer Programming question paper (MDM 101) from BUTEX affiliated colleges' 2019 Level-1 Term-I finals. Questions include computer system functions, compiler requirements, variable name validity, Fahrenheit-Celsius conversion programs, and software development phases.

BANGLADESH UNIVERSITY OF TEXTILES

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

Level-1 Term-I, Final Exám-2019
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 are the five basic functions performed by a computer system? Diagrammatically show the difference between Software and Hardware.

(b) What is a computer programming language? State the name of factor considered in a good programming language.

(c) What is a compiler? Why it is required? A compare supports five high-level languages that are compiler based. Does this computer require one compiler and why?

(d) Why is proper documentation of a program necessary? What are programs bugs and debugging?

[3+3+3+3=12]

2. (a) Do you consider C is a structured programming language? Justify your answer.

(b) Which of these variable names are invalid in C? (i) Count (ii) 123 count (iii) $balance (iv) new_word (v) This_is_a_long_name.

(c) Write a program to convert the temperature Fahrenheit to Celsius using conversion formula.

(d) Difference between ++ i and i ++ with example.

[3+2+4.5+2.5=12]

3. (a) Describe different types of constant supported by ‘C’ language.

(b) Header files contains information used by the standard library function. How do you tell the compiler to include one in your program? Drive an example.

(c) Correct the following program coding if necessary.

Sign in to see the full question paper

It's free.

Login
Share