FirstRanker Logo

FirstRanker.com - FirstRanker's Choice is a hub of Question Papers & Study Materials for B-Tech, B.E, M-Tech, MCA, M.Sc, MBBS, BDS, MBA, B.Sc, Degree, B.Sc Nursing, B-Pharmacy, D-Pharmacy, MD, Medical, Dental, Engineering students. All services of FirstRanker.com are FREE

📱

Get the MBBS Question Bank Android App

Access previous years' papers, solved question papers, notes, and more on the go!

Install From Play Store

Download DBATU B-Tech 1st Year 2017 May Basic Computer Programming Question Paper

Download DBATU (Dr. Babasaheb Ambedkar Technological University) B.Tech First Year 2017 May Basic Computer Programming Question Paper

This post was last modified on 17 May 2020

This download link is referred from the post: DBATU B.Tech Last 10 Years 2010-2020 Question Papers || Dr. Babasaheb Ambedkar Technological University


FirstRanker.com
A Firstranker's choice .
FirstRanker.com

--- Content provided by FirstRanker.com ---

Dr. Babasaheb Ambedkar Technological University, Lonere - 402103
End Semester Examination
Class: B. Tech (Computer/ IT/E&TC/Electrical) Semester: |
Subject: Basic Computer Programming
Subject Code: CP105 Date: 05 MAY 2017

--- Content provided by FirstRanker.com ---

Time: 3 Hours Maximum Marks: 60

Instructions: -

  1. All questions are compulsory and each question carry 10 marks each.
  2. Figures to right indicate full marks.
  3. Illustrate your answers with neat sketches, diagrams etc. whenever necessary.
  4. --- Content provided by FirstRanker.com ---

  5. Necessary data is given in respective question. If such data is not given, it means that knowledge of that data is part of examination.

Q1: A. Enlist some application areas which uses the programming paradigm in practical field. (02)
Explain any two of them. (03)
B. Explain program, algorithm and data structure with suitable examples. Differentiate between algorithm and flowchart. (05)

Q2: A. What is Arithmetic instruction? Explain all three modes of C arithmetic statement. (03)

--- Content provided by FirstRanker.com ---

B. A character is entered by user through keyboard, write a program to calculate and print the ASCII value of that entered character. (03)
C. Attempt any ONE from following.
a) What is type casting? Explain it with suitable example. (04)
b) Differentiate between:
i. Preincrementation and Postincrementation operator in C.

--- Content provided by FirstRanker.com ---

ii. = and == operator in C.

Q3: A. i. Write a note on conditional operator in C. (02)
ii. If a user enters a number through keyboard, write a program to find and print reverse of number and check whether number is palindrome number. (04)
B. Write output of following program.
i) main()

--- Content provided by FirstRanker.com ---

{
Int i,j;
for (i=1;i<=2;i++)
{
for(j=1;j<=2;j++)

--- Content provided by FirstRanker.com ---

{
if(i==j)
continue ;
printf ( "\n%d %d\n", i, j ) ;
}

--- Content provided by FirstRanker.com ---

}
(02)

FirstRanker.com

FirstRanker.com
Firstranker's choice FirstRanker.com

--- Content provided by FirstRanker.com ---

ii) main()
{
int i,j;
for(i=1;i<=2;i++)
{

--- Content provided by FirstRanker.com ---

for(j=1;j<=2;j++)
{
if(i==j)
break ;
printf ( "\n%d %d\n", i, j ) ;

--- Content provided by FirstRanker.com ---

}
}
(02)

Q4: Attempt any TWO of the following.
A. What is Recursion? Explain with the help of an example program. (05)

--- Content provided by FirstRanker.com ---

B. Explain advantages of using functions in programming. (02)
Write a program to find square of an entered number using function. (03)
C. Write a program to find sum of all numbers divisible by 5 from 1 to 50 and draw a flowchart for the same. (05)

Q5: Attempt any TWO of the following.
A. How Array elements are stored in memory? (02)

--- Content provided by FirstRanker.com ---

Describe different ways in which an array is initialized. Which is the most generalized way of initialization? (03)
C. Write a program to perform addition and subtraction of two 2x2 matrices if matrix elements are entered by user. (05)
D. An array has n elements where n is specified by user, write a method to search an element in that array using linear search as a C program. Draw a flowchart for the same. (05)

Q6: Attempt any TWO of the following.
A. What is Structure? Explain with an example. (02)

--- Content provided by FirstRanker.com ---

Describe how structure elements are accessed and stored. (03)
B. Write a program to enter and print data of three books which contains its name, price and number of pages using structure. (05)
C. How decisions are made in C using Switch statement? (02)
If a user enters two numbers as an input, write a program to perform Arithmetic operations on two entered numbers using switch statement. (03)


--- Content provided by FirstRanker.com ---


This download link is referred from the post: DBATU B.Tech Last 10 Years 2010-2020 Question Papers || Dr. Babasaheb Ambedkar Technological University