ASSIGNMENT_Introduction to C programming
ASSIGNMENT_Introduction to C programming
Estd: 1986
Module -1
11 With a neat sketch a neat diagram to explain about cathode ray tube. L3
Co1
Page | 1
SJCIT Assignment
Define Identifiers and explain its rules. State whether the following
12 identifiers are valid or invalid with justification. i. $roll no ii. L2
CO2
_name123 iii. If iv. Name_ _123
Module -2
Module -3
Page | 2
SJCIT Assignment
9 Differentiate between a one-dimensional array and a two-dimensional array CO3
in C. Explain how each type is declared, initialized, and accessed, and L4
provide examples to illustrate the differences.
10 Write a C program to implement matrix multiplication using the concept of CO3
L3
arrays.
Module -4
Bloom’s
Q. No. Questions COs
LL
1 Explain the following in-built functions with an example program for
each:
a) strcat()
b) strncat()
c) strchr()
d) strrchr() L2 CO4
e) strcmp()
f) strncmp()
g) strcpy()
h) strncpy()
i) strstr()
2 Explain how to declare and initialize arrays of strings with an example
L2 CO4
program.
3 Write C function to implement string operations such as compare, concatenate L3 CO4
and find string length. Use the parameter passing technique.
4 Write a C program to convert entered string to the lowercase without L3 CO4
using tolower() function.
5 Write a C program to find the length of a string without using strlen() function. L3 CO4
6 Write a C program to find whether the entered character is upper case character L3 CO4
or lower case character.
7 Explain sscanf() function with an example program. L2 CO4
8 Explain the concept of scansets with an example program. L2 CO4
9 Explain briefly about strings in C? How to declare a string and initialize a L2 CO4
string with an example.
10 Explain concept of string reversing using an example program. L2 CO4
Page | 3
SJCIT Assignment
Module -5
Q. No. Bloom’s
Questions COs
LL
1 Discuss the general syntax of structure variable declaration of structure L2 CO5
to store book information.
2 Implement structures to read, write and compute average-marks of the L3 CO5
students, list the students scoring above and below the average marks for
a class of N students.
3 Write a C program to maintain a record of “n” students details using an L3 CO5
array of structures with four fields (roll no, name, marks, and grade).
Assume appropriate data type for each field. Print the names of the
students with marks >= 70.
4 Explain structure within a structure with an example. L2 CO5
5 Define a pointer. Explain how to declare and initialize pointer variable L1,L2 CO5
with an example program.
6 Explain the concept of pointer assignment with an example program. L2 CO5
7 Explain the concept of pointer to pointer with an example program L2 CO5
8 Explain the concept of Null Pointer with an example program. L2 CO5
9 Explain pointer arithmetic with an example program. L2 CO5
10 Explain how comparison operation can be performed with the help of L2 CO5
pointer variable
Note:
1. Questions shall be framed by consolidating comprehensively from the following sources
Exercise problems of text books/ references
Previous year question VTU exam Question paper. (Mark the year/exam beside the question)
Questions by Experts during Interview/Academic Audit
Internet sources/ other Universities examination question papers.
Own / experience.
2. Questions shall follow all the Bloom’s learning levels with appropriate
action verbs
3. There shall be a total of 25 questions considering 5 questions from each
module, of which, 3 questions at L3, 2 questions each at L4/L5.
4. Ensure the coverage of all COs
5. Rubrics to be specified for all assignment questions.
Page | 4