This download link is referred from the post: DBATU B-Tech Last 10 Years 2010-2020 Previous Question Papers || Dr. Babasaheb Ambedkar Technological University
Firstranker's choice
DR. BABASAHEB AMBEDKAR TECHNOLOGICAL UNIVERSITY, LONERE
--- Content provided by FirstRanker.com ---
Mid Semester Examination - Mar 2019
Course: F.Y.B.Tech(CSE) Sem: II
Subject Name: Computer Programming in c Subject Code: BTES204
Date:- 14/03/2019 Duration:-1 Hr.
Max Marks: 20
--- Content provided by FirstRanker.com ---
Instructions to the Students:
- Check that you have received a correct Question paper.
- Assume suitable data if necessary and mention it clearly
- Draw NEAT labeled diagrams wherever necessary
Q.1. Attempt following Questions (1*6 = 6 Marks)
--- Content provided by FirstRanker.com ---
- The _______ scans the entire C program and translates it as a whole into machine code
- Interpreter
- Compiler
- Operating system
- Assembler
- The smallest unit that is used for memory storage is-
- Byte
- Bit
- Nibble
- baud
- Which of the following is not a logical operator?
- !
- &
- &&
- ||
- If 'a' is an integer variable, a=5/2; will return a value
- 2.5
- 3
- 2
- 0
- Which of the following is not a C variable?
- Var123
- Var_123
- 123Var
- X_123_Var
- what will be the output for following program
#include<stdio.h>
void main()
{
int i=2;
int a=++i + i;--- Content provided by FirstRanker.com ---
printf("%d\n",a);
}- 6
- 5
- 4
- compile time error
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
Q. 2. Attempt any two of the following (2*3 =6 Marks)
- In C program contains the following variable declarations
Show the output resulting from each of the following printf statementint i=1245; float j=3.14; char k='a';
printf("%d %d \n", i,j);
printf("%d %c",k,k); - Enlist the data types in c. also write the amount of size required to store the data type in the memory.
- Explain increment & decrement operators with suitable example.
--- Content provided by FirstRanker.com ---
Q.3. Attempt any one of the following (1*8 = 8 Marks)
- Explain structure of c program with suitable example
- Take the distance in Kilometers (KM) as a input through keyboard, write a c program to convert & print distance in Meters (M) & Centimeters (CM)
***END***
--- Content provided by FirstRanker.com ---
This download link is referred from the post: DBATU B-Tech Last 10 Years 2010-2020 Previous Question Papers || Dr. Babasaheb Ambedkar Technological University
--- Content provided by FirstRanker.com ---