0% found this document useful (0 votes)
28 views

Assignment-2 Algorithmic Thinking and Problem Solving Using C

This document provides instructions for a programming assignment for an Algorithmic Thinking course. It lists 5 questions related to logical operators, conditional statements, loops, and switch statements in C programming. Students are asked to discuss relational and logical operators, list conditional statements and explain two with examples, write programs to find factorials using do-while loops and perform arithmetic operations using switch statements, and explain the different loop types in C. The assignment is worth 10 marks and covers several course outcomes.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
28 views

Assignment-2 Algorithmic Thinking and Problem Solving Using C

This document provides instructions for a programming assignment for an Algorithmic Thinking course. It lists 5 questions related to logical operators, conditional statements, loops, and switch statements in C programming. Students are asked to discuss relational and logical operators, list conditional statements and explain two with examples, write programs to find factorials using do-while loops and perform arithmetic operations using switch statements, and explain the different loop types in C. The assignment is worth 10 marks and covers several course outcomes.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 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: 28-11- 2022
Mode of Submission : Hard Copy
Instructions:Answer all the questions.

S. No. Questions Marks* CO*


Q1 Discuss relational and logical operators. 2 2
List all conditional control statements used in C. Explain any two with syntax and example 2 2
Q2
Q3 Write a C program to find the factorial of a number using do-while loop. 2 3

Q4 Explain with syntax , the different loops used in ‘C’ program 2 3

Q5 Write a C program that reads from the user an arithmetic operator and two operands, 2 3
perform the corresponding arithmetic operation on the operands using switch statement.

You might also like