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

Assignment 4

The document outlines an assignment for the C Programming I course at the East West Institute of Technology. It includes seven questions covering looping statements, syntax examples, matrix multiplication, digit summation, and array declarations. The assignment is to be submitted by January 30, 2025, and is worth a total of 10 marks.

Uploaded by

kuna.padmaja
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views

Assignment 4

The document outlines an assignment for the C Programming I course at the East West Institute of Technology. It includes seven questions covering looping statements, syntax examples, matrix multiplication, digit summation, and array declarations. The assignment is to be submitted by January 30, 2025, and is worth a total of 10 marks.

Uploaded by

kuna.padmaja
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

EAST WEST INSTITUTE OF TECHNOOGY

(An Autonomous Institute under VTU)


Assignment– IV
Dept. of ISE/AD AcademicYear:2024–25/ODD
Course Code:
Course Title:C Programming I with Linux Sem: I, Sec IS1,IS2,AD
APCS105
Module: 4 Date: 24/01/2025 Date of submission:30th Jan 2025
Name of the Course Instructor:K.Padmaja Max Marks: 10
Instructions:Write your answers neatly and legibly.Answer to the point.

Q.
Assignment Questions Marks* RBT CO
No.
1 Describe the three types of looping statements in C(for,while, 6 2 4
do-while) along with their syntax and examples.

2 Explain the syntax of the for statement with an example and write 6 2 4
a C program to calculate the factorial of a number n using the for
loop.

3 Write a C program to find the product of two matrices. 6 3 4

4 Write a C program to calculate the sum of the digits of a given 6 3 4


number using a do-while loop.

5 Explain the usage of break and continue statements in C with 6 2 4


syntax and examples.

6 How are 1D and 2D arrays declared and initialized in C?Explain 6 2 4


with examples.

7 Explain how one-dimensional and two-dimensional arrays are 6 2 4


represented in memory in C, with an example.

*This is the actual marks for the question that appears in your InternalAssessment/SEE.This
will prepare you for your SEE.

Course Instructor​ HOD

You might also like