0% found this document useful (0 votes)
2K views21 pages

CSE Syllabus

Uploaded by

subhakarmaths
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2K views21 pages

CSE Syllabus

Uploaded by

subhakarmaths
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 21

Government of Karnataka

Department of Technical Education

C-24 Diploma Curriculum

Diploma in Computer Science & Engineering

First & Second semester


(Effect from the AY 2024-25)
Government of Karnataka
DEPARTMENT OF TECHNICAL EDUCATION
Curriculum Structure
I Semester Scheme of Studies- Diploma in Computer Science & Engineering
Hours per week CIE Theory SEE Practice SEE

Hours /week
Total Contact
Department
Teaching

Marks Marks Marks

Credits
Course Code Course Name Max Min Max Min Max Min Total
Sl. Marks
No. L T P

Courses

1 SC 24SC11I Engineering Mathematics-I


4 0 2 6 5 50 20 100 40 50 20 200
2 CS 24CS01P IT Skills 0 2 4 6 4 25 10 - - 100 40
125
3 EE 24EE01I Fundamentals of Electrical & 4 0 4 8 6 50 20 100 40 100 40
250
Electronics Engineering
4 CS 24CS11T Digital and Computer 4 0 0 4 4 25 10 100 40 - -
Fundamentals 125

Audit Course
5 CS/ 24CS12T Environmental Sustainability -
2 0 0 2 2 50 20 - - - 50
SC
6 Personality
NCC/NSS/YOGA/SPORTS… Students are expected to engage in any one of these activities from 1st semester to 6th semester (No Credits)
Development
Total
14 2 10 26 21 200 - 300 - 250 - 750
L: Lecture: T: Tutorial: P: Practice: SC-Science: ENG-English: EE-Electrical & Electronics Engineering: ME- Mechanical Engineering.
T-Theory(Whole Class)::P-Practical(Batch wise)::I-Integrated (Both theory & Practice-Batch wise)

Department of Technical Education, Government of Karnataka 2


Government of Karnataka
DEPARTMENT OF TECHNICAL EDUCATION
Curriculum Structure
II Semester Scheme of Studies- Diploma in Computer Science & Engineering

Total Contact
Hours /week
CIE Theory SEE Practice SEE
Department

Hours per week


Teaching

Marks Marks Marks

Credits
Total
Sl. Marks
No. Course Code Course Name Max Min Max Min Max Min
L T P

Courses

1 SC
24SC21I Engineering Mathematics-II 4 0 4 8 6 50 20 100 40 100 40 250
2 ME
24ME02P Computer Aided Engg. Graphics 0 2 4 6 4 25 10 - - 100 40 125
3 ENG Communication Skills in
24EG01I 2 2 4 8 6 50 20 100 40 100 40 250
English
4 CS 24CS21I
C Programming 4 0 4 8 6 50 20 100 40 100 40 250

Audit Course
5 CS -
24CS22T Indian Constitution 2 0 0 2 2 50 20 - - - 50
6 Personality
NCC/NSS/YOGA/SPORTS… Students are expected to engage in any one of these activities from 1st semester to 6th semester (No Credits)
Development
Total 12 4 16 32 24 225 - 300 - 400 - 925
L: Lecture: T: Tutorial: P: Practice: SC-Science: ENG-English: EE-Electrical & Electronics Engineering: ME- Mechanical Engineering.
T-Theory(Whole Class)::P-Practical(Batch wise)::I-Integrated (Both theory & Practice-Batch wise)

Department of Technical Education, Government of Karnataka 3


First Semester

Department Technical Education, Government of Karnataka 4


Government of Karnataka
DEPARTMENT OF TECHNICAL EDUCATION

Program Computer Science & Engg. Semester I


Course Name Digital and Computer Type of Course Theory
Fundamentals
Course Code 24CS11T Contact Hours 4 hours/week
(52 hours/semester)
Teaching Scheme L: T:P- 4:0:0 Credits 4
CIE Marks 25 SEE Marks 100

1. Rationale
Fundamentals of Computer is the foundational course that sets the base for computer
science engineering. Core knowledge of Number system and their conversion, Boolean
algebra, Logic circuits fundamentals, sets the basis for further study of computer
concepts. Understanding the functional units, peripherals and components of a computer
is vital. Exposure to the concept of flowchart and algorithm sets the tone for
programming.
2. Course Outcomes: At the end of the Course, the student will be able to:

