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

ASSIGNMENT_Introduction to C programming

This document is an assignment outline for the Introduction to C Programming course at SJCIT for the academic year 2023-24. It includes questions from five modules covering various topics such as computer definitions, input/output functions, control structures, functions, and pointers. The assignment aims to assess students' understanding and application of C programming concepts through a variety of question types aligned with Bloom's learning levels.

Uploaded by

Deepak B L
Copyright
© © All Rights Reserved
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

ASSIGNMENT_Introduction to C programming

This document is an assignment outline for the Introduction to C Programming course at SJCIT for the academic year 2023-24. It includes questions from five modules covering various topics such as computer definitions, input/output functions, control structures, functions, and pointers. The assignment aims to assess students' understanding and application of C programming concepts through a variety of question types aligned with Bloom's learning levels.

Uploaded by

Deepak B L
Copyright
© © All Rights Reserved
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 4

SJCIT Assignment

Estd: 1986

Department of Information Science and Engineering


ASSIGNMENT

SUBJECT TITLE Introduction to C programming


SUBJECT TYPE Engineering Science Courses-1
SUBJECT CODE BESCK104E
ACADEMIC YEAR 2023-24 (odd semester) BATCH 2023-2026
SCHEME 2022 scheme
SEMESTER 2nd sem,ECE B section
FACULTY NAME and
DESIGNATION
Deepak B L, Assistant Professor

Module -1

Q. Questio Bloom COs


No. ns ’s LL
Define computer. Describe the various types of computers based on speed, L2
1 CO1
memory and cost.
2 Describe any three input devices. L2 CO1
3 L2
List out various output devices and explain hardcopy devices CO1
4 Explain Generations of computer. L2 CO1

5 Discuss the role of formatted input/output functions in C programming. L2 CO2

6 Explain basic organization of computer using a neat block diagram. L2 CO1


How does the central processing unit (CPU) interpret and execute L3
7
machine code instructions?
Implement a C program to declare and initialize variables of different data
8 types. Demonstrate the use of integer, floating-point, and character L3 CO2
variables.
8 Differentiate between mouse and track ball. L4
CO1
Define variable? List out the rules to construct variable? Classify the
9 following as valid/invalid Identifiers. i) num2 ii) $num1 iii) +add iv) a_2 L2
CO2
v) 199_space vi) _apple vii)#12
How can you organize the structure of a C program to enhance L4
10 readability and maintainability? With an example program. CO2

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

Q. Questions Bloo COs


No. ms
LL
1 Define an operator? Explain the categories of Operators L2 CO2
2 Explain logical and conditional operators with an example programs. L2
CO2
3 Write a C program to interpret the equality of three numbers L3 CO2
4 L2
Explain for-loop with syntax, flow chart and an example program.
CO2
5 Implement a C program to check whether the given number is zero, L3
positive or negative. CO2
6 Compare and contrast the if-else statement with the switch statement in C.
Highlight situations where one is more suitable than the other and provide L4
CO2
examples.
7 L1
List out the difference between break and continue. CO2
8 Differentiate between the “for loop” and the “while loop” in C. Discuss the
key features and scenarios where one loop structure is preferred over the L4
CO2
other.
9 Implement a C program to check whether the person is eligible for voting
or not, based on the age condition i.e. age should be greater than 18 to cast L3
CO2
the vote.
10 L2
Explain arithmetic and relational operators with an example programs. CO2

Module -3

Q. Question’s Bloom’s COs


No. LL
1 Define function. List out the advantages of using functions in C program.
Write syntax for declaring a function, defining a function and calling a L3 CO3
function with an example program implementing the same.
2 Write a C program to implement simple calculator using the concept of L3 CO3
functions.
3 Explain call by value with an example program. L2 CO3
4 Explain call by reference with an example program. L2 CO3
5 Write a C program to find the factorial of a number using functions. L3 CO3
6 Write a C program to implement binary search. L3 CO3
7 Differentiate between function declarations and function definitions in C. CO3
Explain when each is necessary and how they contribute to the overall L4
program structure.
8 Write a C program to implement bubble sort. L3 CO3

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

You might also like