NCS-101/201
: Computer System and Programming in C
(Approved by UPTU, Lucknow)
L T P
3 1 2
Unit1
(10 Lectures)
Basics of Computer: Introduction
to digital computer, basic operations of computer, functional components of
computer, Classification of computers.
Introduction to operating system: [DOS, Windows,
Linux and Android] purpose, function, services and types.
Number system: Binary, octal
and hexadecimal number systems, their mutual conversions, Binary arithmetic.
Basics of programming: Approaches to
Problem Solving, Concept of algorithm and flow charts
Types of computer languages: Machine
Language, Assembly Language and High Level Language, Concept of Assembler,
Compiler, Loader and Linker.
Unit2
(8 Lectures)
Introduction: Standard I/O in
C, Fundamental data types- Character type, integer, short, long, unsigned,
single and double floating point, Storage classes- automatic, register, static
and external, Operators and expression- using numeric and relational operators,
mixed operands, type conversion, logical operators, bit operations, assignment
operator, operator precedence and associativity.
Fundamentals of C programming: Structure of C
program, writing and executing the first C program, components of C language.
Standard I/O in C.
Unit3
(10 Lectures)
Conditional program execution: Applying if and
switch statements, nesting if and else, use of break and default with switch,
program loops and iterations: use of while, do while and for loops, multiple
loop variables, use of break and continue statements.
Functions: Introduction,
types of functions, functions with array, passing values to functions,
recursive functions.
Unit
4 (6 Lectures)
Arrays: Array notation
and representation, manipulating array elements, using multi-dimensional
arrays.
Structure, union, enumerated data types.
Unit
5 (8 Lectures)
Pointers: Introduction,
declaration, applications.
File handling, standard C preprocessors,
defining and calling macros, conditional compilation, passing values to the
compiler.
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.