Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

SRI VENKATESWARA COLLEGE OF

ENGINEERING
(Autonomous)
Karakambadi Road, TIRUPATI – 517507

Question bank - 2 Marks Questions


Name of the subject PROBLEM SOLVING USING C

Subject
Subject Code CS20AES101
Year & Sem I Year & I Sem

Unit – 1
1 Define Algorithm and Flowchart
2 Mention different types of Datatypes
3 Define Variable
4 What is meant by Operator? Write syntax for Conditional Operator?
5 What is type casting? Where we need to use this?
Unit – 2
1 What is the difference between if and if-else conditional statements?
2 Write a program to calculate biggest of two numbers by using
Branching statement
3 Mention Switch syntax
4 What is the Difference between while and do-while
5 Explain difference between break and continue statement
Unit – 3
1 What is meant by array
2 What are the advantages of using functions
3 What is meant by recursive function and give one example
4 What is meant by Storage Classes? Mention their types?
5 How arguments are passing to a function?
Unit – 4
1 Define Pointers?
2 Write syntax for printing the array of values by using pointers
3 What are the different types of Dynamic memory Allocation?
4 Define String? Mention various types of string handling functions?
5 Define Preprocessor?
Unit – 5
1 Define structure
2 What is the difference between Array of structure and Array within
the structure?
3 Write short notes on Structure using functions?
4 What is the syntax to read the data from files?
5 Explain command line arguments?

Prepared by :
Name of the faculty A.Ganesh, A.Basi Reddy
Designation and Department Assistant Professor, Department of CSE,IT

Signature of the Faculty Signature of the HOD

You might also like