FirstRanker.com
Firstranker's choice FirstRanker.com
Roll No. [ ] [ ] [ [ ] Total No. of Pages : 02
--- Content provided by FirstRanker.com ---
Total No. of Questions : 09BMCI (2014 & Onwards) (Sem.-1)
PROGRAMMING IN C
Subject Code : BMCI-104
M.Code : 72201
--- Content provided by FirstRanker.com ---
Time : 3 Hrs. Max. Marks : 60INSTRUCTION TO CANDIDATES :
- SECTION-A is COMPULSORY consisting of TEN questions carrying TWO marks each.
- SECTION-B contains FIVE questions carrying FIVE marks each and students have to attempt any FOUR questions.
- SECTION-C contains THREE questions carrying TEN marks each and students have to attempt any TWO questions.
--- Content provided by FirstRanker.com ---
SECTION-A
- Answer briefly :
- What is a programming?
- Draw and explain any two symbols used in flow charts.
- What is debugging?
- Give an example of nested if statement in C.
- Why do we use break statement?
- What is call by reference?
- How will you declare an integer array of size 2x3x4 using C?
- What is a union in C?
- Explain the meaning of the statement :
--- Content provided by FirstRanker.com ---
int **MyArray; - Why do we use #include<stdio.h> in C?
--- Content provided by FirstRanker.com ---
1| M-72201 (S2)-850
FirstRanker.com
--- Content provided by FirstRanker.com ---
FirstRanker.com
Firstranker's choice FirstRanker.com
SECTION-B
- Write and explain the steps in development of program.
- Give and explain an example of a switch statement.
- How will you add two matrices using C?
- How will you use the following lines in your C program?
#define PI 3.142
#define CircleArea(r) (PI*r*r) - Explain the storage classes of C language.
--- Content provided by FirstRanker.com ---
SECTION-C
--- Content provided by FirstRanker.com ---
- Write a C code to find a given number in a three dimensional matrix.
- Write a C code to solve the quadratic equation ax² + bx + c = 0.
- Write a C code to write and read an integer to/from a given file.
NOTE : Disclosure of Identity by writing Mobile No. or Making of passing request on any page of Answer Sheet will lead to UMC against the Student.
2| M-72201 (52)-850
--- Content provided by FirstRanker.com ---
FirstRanker.com
This download link is referred from the post: PTU BMCI 2020 March Previous Question Papers
--- Content provided by FirstRanker.com ---