×
IT'S TIME TO WORK A LITTLE HARDER.
--Your friends at LectureNotes
Close

Previous Year Exam Questions for Problem Solving And Programming In C - PSPC of 2018 - BPUT by Bput Toppers

  • Problem Solving And Programming In C - PSPC
  • 2018
  • PYQ
  • Biju Patnaik University of Technology Rourkela Odisha - BPUT
  • Master of Computer Applications
  • MCA
  • 523 Views
  • 8 Offline Downloads
  • Uploaded 8 months ago
0 User(s)
Download PDFOrder Printed Copy

Share it with your friends

Leave your Comments

Text from page-1

Registration No : Total Number of Pages : 02 MCA MCA101 1st Semester Regular / Back Examination 2018-19 PROBLEM SOLVING AND PROGRAMMING USING C BRANCH : MCA Time : 3 Hours Max Marks : 100 Q.CODE : E683 Answer Question No.1 (Part-1) which is compulsory, any EIGHT from Part-II and any TWO from Part-III. The figures in the right hand margin indicate marks. Q1 a) b) c) d) e) f) g) h) i) j) Q2 a) b) c) d) e) f) g) h) i) j) k) l) Part- I Short Answer Type Questions (Answer All-10) What are the key features in C programming language? What are the modifiers available in C programming language? How can the conditional operator be combined with relational operator to form an ‘ifelse’ type statement? find the largest among three integers a,b,c. What is the difference between while and do-while statement? Explain the use of function toupper() with and example code? How the static variables are defined? What is its scope? Differentiate between structure and union. What is a pointer on a pointer in C programming language? Describe Wild Pointers in C? Distinguish between : i. int* ip[10] and int (*ip)[10] ii. int p(char *a) and int *p(char *a) Part- II Focused-Short Answer Type Questions- (Answer Any Eight out of Twelve) Write a program to find out the grade sheet of a student. How to jump to a particular program section with goto and label? [explain with example] If the 3 sides of a triangle are given, Write a program to check whether the triangle is isosceles, equilateral, scalene or right-angled triangle. Explain the ternary operator with syntax. Write a program to determine whether a year is leap year or not using conditional operator. What is an array? How array can be declared? What is the relationship between array name and pointer? Give an example. Write a program to multiply any two 3*3 matrices. Write a program to print out all Armstrong numbers between 1 and 500. Write a recursive function to obtain the first 25 numbers of a Fibonacci sequence. Write a program to arrange 10 numbers using bubble sort algorithm. check whether it is VOWEL or CONSONANT if entered character was an alphabet using switch case statement Write a program to find the size of a text file without traversing it character by character. How is program execution initiated when parameters are passed to a program through command line? (2 x 10) (6 x 8)

Text from page-2

Q3 Part-III Long Answer Type Questions (Answer Any Two out of Four) Write a program to obtain the determinant value of a 3*3 matrix. (16) Q4 How arguments are passing through function calls? Explain call by value and call by reference with example. (16) Q5 Create a structure to specify data on students given below: Roll Number, Name, Department, Course, Year of joining Assume that there are not more than 450 students in the college. a) Write a function to print names of all students who joined in a particular year. b) Write a function to print the data of a student whose roll number is given. (16) Q6 Write a program to append the contents of one file at the end of another. (16)

Lecture Notes