BE Construction Engineering Semester 2 (FE First Year)University of Mumbai
Share
Notifications

View all notifications
Books Shortlist
Your shortlist is empty

Structured Programming Approach CBCGS 2017-2018 BE Construction Engineering Semester 2 (FE First Year) Question Paper Solution

Login
Create free account


      Forgot password?
Structured Programming Approach
CBCGS
2017-2018 June
Marks: 80

1) Question No. 1 is compulsory

2) Attempt any three from the remaining questions


[20]1
[10]1.a
[1]1.a.i

Select the correct option from multiple choice question.

Which bitwise operator is used to multiply the number by 2n where n isnumber of bits.

Bitwise-OR

Bitwise-AND

Bitwise Left shift

Bitwise Right shift

Concept: Operators in C-Programming
Chapter: [10] Fundamentals of C-Programming
[1]1.a.ii

Select the correct option from multiple choice question.

Which operator has the lowest priority?

++

%

+

| |

Concept: Operators in C-Programming
Chapter: [10] Fundamentals of C-Programming
[1]1.a.iii

Select the correct option from multiple choice question.

Which of these is a valid variable declaration?

in temp salary

float marks_student

float roll-no

int main

Concept: Variables in C - Programming
Chapter: [10] Fundamentals of C-Programming
[1]1.a.iv

Select the correct option from multiple choice question.

What will be the output of the following program?
Void main() {
Double x=28;
Int r;
r=x%5;
printf(“\n r=%d”,r);}

r = 3

Run time Error

Compile time Error

None of the above

Concept: Character Set in C-Programming
Chapter: [10] Fundamentals of C-Programming
[1]1.a.v

Select the correct option from multiple choice question.

What will be the output of following program
Void main() {int x[]={10,20,30,40,50};
printf(“\n%d%d%d%d”,x[4], 3[x], x[2], 1[x], x[0]); }

Error

10 20 30 40 50

50 40 30 20 10

None of these

Concept: Character Set in C-Programming
Chapter: [10] Fundamentals of C-Programming
[1]1.a.vi

Select the correct option from multiple choice question.

Which of the following is not a keyword of ‘C’?

auto

register

int

function

Concept: Identifiers and Keywords in C-Programming
Chapter: [10] Fundamentals of C-Programming
[1]1.a.vii

Select the correct option from multiple choice question.

What will be the output?
Void main() {
Int y;
y=0x10+010+10;
printf(“\ny=%x”,y); }

y = 34

x = 34

y = 22

Error

Concept: Data Input and Output in C-Programming
Chapter: [10] Fundamentals of C-Programming
[1]1.a.viii

Select the correct option from multiple choice question.

Study the following C program
Void main() {
int a=0;
for( ;a;);
a++; }
what will be the value of the variable a, on the execution of above program

1

0

-1

None of these

Concept: Variables in C - Programming
Chapter: [10] Fundamentals of C-Programming
[1]1.a.ix

Select the correct option from multiple choice question.

Which of the following is used as a string termination character?

0

\0

/0

None of these

Concept: Character Set in C-Programming
Chapter: [10] Fundamentals of C-Programming
[1]1.a.x

Select the correct option from multiple choice question.

void main() {
char a[]= “Hello world”;
char *p;
p=a;
printf(“\n%d%d%d%d”,sizeof(a),sizeof(p),strlen(a),strlen(p) ); }

11 11 10 10

10 10 10 10

12 12 11 11

12 2 11 11

Concept: Pointer
Chapter: [14] Pointer and Files
[10]1.b
[1]1.b.i

State True or False with reason.

Size of pointer variable is equal to the datatype it points to.

Concept: Pointer
Chapter: [14] Pointer and Files
[1]1.b.ii

State True or False with reason.

A float constant cannot be used as a case constant in a switch statement.

Concept: Constants in C - Programming
Chapter: [10] Fundamentals of C-Programming
[1]1.b.iii

State True or False with reason.

The statement void p; is valid. 

Concept: Pointer
Chapter: [14] Pointer and Files
[1]1.b.iv

State True or False with reason.

while(0); is an infinite loop.

Concept: Control Structures - Looping
Chapter: [11] Control Structures
[1]1.b.v

State True or False with reason.

scanf() function is used to input string having multiple words. 

Concept: String
Chapter: [13] Arrays , String Structure and Union
[1]1.b.vi

State True or False with reason.

A function can have any number of return statements.

Concept: Operators in C-Programming
Chapter: [10] Fundamentals of C-Programming
[1]1.b.vii

State True or False with reason.

In a union, space is allocated to every member individually.

Concept: Union
Chapter: [13] Arrays , String Structure and Union
[1]1.b.viii

State True or False with reason.

An algorithm is a graphical representation of the logic of a program. 

Concept: Three Construct of Algorithm and Flowchart
Chapter: [9.02] Algorithm and Flowchart
[1]1.b.ix

State True or False with reason.

Comments in the program make debugging of the program easier. 

Concept: Operators in C-Programming
Chapter: [10] Fundamentals of C-Programming
[1]1.b.x

State True or False with reason.

There is no difference between ‘\0’ and ‘0’. 

Concept: String
Chapter: [13] Arrays , String Structure and Union
[20]2
[10]2.a
[5]2.a.i

How to create array of structure variable and assign values to its members?

Concept: Array
Chapter: [13] Arrays , String Structure and Union
[5]2.a.ii