CO-01 Differentiate number systems, Convert from one form to other and perform Binary
arithmetic operations
CO-02 Apply the Boolean algebraic laws to design simple Logic circuits
CO-03 Comprehend the Functional units of a computer and networking
CO-04 Gain insight on opportunities and challenges of emerging technologies

3. Course Content
WEEK CO PO Theory
(4 Hours per week)
1 1,2 Introduction to Number System:
Need of number systems, Characteristics of different Number System - Binary,
Octal, Decimal, Hexadecimal
1
Conversion from one number system to other (Integers only):
 Decimal to other number system and any other number system to decimal
 Binary to octal & hexadecimal & vice-versa (bit-wise grouping only)
Complements of number systems:
2 1 1,2
1’s and 2’s Complements of Binary number system with examples.
Department of Technical Education, Government of Karnataka 5
Arithmetic operations on binary numbers with examples (integers only)
Computer codes (concept only no conversion)
 BCD, Gray code, ASCII and Unicode
Basic Logic gates: Definition, Truth table, Logical symbol and expression of:
AND, OR, NOT, EX-OR, EX-NOR
3 2 1,2
Universal Gates: Definition, Realization of Basic Gates(AND, OR, NOT Using
NAND and NOR gates
Boolean algebra:
 Rules & Laws
DeMorgan’s Theorems:
4 2 1,3  1st and 2nd theorem with proof
Simplification:
 Boolean expressions using Boolean algebra and build the logic circuit
using Logic gates (with sufficient examples)
Combinational Circuits: Characteristics of Combinational circuit
Design: Half adder, Full adder and Half Subtractor (Block diagram, Truth table,
5 2 1,3
SOP and circuit diagram)
7 segment display (Block diagram and Truth table only)
Overview and applications of Multiplexer and De-Multiplexer
(using block diagram of n:1 MUX and 1:n DEMUX Only)
6 2 1,3
Overview and applications of Encoder and Decoder
(using block diagram of 2n:n Encoder and n:2n Decoder Only)
Sequential Circuits: Characteristics of sequential circuit
Flip flops: Definition, Types and Applications
7 2 1,3 Working of SR Flip flop and JK Flip flop (Features, logic symbol, Truth table)
Shift registers: Types and applications, SISO with Logic symbol and truth
table(only SISO)
Introduction to computers
 Definition and characteristics of Computer
 Evolution of computer (abstract only)
 Generation of computers
8 3 1,7
 Classification of computers
 Functional units of a computer (With Block Diagram)
 Applications

9 3 1,4 Components of computers

Department of Technical Education, Government of Karnataka 6


Hardware: Definition, only basic function of various Hardware devices
 Input devices
 Output devices
 Processing and other devices
(Lecturers are advised to show pictures of above devices including OCR,
Biometric devices, CPU, GPU etc so that students can identify them)
Software: Definition, Types
 System Software – Definition, Examples (Operating system, Language
Translators, Device drivers, Utility programs)
 Application Software - Definition and Examples
Basics of Programming
Definitions of Instruction, Program, Programming
Types of Programming Languages- Machine level, Assembly level and High level
10 3 1,4,7 language

Operating System: Definition, Services of an Operating System, Types


and features of different Operating System
Memory and types
 Main memory (RAM-SRAM, DRAM; ROM-PROM, EPROM, EEPROM,
EAROM)
11 3 1,4
 Auxiliary memory (HDD and SSD)
 Cache memory
 Memory Hierarchy
Computer Networks:
 Advantages
12 3 1,3,7
 Topologies – Bus, Ring, Star, Mesh topologies
 Features of LAN, WLAN, MAN, WAN, PAN
Emerging Technologies: Artificial Intelligence, Blockchain Technology,
13 4 1,7
Big-Data, Augmented Reality & Virtual Reality, IoT

Suggestions: 1. For better understanding, Course coordinators are advised to show

components/images/videos wherever necessary to students

2. For better imagination of Logical circuits, Course coordinators are advised to show

simulation

3. For better learning, Students may be assigned with activities/ assignments which would

arise the Learning interest

Department of Technical Education, Government of Karnataka 7


Reference Books and links:
1. Digital Fundamentals, 11th Edition by Pearson; Author, Thomas L. Floyd; Publisher, Pearson
Education India.
2. Introduction to Computer Science, 2e by Pearson; ITL Education Solutions Limited (Author)
Publisher, Pearson Education India.
3. Introduction to Computers by Peter Norton publisher McGraw Hill Education; 7th edition ISBN-
10 ‫‏‬: ‫‏‬9789387067028‫‏‬NSSN-‫‏‬33: ‫‏‬978-0070673203.
4. Problem solving & programming concepts, Maureen Sprankle and Jim Hubbard, 9 th Edition, Pearson
Education, ISBN-13: 978-0-13-249264-5
5. https://www.geeksforgeeks.org/number-system-and-base-conversions/
6. https://www.geeksforgeeks.org/1s-2s-complement-binary-number/
7. https://www.techtarget.com/searchstorage/definition/SSD-solid-state-drive
8. https://www.geeksforgeeks.org/boolean-algebra/
9. https://www.techtarget.com/searchsecurity/definition/cybersecurity

5. CIE and SEE Assessment Methodologies- (Theory)


Duration
Sl. Test Max
Assessment (minutes)
No Week marks
Average of all
1. CIE-1 Theory Test 4 1 Hr 25 CIE=25 Marks
2. CIE-2 Theory Test 8 1 Hr 25

3 CIE-3 Theory Test 12 1 Hr 25


Total Continuous Internal Evaluation (CIE) 25 Marks

Semester End Examination (SEE) -Theory 3 Hrs 100 100 marks

Total Marks 125 Marks

Minimum marks to pass in CIE & SEE is 40% individually

6. CIE Theory Test


Program Computer Science & Engg. Semester: I
Course Name Digital and Computer Fundamentals Test CIE
Course Code 24CS11T Duration 1 Hr Marks 25

Name of the Course Coordinator:


Note: Answer any one full question from each section. Each full question carries equal marks.
Cognitive Course
Q. No Questions Marks
Level Outcome

Section - 1
a) Define Number system. R 2
b) Explain Binary & Decimal number systems U 4
1
1 with example.
A
c) Convert the following: 4
Department of Technical Education, Government of Karnataka 8
a) 1110010(2) to octal b) 275(8)to decimal

