English

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

Advertisements
Subjects
Topics
Subjects
Popular subjects
Topics
Advertisements
Advertisements
Structured Programming Approach
< prev  61 to 80 of 88  next > 

Compare the following

break and continue statements

[11] Control Structures
Chapter: [11] Control Structures
Concept: undefined >> undefined

Compare the following

if-else and switch statements

[11] Control Structures
Chapter: [11] Control Structures
Concept: undefined >> undefined

Advertisements

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)

[11] Control Structures
Chapter: [11] Control Structures
Concept: undefined >> undefined

Write a program to print following patterns for N lines.

5 4 3 2 *
5 4 3 * 1
5 4 * 2 1
5 * 3 2 1
* 4 3 2 1

[11] Control Structures
Chapter: [11] Control Structures
Concept: undefined >> undefined

Write a programs to print following patterns for N lines.

           5
           5 4
           5 4 3
           5 4 3 2
           5 4 3 2 1

[11] Control Structures
Chapter: [11] Control Structures
Concept: undefined >> undefined

Select the correct option from multiple choice question.

Which of these is a valid variable declaration?

[10] Fundamentals of C-Programming
Chapter: [10] Fundamentals of C-Programming
Concept: undefined >> undefined

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

[10] Fundamentals of C-Programming
Chapter: [10] Fundamentals of C-Programming
Concept: undefined >> undefined

What do you mean by file? What are the different functions available to read data from file? Specify the different modes in which file can be opened along with syntax. 

[10] Fundamentals of C-Programming
Chapter: [10] Fundamentals of C-Programming
Concept: undefined >> undefined

Explain call by value with an example.

[12] Functions and Parameter
Chapter: [12] Functions and Parameter
Concept: undefined >> undefined

Select the correct option from multiple choice question.

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

[10] Fundamentals of C-Programming
Chapter: [10] Fundamentals of C-Programming
Concept: undefined >> undefined

Select the correct option from multiple choice question.

Which operator has the lowest priority?

[10] Fundamentals of C-Programming
Chapter: [10] Fundamentals of C-Programming
Concept: undefined >> undefined

Explain any four standard library functions from sting.h ? 

[10] Fundamentals of C-Programming
Chapter: [10] Fundamentals of C-Programming
Concept: undefined >> undefined

State True or False with reason.

A function can have any number of return statements.

[10] Fundamentals of C-Programming
Chapter: [10] Fundamentals of C-Programming
Concept: undefined >> undefined

State True or False with reason.

Comments in the program make debugging of the program easier. 

[10] Fundamentals of C-Programming
Chapter: [10] Fundamentals of C-Programming
Concept: undefined >> undefined

Write a menu driven program to perform arithmetic operations on two integers. The menu should be repeated until user selects “STOP” option. Program should have independent user defined functions for each case.

[10] Fundamentals of C-Programming
Chapter: [10] Fundamentals of C-Programming
Concept: undefined >> undefined

Enlist bitwise operator in c language. Explain any 2 with examples.

[10] Fundamentals of C-Programming
Chapter: [10] Fundamentals of C-Programming
Concept: undefined >> undefined

What is recursion? Write a program to find xy using recursion. 

[12] Functions and Parameter
Chapter: [12] Functions and Parameter
Concept: undefined >> undefined

What is an error ? Explain different types of errors occurred in program. 

[10] Fundamentals of C-Programming
Chapter: [10] Fundamentals of C-Programming
Concept: undefined >> undefined

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

[10] Fundamentals of C-Programming
Chapter: [10] Fundamentals of C-Programming
Concept: undefined >> undefined

What are advantages and disadvantages of recursion? Comment on conditions to be considered while writing a recursive function. Write a program to print Fibonacci series up to N terms using a recursive function.

[12] Functions and Parameter
Chapter: [12] Functions and Parameter
Concept: undefined >> undefined
< prev  61 to 80 of 88  next > 
Advertisements
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×