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

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

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

[12] Functions and Parameter
Chapter: [12] Functions and Parameter
Concept: Function

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

[14] Pointer and Files
Chapter: [14] Pointer and Files
Concept: Pointer

Advertisement Remove all ads

Write a program to multiply two matrices after checking compatibility. 

[13] Arrays , String Structure and Union
Chapter: [13] 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.

[10] Fundamentals of C-Programming
Chapter: [10] 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!

[13] Arrays , String Structure and Union
Chapter: [13] 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
1. add two numbers
2. subtract two numbers
3. multiply two numbers
4. divide two numbers 

[11] Control Structures
Chapter: [11] 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);}

[10] Fundamentals of C-Programming
Chapter: [10] 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[4], 3[x], x[2], 1[x], x[0]); }

[10] Fundamentals of C-Programming
Chapter: [10] 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?

[10] Fundamentals of C-Programming
Chapter: [10] 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) ); }

[14] Pointer and Files
Chapter: [14] Pointer and Files
Concept: Pointer

State True or False with reason.

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

[14] Pointer and Files
Chapter: [14] Pointer and Files
Concept: Pointer

State True or False with reason.

The statement void p; is valid. 

[14] Pointer and Files
Chapter: [14] 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?

[13] Arrays , String Structure and Union
Chapter: [13] 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 > 
Advertisement Remove all ads
Share
Notifications

View all notifications


      Forgot password?
View in app×