a) List the different types of Computer codes. R 2


b) Explain Octal & Hexadecimal number system U 4
with example.
2 1
c) (i) Find 111000101(2) to 1’s complement. A 4
(ii) Find 110011(2) to 2’s complement.

Section - 2

a) List any 5 laws of Boolean algebra. R 5


b) Explain basic gates with logic symbol & U 5
3 Truth table. 2
c) Construct OR gate using NAND & NOR gate A 5

a) Write the rules of Boolean Algebra. R 5


b) Explain Demorgan’s Theorems. U 5
4 2
c) Simplify the expression: (i) ABD+ABCD A 5

Note for the Course coordinator: Each question may have one, two or three subdivisions. Optional questions in each
section carry the same weightage of marks, cognitive level and course outcomes.

Signature of the Course Coordinator Signature of the HOD Signature of the IQAC Chairman

10. SEE –Model Theory Question Paper

Program Computer Science & Engg. Semester I


Course Name Digital and Computer Fundamentals Marks 100
Course Code 24CS11T Duration 3 Hrs
Note: Answer any one full question from each section. Each full question carries equal marks.
Cogniti Course
Q No Questions Marks
ve Out comes
Levels

Section -1

a) What is Number system. Explain the different U 10


types of Number systems with examples.
b) Convert the following: i) 11001(2) to Decimal A 5
1
1 ii) 145(8) to Decimal
c) i)Find 1’s complement of 1100101012 U 5
ii) Find 2’s complement of 10101102

Department of Technical Education, Government of Karnataka 9


a) Explain the following terms: U 10
i) BCD ii) ASCII iii) Grey Code iv) Unicode
A 5
2
b) Realize AND & OR gates using NOR gate 1
c) Perform following operation:
i) 1010(2)+1101(2) ii) 0010(2)+1110(2) U 5
Section -2

a) Define Logic gate. Write truth table and logic R 5


symbol for NAND and NOR gate

b) Simplify the Boolean Expression A 2 5


3

c) Construct Half Subtractor circuit with logic A 10