Differentiate between struct and union. When is union preferred over struct? Give on example of each.

Concept: Structure
Chapter: [13] Arrays , String Structure and Union
[10]2.b
[5]2.b.i

WAP to print the sum of following series.

1+22+33+………+nn

Concept: Control Structures - Looping
Chapter: [11] Control Structures
[5]2.b.ii
[2.5]2.b.ii.i

Compare the following

break and continue statements

Concept: Control Structures - Nested Control Structure
Chapter: [11] Control Structures
[2.5]2.b.ii.ii

Compare the following

if-else and switch statements

Concept: Control Structures - Nested Control Structure
Chapter: [11] Control Structures
[10]3
[6]3.a

Write a program to calculate number of vowels (a, e, i, o, u) separately in the entered string.

Concept: String
Chapter: [13] Arrays , String Structure and Union
[4]3.b
[2]3.b.i

Predict output of following program segment.
main()
{
int a,b,*p1,*p2,x,y;
clrscr();
a=48;b=10;p1=&a;p2=&b;
x=*p1**p2-8;
*p1=*p1+*p2;
y=(*p1/ *p2)+20;
printf("%d%d%d%d%d%d",*p1,*p2,a,b,x,y);
}

Concept: Data Input and Output in C-Programming
Chapter: [10] Fundamentals of C-Programming
[2]3.b.ii

Predict output of following program segment.

main()
{
int x=4, y=9,z;
clrscr();
z=x++ + --y+y;
printf("\n%d%d%d",x,y,z);
z= --x+x+y--;
printf("\n%d%d%d",x,y,z);
getch();
}

Concept: Data Input and Output in C-Programming
Chapter: [10] Fundamentals of C-Programming
[10]3.c

An electronic component vendor supplies three products: transistors, resistors and capacitors. The vendor gives a discount of 10% on order of transistor if the order is more than Rs. 1000. On order of more than Rs. 100 for resistors, a discount of 5% is given and discount of 10% is given on order for capacitors of value more than Rs. 500. Assume numeric code 1, 2 and 3 used for transistors, capacitors and resistors respectively. Write a program that reads the product code and order amount and prints out the net amount that the customer is required to pay after discount. (Note: Use switch-case)

Concept: Control Structures - Nested Control Structure
Chapter: [11] Control Structures
[20]4
[10]4.a

What is recursion? WAP using recursion to find the sum of array elements of size n.

Concept: Functions - Recursion
Chapter: [12] Functions and Parameter
[10]4.b

Write a C program to
i. Create a 2D array [Matrix] [in main function]
ii. Write a function to read 2D array[Matrix]
iii. Write a function that will return true(1) if entered matrix is symmetric or false(0) is not symmetric.
iv. Print whether entered matrix is symmetric or not [in main function]

Concept: Array
Chapter: [13] Arrays , String Structure and Union
[20]5
[5]5.a

Implement string copy function STRCOPY (str1,str2) that copies a string str1 (source) to another string str2 (destination) without using library function.

Concept: String
Chapter: [13] Arrays , String Structure and Union
[8]5.b

Explain file handling in c in details.[Note: Mention file type, file
modes, file related functions and its use)

Concept: Files
Chapter: [14] Pointer and Files
[7]5.c

WAP to print all possible combination of 1,2,3 using nested loops.

Concept: Control Structures - Looping
Chapter: [11] Control Structures
[20]6
[5]6.a

WAP to print following pattern for n lines. [Note: range of n is 1-9]

1
121
12321
1234321

Concept: Data Input and Output in C-Programming
Chapter: [10] Fundamentals of C-Programming
[5]6.b

WAP to print binary equivalent of entered decimal no.

Concept: Data Input and Output in C-Programming
Chapter: [10] Fundamentals of C-Programming
[10]6.c

what is significance of storage classes? Explain it with relevant examples.

Concept: Storage Classes
Chapter: [12] Functions and Parameter

Request Question Paper

If you dont find a question paper, kindly write to us





      View All Requests

Submit Question Paper

Help us maintain new question papers on Shaalaa.com, so we can continue to help students




only jpg, png and pdf files

University of Mumbai previous year question papers Semester 2 (FE First Year) Structured Programming Approach with solutions 2017 - 2018

     University of Mumbai Semester 2 (FE First Year) Structured Programming Approach question paper solution is key to score more marks in final exams. Students who have used our past year paper solution have significantly improved in speed and boosted their confidence to solve any question in the examination. Our University of Mumbai Semester 2 (FE First Year) Structured Programming Approach question paper 2018 serve as a catalyst to prepare for your Structured Programming Approach board examination.
     Previous year Question paper for University of Mumbai Semester 2 (FE First Year) Structured Programming Approach-2018 is solved by experts. Solved question papers gives you the chance to check yourself after your mock test.
     By referring the question paper Solutions for Structured Programming Approach, you can scale your preparation level and work on your weak areas. It will also help the candidates in developing the time-management skills. Practice makes perfect, and there is no better way to practice than to attempt previous year question paper solutions of University of Mumbai Semester 2 (FE First Year).

How University of Mumbai Semester 2 (FE First Year) Question Paper solutions Help Students ?
• Question paper solutions for Structured Programming Approach will helps students to prepare for exam.
• Question paper with answer will boost students confidence in exam time and also give you an idea About the important questions and topics to be prepared for the board exam.
• For finding solution of question papers no need to refer so multiple sources like textbook or guides.
S
View in app×