Visit us at :http://mritsece.blogspot.com
---------------------------------------------------------------------------------------ECE-2ECE-DEPARTMENT FIRST SUBJECTIVE EXAM- C&DSANSWER ANY THREE FROM THE FOLLOWINGEACH QUESTION CARRIES EQUAL MARKSDATE- 12-07 TIME-10:00-11:30 MAXMARKS-30
1)
a) Name and Describe basic data type qualifiers?b) Explain floating point constants and character constants?2) a) Explain the structure of a function?b) Write a program to find the GCD of two numbers usingRecursion.
3)
a) Write a program to check whether the entered number is Armstrongor not.b)
Write a program to convert binary number to decimal number.
4) Explain the followinga) Logical operators b) Bitwise operatorsb) Nested if statement d) do while loop5) Do the followinga) i) Distinguish between break and continue?ii) Write a program to display the consecutive numbers 0-9 withone digit on each line by using while loop.b) Write a program to demonstrate extern and static variables?Explain your program?
-------------------------------------------------END--------------------------------------------------
Leave a Comment