# BE Chemical Engineering Semester 2 (FE First Year) - University of Mumbai Question Bank Solutions for Structured Programming Approach

Subjects
Topics
Subjects
Popular subjects
Topics
Structured Programming Approach
< prev  1 to 20 of 88  next >

State any two library functions string.h along with its syntax, use an example.

 Functions and Parameter
Chapter:  Functions and Parameter
Concept: Function

What is pointer? Explain how the pointer variable declared and initialized.

 Pointer and Files
Chapter:  Pointer and Files
Concept: Pointer

Write a program to multiply two matrices after checking compatibility.

 Arrays , String Structure and Union
Chapter:  Arrays , String Structure and Union
Concept: Array

What is file? What are different functions available to read data from file? Specify the different modes in which files can be opened along with syntax.

 Fundamentals of C-Programming
Chapter:  Fundamentals of C-Programming
Concept: Character Set in C-Programming

Write a program to calculate summation of series
1/1! + 2/2! + 3/3! +….+ n/n!

 Arrays , String Structure and Union
Chapter:  Arrays , String Structure and Union
Concept: Array

Draw the flowchart for finding the roots of quadratic equation. Write program for same.

[9.02] Algorithm and Flowchart
Chapter: [9.02] Algorithm and Flowchart
Concept: Three Construct of Algorithm and Flowchart

Write a program to implement calculator with following operations using switch case
2. subtract two numbers
3. multiply two numbers
4. divide two numbers

 Control Structures
Chapter:  Control Structures
Concept: Control Structures

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);}

 Fundamentals of C-Programming
Chapter:  Fundamentals of C-Programming
Concept: Character Set in C-Programming

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, 3[x], x, 1[x], x); }

 Fundamentals of C-Programming
Chapter:  Fundamentals of C-Programming
Concept: Character Set in C-Programming

Select the correct option from multiple choice question.

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

 Fundamentals of C-Programming
Chapter:  Fundamentals of C-Programming
Concept: Character Set in C-Programming

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) ); }

 Pointer and Files
Chapter:  Pointer and Files
Concept: Pointer

State True or False with reason.

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

 Pointer and Files
Chapter:  Pointer and Files
Concept: Pointer

State True or False with reason.

The statement void p; is valid.

 Pointer and Files
Chapter:  Pointer and Files
Concept: Pointer

Define Algorithm. Write Algorithm to check whether given number is Armstrong number or not also mention input and output specifications to algorithm.

[9.02] Algorithm and Flowchart
Chapter: [9.02] Algorithm and Flowchart
Concept: Three Construct of Algorithm and Flowchart

Convert 0010 0100 0010 1101 from base 2 to decimal. Convert 134 from base 10 to hexadecimal. Write steps for conversion.

[9.01] Basics of Computer
Chapter: [9.01] Basics of Computer
Concept: Turing Model

Explain various storage classes with example.

[9.02] Algorithm and Flowchart
Chapter: [9.02] Algorithm and Flowchart
Concept: Three Construct of Algorithm and Flowchart

State True or False with reason.

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

[9.02] Algorithm and Flowchart
Chapter: [9.02] Algorithm and Flowchart
Concept: Three Construct of Algorithm and Flowchart

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

 Arrays , String Structure and Union
Chapter:  Arrays , String Structure and Union
Concept: Array

Draw flowchart for “if…else” and “while” statement of C language.

[9.02] Algorithm and Flowchart
Chapter: [9.02] Algorithm and Flowchart
Concept: Three Construct of Algorithm and Flowchart

What is the need of computer programming. What do you mean by structured programming? Develop an ALGORITHM and FLOWCHART to find reverse of a number.

[9.02] Algorithm and Flowchart
Chapter: [9.02] Algorithm and Flowchart
Concept: Three Construct of Algorithm and Flowchart
< prev  1 to 20 of 88  next >