Course Title: Digital Logic and C-Programming
Course No: ICT. Ed.402 Full mark: 50 T+50P
Nature of the course: Theory +Practical Pass marks: 20T+25P
Level: Bridge Course for M. ICTEd. Total periods: 80
Module : I Time per period: 1 Hrs.
Specific Objectives and Contents
Note: The figures within the parentheses indicate the approximate periods for respective units.
Instructional Techniques Theory Class
The instructional techniques for this course are divided into two groups. They are general and specific instructional techniques.
Evaluation
Recommended books and References
Raman, R. (1984). Computer programming in C, PHI. India
Morris, M. (Latest Edition). Digital logic and computer design. New Delhi: Printice Hall of India Pvt.
Baral, D.S., Baral, D. & Ghimire S. K. (Latest Edition). The secretes of C programming language. Kathmandu:
Balaguruswamy, E. (2000). Programming in ANSI C. New Delhi: Tata Mc Graw Hill Publishing Company.
B.S. Gottfried(2001), Schaum’s Outline Series for Programming with C, Second Edition, Tata McGraw Hill Publishing Company, New Delhi
Yashavant P. Kanetkar(2008), Let Us C E/D, BPB Publications, New Delhi
Course No: ICT. Ed.402 Full mark: 50 T+50P
Nature of the course: Theory +Practical Pass marks: 20T+25P
Level: Bridge Course for M. ICTEd. Total periods: 80
Module : I Time per period: 1 Hrs.
- Course Description
This course is designed for those students who specialize in Information and Communication Technology (ICT). It intends to provide broader knowledge of digital logic concept and c-programming. This is the foundation ICT course. This course contains the digital logic, C- Programming language. In this course, students will learn the general concept of logic design and details of c-programming.
- General Objectives
- To provide the knowledge of the basic principles of the digital logical tables.
- To familiarize the students with the definition and use of the Boolean algebra and its laws.
- To enable the students to understand the concept of AND, OR, NOR, NAND etc.
- To give the knowledge of the concept of the structural computer programming language and its tools.
Specific Objectives | Contents |
Unit I: Digital Logic (10) | |
|
Logic functions and Boolean Algebra, Digital logic, Introductions of truth tables, operators & operand, Logic Gates – AND, OR, NOT, NAND, NOR, XOR, AND XNOR – its definition, use, truth table logic symbols, Laws of Boolean Algebra, DeMorgan's Theorem: Statement & Logic. |
Unit II: Programming Concepts & Logics (10) | |
| Programming Languages, Compiler, Interpreter and Assembler, Concept of Programming Statement, Syntax and Semantic errors, Program Control Structures: Sequence, Selection and Iteration, Program Design tools – Algorithm, Flowchart, Introduction to Data Type, Codes: Absolute Binary, BCD, ASCII ,EBCDIC, Unicode |
UNIT III: Programming with C (10 T+P) |
| Introduction to C-programming language, structured programming principles, Character Set used in C, Use of Comments, Identifiers ,Keywords and Tokens, Data Types in C, Constants and Variables, Type of Specifier, Statements – Simple and Compound Statements, Operators and Expressions, Introduction to Library Functions, Input/Output (I/O) Functions |
UNIT IV: Control Structures and Array (16 T+P) | |
| Definition, Decisions -if, if-else, else if, switch, ?: operator, Loop- while, do while, for, Array definition, declaration, and initialization. Types of Array – One-Dimensional and Two-Dimensional |
UNIT V: String, Function , Structure (18 T+P) | |
| String Function : strlen(), strcat(), strcmp(), strrev(), strcpy(), strlwr() , strupr(), Functions-Concept of Function, function definition, function prototype. Return and Void statements of a function, Accessing a Function – Function Call(by value, by reference), Concept of Recursion, Structure: Declaration, Initialization and Size of Structure. Definition and Difference between Structure and Union. |
UNIT VI : Pointer and File handling (16 T+P) | |
| Pointers: Definition of Pointer, Address (&) and indirection (*) operator, Pointer Expression and Assignment , Working with Files, Concept of Data File, Sequential and Random File, Opening, Reading, Writing and Appending on/from Data File |
- General Instructional Techniques
- Lecture
- Discussion
- Group Work
- Class Exercise
- Power Point Presentation
- Specific Instructional Techniques
Units I:
- Demonstrate the logical gates (AND OR and INVERTOR gates).
- Instructional Techniques in the Practical Class
The following procedures techniques will be used in the practical class.
- Before starting the practical class
- Explain the objectives, meaning of the symbols of logic gates.
- Describe the meaning and reasons of programming tools like flow chart and Algorithm.
Theory part
The performance of the students in first part of this course will be assessed through the annual examination held by the Office of the Controller of Examinations. The types and number of questions included in the annual examination are given in the following table:Types of questions | Total questions to be asked | Number of questions to be answered and marks allocated | Total marks |
Group A: Multiple choice items | 10 questions | 10 x 1 mark | 10 |
Group B: Short questions | 4 with 2 'or' questions | 4 x 7 marks | 28 |
Group C: Long questions | 1 with 1 'or' question | 1 x 12 marks | 12 |
Practical part
The performance of the students will be assessed through practical examination. The practical examination will be conducted within the campus by external and internal examiners. Marks distribution for the practical examination is given as follows.Contents | Total questions to be asked | Number of questions to be answered and marks allocated | Total marks |
Digital Logic circuits | 2 | 2×5 mark | 10 |
C- Programming | 6 | 6×5 mark | 30 |
Viva (question to be asked) | 10 | 1 mark | 10 |
Morris, M. (Latest Edition). Digital logic and computer design. New Delhi: Printice Hall of India Pvt.
Baral, D.S., Baral, D. & Ghimire S. K. (Latest Edition). The secretes of C programming language. Kathmandu:
Balaguruswamy, E. (2000). Programming in ANSI C. New Delhi: Tata Mc Graw Hill Publishing Company.
B.S. Gottfried(2001), Schaum’s Outline Series for Programming with C, Second Edition, Tata McGraw Hill Publishing Company, New Delhi
Yashavant P. Kanetkar(2008), Let Us C E/D, BPB Publications, New Delhi