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

Program Name: B.

Tech Semester: First


Course Name: Algorithmic Thinking and Problem-Solving Using C
Course Code: 21BTCS101
Nos. of page(s): 01 Date of Assignment Submission: 12-10- 2022
Mode of Submission : Hard Copy
Instructions:Answer all the questions.

S. No. Questions Marks* CO*


Q1 Differentiate between algorithm and program. 2 1
Write an algorithm to input two number and find the greatest among them. 2 1
Q2
Q3 Define flowchart. Explain with an example. 2 1

Q4 Write the general structure of C. Explain with an example. 2 2

Q5 Write a C program to swap two variable’s using (i) third variable and (ii) without 2 2
using a third variable

You might also like