diagram and truth table
a) State De-Morgan’s first theorem with neat R 5
diagram and truth table
b) Realize NOR gates using NAND gate A 5
4 2

c) Construct Full adder circuit with logic diagram A 10


and truth table
Section -3

a) Draw 2:1 multiplexer with neat logic circuit A 2 5


diagram and truth table
b) Describe the working of SR flip flop with A 2 10
5 diagram.
c) Explain in brief any 5 applications of U 3 5
Computers
a) Draw 1:4 de-multiplexer with logic circuit and A 2 5
truth table
b) Construct 4 bit SISO with neat diagram and A 2 10
6 truth table
c) Explain classifications of Computers based on U 3 5
size.
Section -4

a) Compare various types of programming A 3 5


languages
7 b) Write a note on Generation of Computers U 3 5
c) Explain any 5 services of an Operating system U 3 10
a) Compare application software with system A 3 5
software
b) Explain the characteristics of computers U 3 5
8
c) Explain the functional unit of a computer with a U 3 10
neat diagram

Department of Technical Education, Government of Karnataka 10


Section -5

a) Compare WAN with PAN U 3 5


b) Write a note on: U 4 10
9 i)Artificial Intelligence ii)Big Data
c) List and define different types of ROM R 3 5
a) Explain any 2 network topologies with diagram U 3 5
b) Write a note on:
10 i)Block-chain Technology ii)IoT U 4 10
c) List and define different types of memory. R 3 5

Department of Technical Education, Government of Karnataka 11


Second Semester

Department of Technical Education, Government of Karnataka 12


Government of Karnataka
DEPARTMENT OF TECHNICAL EDUCATION

Program Computer Science & Semester II


Engineering
Course Name C Programming Type of Course Integrated
8 hours/week
Course Code 24CS21I Contact Hours (104 hours/semester)
Teaching Scheme L: T:P- 4:0:4 Credits 6
CIE Marks 50 SEE Marks 200

1. Rationale

C is a core language in computer science because it gives programmers a deep understanding of


computers. C code is efficient due to its direct translation to machine code. This efficiency is crucial for
tasks like building operating systems. C's portability allows it to run on many machines. By learning C,
you learn essential programming concepts.

2. Course Outcomes: At the end of the Course, the student will be able to:

CO-01 Apply problem-solving skills using C programming constructs.

CO-02 Identify and use the syntax rules for constructing programmatic solutions in C.
Demonstrate the use of modular programming techniques to optimize code efficiency and
CO-03
maintainability.
CO-04 Test and troubleshoot programs to identify and resolve errors effectively.

3. Course Content

WEEK CO PO Theory Practice


( 4 Hours per week) (4 Hours per week)

1. Install and configure any C-


Compiler. List the steps to
create & run a C program
Introduction to C: Computing Devices, on it.
How Computer Stores Data, How Program
2. Write and execute a C
Works (R2, Chapter 1) Introduction to 'C'
1 1,2 1,2 program to display Student
Language: features; applications of C; IDE;
details like Name, USN,
Compiler; C Program Structure, Execution of
C programs, debugging C code; (R1) College, Branch, and
Hobbies
3. Write and execute a C
program to add display

Department of Technical Education, Government of Karnataka 13


sum, difference, product,
and the ratio of two
numbers.
1. Write and execute a C
program to input 2
Data Types & Input/Output: Character set, numbers from the user
Variables and Identifiers, Built-in Data perform basic arithmetic
Types, Variable Definition, Declaration, C operations, and display the
2 1,2 1,2 Key Words-Rules & Guidelines for Naming result.
Variables. Constants and Literals. Basic
input/output statement (printf() and scanf()). 2. Write and execute a C
program to demonstrate a
(R1)
formatted output
statement.
1. Write and execute a C
program to calculate the
Operators and Expressions: Operators and Area and Circumference of
Arithmetic, Conditions, Relational a circle.
3 1,2 1,2 Operators, Logical Operators. Expressions, 2. Write and execute a C
Precedence, and Order of Evaluation. Simple program to find the
assignment statement, (R1) Largest and Smallest of 2
numbers using the
conditional operator.
1. Write and execute a C
program to find the largest
of 3 numbers using if-else
statements
2. Write and execute a C
Decision Structure and Boolean Logic: if
program to input the
4 1,2,4 1,2,3,4 statement, if-else statement, nested if-else, if-
Marks of a student and
else ladder, Switch, Break, Continue (R1)
display the Grade obtained.
3. Write and execute a C
program that acts as a
simple calculator using a
switch statement
1. Write and execute a C
program to find sum and
reverse of given number
using while loop.
Repetition Structure: Looping statements – 2. Write and execute a C
5 1,2,4 1,2,3,4 while, do-while, for and nested for loop. program to find given
Goto and Labels (R1) number is prime or not
using for loop.
3. Write and execute a C
program to find a sum of n
natural numbers.
1. Write and execute a C
Arrays: What is an Array? Declaring an program to search given
Array, Initializing an Array. One element using Linear
dimensional array: Array manipulation; search.
6 1,2,4 1,2,3,4
Finding the largest/smallest element in array;
2. Write and execute a C
Searching & Sorting of element from an
array. (R1) program to sort using
bubble sort.

