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

bpops103-assignment-01

Uploaded by

Damini T K
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views

bpops103-assignment-01

Uploaded by

Damini T K
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Bapuji Educational Association (Regd.

)
Bapuji Institute of Engineering and Technology, Davangere
Department of Computer Science and Engineering
Subject: Principles of Programming using C Sem/sec: 1st / ’A’
Sub Code: BPOPS103
ASSIGNMENT-1 (Module-1,2,3)

Q. Questions CO PO
No.
1. Explain the basic structure of C program and explain the significance of each CO1 PO2
section.
2. What is an identifier? What are rules to construct identifier? Classify CO1 PO1
following as valid/invalid identifier.
num1, $num1, +add, a_2, for, 1st_paper_marks, avg_of-CPPS, volatile,
integer, I am
3. Explain syntax with examples of printf() and scanf() statements and mention CO1 PO1
how does a control string in a printf() function differ from the control stringin
a scanf() function?
4. What is flowchart? Construct a flowchart and write algorithm and CO1 PO2
program to compute simple &compound interest.

5. Explain the two way selection statements ( if-else, nested if-else, cascaded if CO1 PO2
else) in C language with syntax, flowchart and example.
6. What is array? Explain the declaration and initialization of 2-D array with an CO2 PO6
example.
7. Distinguish between built-in function and user defined function, give some CO1 PO4
example.
8. List arithmetic, logical, relational & assignment operators of C with examples CO1 PO4
9. Define data type. Explain primitive data types supported by C language with CO1 PO1
example.
10. Write a C program to implement commercial calculator using switch CO3 PO1
statement.

Course Coordinator:
Dr. Santosh K C

You might also like