• Embed Doc
  • Readcast
  • Collections
  • CommentGo Back
Download
 
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--------------------------------------------------
 
Visit us at :http://mritsece.blogspot.com
---------------------------------------------------------------------------------------ECE-1ECE-DEPARTMENT FIRST SUBJECTIVE EXAM- C&DSANSWER ANY THREE FROM THE FOLLOWINGEACH QUESTION CARRIES EQUAL MARKSDATE- 12-07 TIME-10:00-11:30 MAXMARKS-302)a) Name and Describe basic data types?b) What are constants explain integer constants?2) a) Explain pass by value and pass by reference ?b) Write a program to find the factorial of a number usingRecursion.4)a) Write a program to find a reverse of a number and check whether the number is palindrome.b)
Write a program to convert decimal number to binary number.
4) Explain the followinga) Arithmetic operators b) Relational operatorsb) else if ladder d) while loop5) Do the followinga) i) Distinguish between actual arguments and formalarguments?ii) Write a program to display the consecutive numbers 0-9 withone digit on each line by using do while loop.b) Write a program to demonstrate local and global variables?Explain your program?
-------------------------------------------------END--------------------------------------------------
 
Visit us at :http://mritsece.blogspot.com
ECE-A IInd Internal Question Paper 1) Implement the followinga)Transpose of a matrix and test for symmetry b)Test for upper triangular matrix2) a) What is a structure? How it is declared? How it is initialized? Explain theAdvantages of structure type over the array type variable.b) Write a program to accept records of the different states using array of Structures. The structure should contain char state, population, literature rateand income display the state whose literacy rate is highest and whose incomeis highest.3) a) Demonstrate memory management functions.b) Write a program to open a preexisting file and add information at theend of file. Display the contents of the file before and after appending.4) a) Explain the way of defining, opening and closing a file. Also explain the differentmodes of operation. b) Write a program to read last ‘n’ characters of the file usingAppropriate file function5)Do the followinga) Write a program to demonstrate passing an array argument to a function. Consider the problem of finding the largest of N numbers defined in an array.(b) In what way array is different from an ordinary variable?(c) What conditions must be satisfied by the entire elements of any given Array?(d) What are subscripts? How are they written? What restrictions apply to the Valuesthat can be assigned to subscripts?(e) What advantages is there in defining an array size in terms of a symbolic constantrather than a fixed integer quantity
of 00

Leave a Comment

You must be to leave a comment.
Submit
Characters: ...
You must be to leave a comment.
Submit
Characters: ...