Department of Technical Education, Government of Karnataka 14


1. Write and execute a C
Multidimensional Arrays: Declaring & program for addition of
Initialization of Two-dimensional arrays, two matrices.
7 1,2,4 1,2,3,4
Addition of two matrices, Transpose of a 2. Write and execute a C
square matrix (R1) program for Transpose of a
square matrix
Strings - Introduction, Declaring & 1. Write and execute a C
Initializing string variables, Reading & program to demonstrate
writing strings from variables, Arithmetic String handling functions.
8 1,2,4 1,2,3,4 operations & characters, Putting strings 2. WAP to check whether the
together, Comparison of two strings, String given string is palindrome
handling functions. Null terminated strings or not
as array of characters. (R1)
1. Write and execute a C
program to find the GCD of
two numbers using a
Functions: Definition of Function, External function.
9 1,2,3,4 1,2,3,4 Variables, Scope Rules, Header Files, Static
2. Write and execute a C
Variables, Register Variables, (R3)
program to demonstrate
external, static, and
register variables.
1. Write and execute a C
program to demonstrate
Functions: Standard Library of C functions, call by value.
function prototype, Formal parameter list,
2. Write and execute a C
10 1,2,3,4 1,2,3,4 Return Type, Function call, Block structure.
program to pass an array
Passing arguments to a Function: call by
to a function and return
value. (R1)
the sum of all array
elements.
1. Write and execute a C
program to read and print
Structures: Basic of Structures, Structures Employee details using
variables, initialization, structure assignment, Structure.
11 1,2,3,4 1,2,3,4
nested structure, structures and arrays: arrays
2. Write and execute a C
of structures, Union. (R1)
program to declare, and
initialize an UNION.
1. Write and execute a C
program to demonstrate
#define function.
Pre-processors - Introduction, Macro 2. Write and execute a C
12 1,2,3,4 1,2,3,4 substitution, File inclusion. Includes directives
program to demonstrate
like #include, #define (R1)
parameterized Macro
substitution

1. Write a program to read a


file and display contents
File Input/Output: File Operations, opening a from the file.
13 1,2,3,4 1,2,3,4 File, File Opening Modes, reading from a File,
writing to a File, Closing the File. (R1) 2. Write a program to add the
contents at the end of the
file.
(Note: References books are indicated at the end of weekly content in brackets as R1,R2 etc)
7. References:
Department of Technical Education, Government of Karnataka 15
1. Programming with ANSI-C, E. Bala Guruswamy, Sixth Edition, Tata McGraw Hill
2. Starting Out with Programming Logic & Design, Tony Gaddis, 5 th Edition, Pearson Education,
ISBN 13: 978-0-13-480115-5
3. The C Programming Language, Brian W. Kernighan Dennis M. Ritchie 2nd Edition
4. Basics Programming Principles, CM Pretorius and HG Erasmus, 2 nd Edition, Pearson Education,
ISBN: 9781775786030.
5. Problem solving & programming concepts, Maureen Sprankle and Jim Hubbard, 9 th Edition,
Pearson Education, ISBN-13: 978-0-13-249264-5
6. Computer Programming: Theory and Practicals, Dr. Satyendra Singh Chouhan, AICTE, ISBN:
978-81-960576-2-6

8. CIE and SEE Assessment Methodologies

Sl. Test Duration Max


No Assessment Week (minutes) marks
1. CIE-1 Theory Test 4 90 50

