Like Box

LightBlog

Saturday, September 1, 2018

GGSIPU MCA FIRST SEMESTER - Programming in C NOTES

MCA 1ST YEAR PROGRAMMING IN C NOTES. SOME NOTES ARE MISSING :(
TOPIC WISE NOTICE ARE FROM RDIAS COLLEGE.
UNIT WISE NOTICE ARE FROM BHARTI VIDYAPEETH COLLEGE.IF FOUND ANY LINK BROKEN PLEASE REPORT TO OUR FB PAGE Or COMMENT BELOW.

Paper Code No.: MCA 103    Paper ID: 044103

Paper: Programming in C 


UNIT- I
Introduction: GCC, Using MAKE Utility , GDB, C Basics: History of C, Characteristics of C, C Program Structure, Variables, Defining Global Variables, Printing Out and Inputting Variables, Constants, Arithmetic Operations, Comparison Operators, Logical Operators, Order of Precedence, Conditionals (The if statement , The ? operator, The switch statement) Looping and Iteration (The for statement, The while statement, The do-while statement, break and continue) Arrays and Strings (Single and Multi-dimensional Arrays, Strings) Functions (Function Prototyping, passing parameters, returning values, recursion) Storage classes (auto, extern, static, register)




UNIT-II
Further Data Types: Defining New Data Types, Structures, Unions, Type-Casting, Enumerated Types, Low Level Operators and Bit Fields (Bitwise Operators, Bit Fields) Pointers : Pointers arithmetic and Arrays , const pointers, void pointers, near, far and huge pointers Dynamic Memory Allocation and Dynamic Structures: (malloc, calloc and realloc; sizeof, free, introduction to Linked Lists and dynamic 2- dimensional arrays) Advanced Pointer Topics: (Pointers to Pointers, Pointer to array, Array of pointers, Command line input, Pointers to a Function, Implementing Callbacks)


~~~Be A Contributor, Got Notes/E-book/Q-Paper Share With Us~~~

UNIT -III
The C Preprocessor: (#define, #undef, #include, #if -- Conditional inclusion, Other Preprocessor Commands) C, Linux and Standard Libraries : (Advantages of using Linux with C, Using Linux System Calls and Library Functions) Integer Functions, Random Number, String Conversion, Searching and Sorting : Mathematics: (Math Functions, Math Constants), Input and Output (I/O):stdio.h Reporting Errors (perror(), errno, exit() ) Streams (Predefined Streams, Redirection) Basic I/O (Formatted I/O, printf, scanf ), String Handling: (Basic String Handling Functions and safety issues, String Searching) , Character conversions and testing: ctype.h, Files Character and Line Based I/O, Formatted I/O, Block I/O, File Positioning, Status Functions, Deletion and Renaming, Temporary Files




UNIT -IV
File Accessibility and Directories (access, stat, chmod, chown …, chdir, chroot…) , Process Control: (Running Linux Commands from C, fork(), the exec family, wait(), exit() ), Thread creation-a simple implementation.



IF FOUND ANY LINK BROKEN PLEASE REPORT TO OUR
FB PAGE  Or COMMENT BELOW.


BE A CONTRIBUTOR TO HELP OTHER STUDENTS 



TEXT BOOKS: 
1. Yashwant Kanetkar, “Let us C”, BPB Publications, 2002. 
2. Mark Mitchell, Jeffrey Oldham, and Alex Samuel, “Advanced Linux Programming”, New Riders Publishing, 2001. 
3. B. Kernighan and D. Ritchie, “The ANSI C Programming Language”, PHI., 2000 

REFERENECES: 
1. Yashwant Kanetkar, “Pointers in C”, BPB Publications, 2002. 
2. Paul Deitel and Harvey Dietel, “How to Program”, PHI, 6 th Ed., 2010. 
3. Behrouz A. Forouzan and Richard F. Gilberg, “Computer Science A Structured Programming Approach Using C”, PHI, 3rd Ed., 2007. 
4. Jeri R. Hanly and Elliot B. Koffman, “Problem Solving and Programming in C”, Pearson, 5 th Ed. 2007. 
5. Rama N. Reddy and Carol A. Ziegler, “C Programming for Scientist and Engineers with Applications”, Jones and Bartlet, 2010. 

No comments:

Post a Comment

Adbox