Download DBATU B.Tech 2019 March 2nd Sem Computer Programming In C Question Paper

Download DBATU (Dr. Babasaheb Ambedkar Technological University) B Tech (Bachelor of Technology) 2019 March 2nd Sem Computer Programming In C Question Paper

DR. BABASAHEB AMBEDKARVTECHNOLOGICAL UNIVERSITY, LONERE
Mid Semester Examination ?- Mar 2019
Course: F.Y.B.Tech(CSE) . Sem: H
Subject Name: Computer Programming in c Subject Code: BTESZ04
Max Marks: 20 Date:? 14/03/2019 Duration:- 1 Hr.
Instructions to the Students:
1. Check that you have received a correct Question paper.
2. Assume suitable data if necessary and mention it clearly
3. Draw NEAT labeled diagrams wherever necessary
Q.1. Attempt following Questions ? (1 *6 = 6 Marks)
1. The ' scans the entire C program and translates it as a whole into machine code
(a) Interpreter (b) Compiler
(c) Operating system (d) Assembler
2. The smallest unit that is used for memory storage is-
(a) Byte (b) Bit
(0) Nibble (d) baud
3. Which of the following is not a logieal operator?
(a) l (b) &
(0) && (d) H
4. 1 If ?a? is an integer variable , a=5/2; will return a value
(a) 2.5 (b)3
(C) 2 (<1)0
5. Which of the following is not a C variable?
, (a) Var123 (b) Var_123
(c) 123Var (d) XH123_Var
6. what will be the output for following program
#include
void main()
{
int i=2;
int a=++i + i;
printf(?%d\n?,a); .
}
(a) 6 (b) 5
(c) 4 (d) compile time error

Q. 2. Attempt any two of the following . .- , (2*3 =6 Ma?rks)
A. In C program contains the following variable d??dlarations
int i=l245; ?oat j=3. 14; char k=?a?;
Show the output resulting from each of the following printf statement
printf(?%d %d \n?, i,j);
printf(?%d %c?,k,k);
B. Enlist the data types in c. also write the amount of size required to store the data type
in the memory.
C. Explain increment & decrement operators with suitable example.
LQ.3. Attempt any one of the following (1* 8 = 8 Marks)
A. Explain structure of 0 program with suitable example
B. Take the distance in Kilometers (KM) as a input through keyboard, write a 9 program
to convert & print distance in Mete'rs (M) & Centimeters (CM)
***END***

This post was last modified on 21 January 2020