2. CIE-2 Practice Test 7 180 50 Average of all


CIE=50 Marks
3 CIE-3 Theory Test 10 90 50

4. CIE-4 Practice Test 13 180 50

CIE-5 Portfolio evaluation of 1-13


5 activities through rubrics done 50
after each CIE
Total Continuous Internal Evaluation (CIE) 50 Marks

Semester End Examination (SEE) -Theory 180 100 100 marks

Semester End Examination (SEE)-Practice 180 100 100 Marks

Total Marks 250 Marks

Minimum marks to pass in CIE & SEE is 40% individually

9. CIE Theory Test

Program
Computer Science & Engineering Semester II
Course Name
C Programming Test I
Course Code 24CS21I Duration 90 min Marks 50

Name of the Course Coordinator:


Note: Answer any one full question from each section. Each full question carries equal marks.
Cognitive Course
Q. No Questions Marks
Level Outcome

Section - 1

R
a) What is a token? Give an example for each type of token. 2 7
1

Department of Technical Education, Government of Karnataka 16


b) Explain the basic structure of the C program. U 2 8

c) Write a C program to find the sum and average of three


A 1,2 10
numbers
a) What is a variable? Write the rules and guidelines for R
2 6
naming variables.

2 b) Explain the Execution of the C program U 2 9

c) Write a C program to find the area and circumference of a


A 1,2 10
circle
Section - 2

a) Define an operator. List the different types of Relational


R 2 7
operators.
b) Explain Precedence and Order of Evaluation for
3 U 2 8
Expression.
c) Write and execute a C program to find the Largest and
A 1,2 10
Smallest of 2 numbers using the conditional operator.
a) Define the following i. break. ii. Conditional statement iii.
R 2 6
continue.
b) Explain the if-else statement with syntax, flowchart, and
4 U 2 9
an Example
c) Write and execute a C program that acts as a simple
A 1,2 10
calculator using a switch statement
Note for the Course coordinator: Each question may have one, two or three subdivisions. Optional questions in each
section carry the same weightage of marks, cognitive level and course outcomes.

Signature of the Course Coordinator Signature of the HOD Signature of the IQAC Chairman

7. CIE Practice Test

Program Computer Science & Engineering Semester II


Course Name C Programming Test IV
Course Code 24CS21I Duration 180 min Marks 50
Name of the Course Coordinator:
Questions CO Marks
1. Write and execute a C program for Transpose of a square matrix
2. Write and execute a C program to demonstrate call by value.
3. Write and execute a C program to declare, and initialize an UNION.
4. Write and execute a C program to demonstrate parameterized Macro 1,2,3,4 50
substitution
5. Write a program to add the contents at the end of the file.

Scheme of assessment
a) Write a program 20
b) Execution and Demonstration 20
c) Portfolio Evaluation 10
Total Marks 50
Department of Technical Education, Government of Karnataka 17
Signature of the Course Coordinator Signature of the HOD
8. Suggestive Activities: Each student has to do a minimum 4 Activities

The List is only shared as an Example and not inclusive of all possible activities of the course. Student and
Faculty are encouraged to choose activities that are relevant to the topic and on the availability of such
resources at their institution.

Sl. No. Suggestive Activities for Tutorials

Simple Calculator: Write a program that performs basic arithmetic operations


(addition, subtraction, multiplication, division). The program should ask the user to
01 enter two numbers and an operator (+, -, *, /), and then perform the operation on the
two numbers.
Fibonacci Series Generator: Write a program that generates the Fibonacci series up to
02 a certain number. The program should ask the user for a number and then generate the
Fibonacci series using a loop.
Library Management System: This project can involve creating a system to add,
03 update, read, and delete books. It can also include user management where users can
issue and return books.
Array Operations: Write a C program to find the maximum and minimum elements in
04
an array.
Text File Copier: Write a program that copies the contents of one text file to another.
05 The program should ask the user for the names of the source and destination files
String Reversal: Develop a C program to reverse a given string.
06

07 Matrix Multiplication: Create a C program to multiply two matrices

08 Binary Search: Write a C program to implement binary search on a sorted array.

9. Rubrics for Assessment of Activity (Qualitative Assessment)

Sl. Dimension Beginner Intermediate Good Advanced Expert Students


No. Score
2 4 6 8 10

1 Descriptor Descriptor Descriptor Descriptor Descriptor 8

2 Descriptor Descriptor Descriptor Descriptor Descriptor 6

3 Descriptor Descriptor Descriptor Descriptor Descriptor 2

4 Descriptor Descriptor Descriptor Descriptor Descriptor 2

Average Marks= (8+6+2+2)/4=4.5 5

Note: Dimension and Descriptor shall be defined by the respective course coordinator as per the activities

Department of Technical Education, Government of Karnataka 18


10. SEE –Model Theory Question Paper

Program Computer Science & Engg. Semester II


Course Name C Programming Marks 100
Course Code 24CS21I Duration 3 Hrs
Note: Answer any one full question from each section. Each full question carries equal marks.
Cognitive Course
Q No Questions Marks
Levels Out comes
Section -1
a) List the important features of C language. 5
R
b) Explain printf() statement with an example. 2 5
U
1 c) Explain different logical operators with examples. 10
U
a) Define the following terms. Give one example each.
i. Constant. ii. Keyword. iii. Relational Expression. iv.
R 4
Assignment statement 2
2 U 8
b) Differentiate between input and output functions in C.
U 8
c) Explain the basic structure of C program.

Section -2
a) Write the general syntax of if & if-else statements. R 4
2
3 b) Differentiate between break and continue statements. U 8
c) Explain nested for loop with the general syntax. U 8
a) Mention the different types of looping statements.
b) Explain entry controlled and exit controlled loop with an R 3
2
4 example. U 10
c) Give the general syntax and an example of do.....while loop U 7
statement. Why it is called as "exit-controlled" loop?
Section -3
a) What is an array? Explain with example how to declare
and initialize a single dimension array?
U 10
5 b) Write a program to search a given key in the array of
A 1,2 10
elements.

a) Define string. How to Declare & Initialize string variables


with an example. U 10
6 b) Write a program to transpose the given matrix. A 1,2 10

Section -4
a) List the difference between actual parameters and formal
Parameters.
U 5
b) Explain the scope and lifetime of a variable in a function. 1,2,3
7 U 5
c) Write a user-defined function great() that computes the
A 10
greatest of two numbers and returns the largest number to
function main().
a) Define function. Explain different types of functions.
b) Define a structure. Explain with an example, the general U 6
8 syntax of a structure. U 1,2,3 6
c) Write a program to find the GCD of a given number using a A 8
function.

Department of Technical Education, Government of Karnataka 19


Section -5
a) Write a note on the following:
a. Pre-processor directive U 10
9 1,2,3
b. Macro substitution. A 10
b) Write a program to find the area of a circle using macros
a) Define file. Explain file operations with examples.
b) Write a program to copy the content of one file to U 10
10 1,2,3
another file. A 10

11. Practical SEE - Model Practice Question Paper

Program Computer Science & Engg. Semester-II

Course Name C Programming Course Code: 20CS21I Duration 3 Hrs

CO Marks
Questions
PART A (week 1-6)
1. Write and execute a C program to calculate the Area and
Circumference of a circle.
2. Write and execute a C program to input the Marks of a student and
display the Grade obtained.
3. Write and execute a C program to find the sum and reverse of a given
number using a while loop.
4. Write and execute a C program to find a sum of n natural numbers.
1,2,3,4 100
PART B (week 7-13)
5. Write and execute a C program for addition of two matrices.
6. Write and execute a C program to find the GCD of two numbers using
a function.
7. Write and execute a C program to read and print Employee details
using Structure.
8. Write a program to read a file and display contents from the file.

Scheme of assessment

a) Write and Execute one program (week 1 to week 6) 30

b) Write and Execute one program (week 7 to week 13) 50

c)Demonstration or Viva voice 10

d) Portfolio Evaluation 10

Total Marks 100

Note: For Practice Test CIE-2, two programs shall be given from week 1-6
For Practice Test CIE-4, two programs shall be given from week 7-13

1) Signature of the Examiner 2) Signature of the Examiner

Department of Technical Education, Government of Karnataka 20


Equipment/software list with Specifications for a batch of 30 students

Sl. No. Particulars Specification Quantity

Core i3 processor, 4GB Ram,


01 Computer 250HDD 30

02 Turbo C / Dev C++ Any supported version 30

Department of Technical Education, Government of Karnataka 21

You might also like