You are on page 1of 1

CAP 172

Programming Methodologies
Online Assignment -1
SECTION: D2102 (M.M = 30)

Submission Date: 29/09/2021

Instructions:
(i) Attempting a wrong set will earn zero marks
(ii) Use of unfair means will result in award of zero marks (i.e. copying the content from the
internet source.)
(iii) Submission is online through UMS only and the assignment must be handwritten.
(iv) Attempting of all questions is compulsory

Set – A (FOR EVEN ROLL NOS.)

1. What are the different data types in C? Consider your Aadhar Card and identify different data types
included in your Aadhar card. [10]
2. Write an algorithm and draw a flowchart to check your roll no is divisible by 14 or not. [5]

3. Write a program in C to find largest of three numbers without using conditional operator. [10]

4. Differentiate between a flowchart and an algorithm. [5]

Set – B (FOR ODD ROLL NOS.)

1. What are the different data types in C? Take your mark sheet of 12th Class and identify different
data types included in the mark sheet. [10]

2. Differentiate between low-level and high-level programming languages with suitable examples. [5]

3. Discuss the different programming methodologies using suitable examples. [5]

4. What are the different characteristics of an algorithm? Write an algorithm to calculate simple
interest and compound interest. [10]

You might also like