Ad
Saturday, July 29, 2023
C-Programming Chapter WisePrevious Year Questions
Chapter 1: Problem Solving Aspects
(f) State the properties of Algorithm. [1] [oct 2017]
(a) Define Algorithm.
(a) Define flowchart.
(c) Define flowchart.
(i) Differentiate between algorithm and flowchart. [5 mark]
(d) Differentiate between compiler and interpreter.
(a) What is a compiler ?
(c) State the difference between compiler and interpreter.
(i) Write algorithm and draw flowchart for calculating maximum
of two numbers.'
of two numbers.'
a) Write algorithm and draw flowchart to find out factorial of a number.
Chapter 2: 'C' Fundamentals
(i) Explain ‘C’ program development life cycle.
(a) Is ‘C’ language high level language ? True/False.
a) What is machine language?
(b) ‘C’ is middle level language. Comment.
(d) Who developed ‘C’ language ?
(a) State one advantage of assembly language.
(b) Which is ‘C’ language called middle level ?
(c) Who developed C language ?
(d) What is a token ?
(a) Write a note of basic structure of ‘C’ program.
b) Explain the structure of C program.
(e) Give the difference between bitwise AND and logical AND. [1] [oct 2017]
(d) Give the syntax for ternary operator.
(e) Explain increment and decrement operators with example.
a) Explain different types of operators available in C.
(b) Explain ones complement operator with example.
(d) Write the use of size of operator.
(h) What is the use of · operator ?
(g) What is the use of comment operator ?
b) Define operator.
b) Define operator.
(j) What is the meaning of & and * operators in pointer ?
(d) Give the syntax for the ternary operator. [1 mark] [October 2017]
(v) Explain with example :
(a) Relational operators
(b) Logical operators
(c) Increment operators.
(a) Relational operators
(b) Logical operators
(c) Increment operators.
(v) Explain the following with an example:
-(a) Assignment operator
-(b) Conditional operator
-(c) Comma operator
-(d) Typecast operator
-(e) Size of operator
[5 marks] [October 2017]
(e) Explain conditional operator ?(e) Explain conditional operator ?
(a) Explain conditional operator.
(c) Explain bitwise operators in ‘C’ with examples.
(g) What are the types of scope of a variable ?
(e) Define scope of a variable.
(f) What is the scope of a variable ?
(iii) Explain with example :
(a) Global variable
(b) Local variable.
(a) Global variable
(b) Local variable.
(g) What is the use of comment operator ?
(i) Write a short note on “User defined data types in C’.
(h) List the different data types.
(c) State different data types.
(a) Explain the basic data types in ‘C’.
(c) What is an identifier ? Give the rules of identifier.
(g) -XYZ is a valid ‘C’ identifier : Comment.
(i) List the different Backslash character constants.
Chapter 3: Control Structures
(iv) Differentiate between ‘while’ loop and ‘do while’ loop ? [5 mark]
(e) Explain nested for loop.
(a) Explain for loop with example.
a) Explain for loop with suitable example.
(c) What do you mean by exit control loop.
(ii) Write a note on the switch statement. [5 marks] [October 2017]
(d) The default case in ‘switch’ statement must be at the end.
(a) Explain ‘switch-case’ statement with suitable example.
(a) Differentiate between if-else and switch statement.
(b) Explain the switch-case statement with suitable example.
(i) Explain ‘C’ program development life cycle. [5 marks] [October 2017](i) Explain ‘C’ program development life cycle. [5 marks] [October 2017]
(ii) Explain ‘break’ and ‘continue’ statement with an example.
(i) Break and continue
Q. Explain (ii) goto statement
(iii) Break statement(ii) Explain jump statement with example.
(iii) Explain ‘break’ and ‘continue’ statement with example.
(a) Differentiate between While and Do-while loops.
(b) Explain two methods of passing arguments to function with
example.
c) Give the use of rewind ( ) function.
(d) Give any two limitations of an array.
d) Give the difference between break and continue statement.
(iii) Explain ‘break’ and ‘continue’ statement with example.
(a) Differentiate between While and Do-while loops.
(iv) Differentiate between ‘while’ loop and ‘do-while’ loop.
Chapter 4: Functions
(b) Explain two methods of passing arguments to function with
example.
(c) What is function ? Explain its definition and declaration with
suitable example.
suitable example.
c) Give the use of rewind ( ) function.
e) What is formal parameter?
(iii) Explain recursion with an example.
(e) What is a recursive function ?
(e) What is a function ? Explain how it is declared and defined. Give example.
(i) Write short notes on the following with example :
(a) Call by value
(b) Call by reference.
(a) Call by value
(b) Call by reference.
(g) ‘A function can return multiple values’. Comment.
(i) Explain actual parameters and formal parameters.
Chapter 5: Array
(c) Explain row major and column major representation for arrays
with example.
with example.
(d) Explain array with its types. Give example.
f) While passing array to a function, address of first element of array is
passed. State true or false.
passed. State true or false.
(e) Define array.
c) Define array. Explain row major and column major order of matrix
representation.
representation.
(d) Give any two limitations of an array.
(d)Explain with example row and column major representation of two-dimensional array.
(d) Explain array with its types. Give an example. [5 marks] [October 2018]
Tags
# BCS
# C Programming
# FYBCS
About Abhishek Dhamdhere
Qna Library Is a Free Online Library of questions and answers where we want to provide all the solutions to problems that students are facing in their studies. Right now we are serving students from maharashtra state board by providing notes or exercise solutions for various academic subjects
FYBCS
Tags
BCS,
C Programming,
FYBCS
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment