C-LANGUAGE CURRICULAM

Similar documents
B.V. Patel Institute of Business Management, Computer & Information Technology, Uka Tarsadia University


Aryan College. Fundamental of C Programming. Unit I: Q1. What will be the value of the following expression? (2017) A + 9

C Programming SYLLABUS COVERAGE SYLLABUS IN DETAILS

Writing an ANSI C Program Getting Ready to Program A First Program Variables, Expressions, and Assignments Initialization The Use of #define and

Contents. Preface. Introduction. Introduction to C Programming

Introduction to Programming Using Java (98-388)

Model Viva Questions for Programming in C lab

C Programming for Electronic Engineers

Introduction to C++ Introduction. Structure of a C++ Program. Structure of a C++ Program. C++ widely-used general-purpose programming language

DETAILED SYLLABUS INTRODUCTION TO C LANGUAGE

Introduction to C++ with content from

UNIT I : OVERVIEW OF COMPUTERS AND C-PROGRAMMING

CSI33 Data Structures

The Waite Group's. New. Primer Plus. Second Edition. Mitchell Waite and Stephen Prata SAMS

Review of the C Programming Language for Principles of Operating Systems

Model Viva Questions for Programming in C lab

Programming Fundamentals - A Modular Structured Approach using C++ By: Kenneth Leroy Busbee

C Refresher, Advance C, Coding Standard, Misra C Compliance & Real-time Programming

Review of the C Programming Language

Lecture 02 C FUNDAMENTALS

Absolute C++ Walter Savitch

CHAPTER 1 Introduction to Computers and Programming CHAPTER 2 Introduction to C++ ( Hexadecimal 0xF4 and Octal literals 031) cout Object

Name :. Roll No. :... Invigilator s Signature : INTRODUCTION TO PROGRAMMING. Time Allotted : 3 Hours Full Marks : 70

Computers Programming Course 6. Iulian Năstac

Questions Bank. 14) State any four advantages of using flow-chart

Important Questions for Viva CPU

Flow Control. CSC215 Lecture

VALLIAMMAI ENGINEERING COLLEGE SRM NAGAR, KATTANGULATHUR

UNIT - I. Introduction to C Programming. BY A. Vijay Bharath

CSC Web Programming. Introduction to JavaScript

Euclid s algorithm, 133

CSCI 171 Chapter Outlines

C++ (Non for C Programmer) (BT307) 40 Hours

Preface... (vii) CHAPTER 1 INTRODUCTION TO COMPUTERS

Problem Solving with C++

Course Title: C Programming Full Marks: Course no: CSC110 Pass Marks: Nature of course: Theory + Lab Credit hours: 3

Main Program. C Programming Notes. #include <stdio.h> main() { printf( Hello ); } Comments: /* comment */ //comment. Dr. Karne Towson University

PERIYAR CENTENARY POLYTECHNIC COLLEGE Periyar Nagar- Vallam Thanjavur

Features of C. Portable Procedural / Modular Structured Language Statically typed Middle level language

IECD Institute for Entrepreneurship and Career Development Bharathidasan University, Tiruchirappalli 23.

C Programming. Course Outline. C Programming. Code: MBD101. Duration: 10 Hours. Prerequisites:

Multiple Choice Questions ( 1 mark)

CS1100 Introduction to Programming

C Language Part 1 Digital Computer Concept and Practice Copyright 2012 by Jaejin Lee

C: How to Program. Week /Mar/05

M1-R4: Programing and Problem Solving using C (JAN 2019)

T.Y.B.Sc. Syllabus Under Autonomy Mathematics Applied Component(Paper-I)

Long Questions. 7. How does union help in storing the values? How it differs from structure?


Chapter 2 - Introduction to C Programming

PES INSTITUTE OF TECHNOLOGY (BSC) I MCA, First IA Test, November 2015 Programming Using C (13MCA11) Solution Set Faculty: Jeny Jijo

LESSON 1. A C program is constructed as a sequence of characters. Among the characters that can be used in a program are:

Computer Programming C++ (wg) CCOs

C Programming Multiple. Choice

5/23/2015. Core Java Syllabus. VikRam ShaRma

Pace University. Fundamental Concepts of CS121 1

Part I Part 1 Expressions

Writing Program in C Expressions and Control Structures (Selection Statements and Loops)

Java Fundamentals p. 1 The Origins of Java p. 2 How Java Relates to C and C++ p. 3 How Java Relates to C# p. 4 Java's Contribution to the Internet p.

Language Reference Manual simplicity

Scheme G. Sample Test Paper-I. Course Name : Computer Engineering Group Course Code : CO/CD/CM/CW/IF Semester : Second Subject Tile : Programming in C

Programming for Engineers Iteration

M1-R4: Programing and Problem Solving using C (JULY 2018)

CERTIFICATE IN WEB PROGRAMMING

CS313D: ADVANCED PROGRAMMING LANGUAGE

Outline. Performing Computations. Outline (cont) Expressions in C. Some Expression Formats. Types for Operands

Assignment: 1. (Unit-1 Flowchart and Algorithm)

Subject: PROBLEM SOLVING THROUGH C Time: 3 Hours Max. Marks: 100

Axivion Bauhaus Suite Technical Factsheet MISRA

Programming in C and C++

MISRA-C:2012 Standards Model Summary for C / C++

Introduction to Computers and C++ Programming p. 1 Computer Systems p. 2 Hardware p. 2 Software p. 7 High-Level Languages p. 8 Compilers p.

UNIT IV 2 MARKS. ( Word to PDF Converter - Unregistered ) FUNDAMENTALS OF COMPUTING & COMPUTER PROGRAMMING

Computers Programming Course 5. Iulian Năstac

CODE TIME TECHNOLOGIES. Abassi RTOS MISRA-C:2004. Compliance Report

LESSON 5 FUNDAMENTAL DATA TYPES. char short int long unsigned char unsigned short unsigned unsigned long

Structure of this course. C and C++ Past Exam Questions. Text books

XQ: An XML Query Language Language Reference Manual

Reserved Words and Identifiers

ONE DIMENSIONAL ARRAYS

CprE 288 Introduction to Embedded Systems Exam 1 Review. 1

M4.1-R3: PROGRAMMING AND PROBLEM SOLVING THROUGH C LANGUAGE

2/29/2016. Definition: Computer Program. A simple model of the computer. Example: Computer Program. Data types, variables, constants

File Handling in C. EECS 2031 Fall October 27, 2014

The Foundation of C++: The C Subset An Overview of C p. 3 The Origins and History of C p. 4 C Is a Middle-Level Language p. 5 C Is a Structured

Data Types. Data Types. Integer Types. Signed Integers

Chapter 9 Strings. With this array declaration: char s[10];

Review for Test 1 (Chapter 1-5)

Fundamental Data Types. CSE 130: Introduction to Programming in C Stony Brook University

Information Science 1

XC Specification. 1 Lexical Conventions. 1.1 Tokens. The specification given in this document describes version 1.0 of XC.

C Fundamentals & Formatted Input/Output. adopted from KNK C Programming : A Modern Approach


(heavily based on last year s notes (Andrew Moore) with thanks to Alastair R. Beresford. 1. Types Variables Expressions & Statements 2/23

Contents. Figures. Tables. Examples. Foreword. Preface. 1 Basics of Java Programming 1. xix. xxi. xxiii. xxvii. xxix

ANSI C Programming Simple Programs

A Fast Review of C Essentials Part I

COMPUTER APPLICATION

C programming basics T3-1 -

Transcription:

C-LANGUAGE CURRICULAM Duration: 2 Months. 1. Introducing C 1.1 History of C Origin Standardization C-Based Languages 1.2 Strengths and Weaknesses Of C Strengths Weaknesses Effective Use of C 2. C Fundamentals 2.1 Writing Simple Program Program: Printing a PUN Compiling and Linking Integrated Development Environment 2.2 The General Form Of Simple Program Directives Functions Statements Printing Strings 2.3 Comments 2.4 Variables and Assignment Types Declarations Assignment Printing the value of a Variable PROGRAM: Computing Dimensional Weight of a Box Initialization Printing Expressions 2.5 Reading Input 2.6 Defining Names for Constants 2.7 Identifiers Keywords 2.8 Layout of a C Program 3. Formatted INPUT/OUTPUT 3.1 The printf Function Conversion Specifications Escape Sequence 3.2 The scanf Function How scanf works Ordinary characters in format strings Confusing printf with scanf 4. EXPRESSIONS 4.1 Arithmetic Operators Operator Precedence and Associativity 4.2 Assignment Operators

Simple Assignments Lvalues Compound Assignment 4.3 Increment and Decrement Operators 4.4 Expression Evaluation Order of Sub Expression Evaluation 4.5 Expression Statements 5. Selection Statements 5.1 Logical Expressions Relational Operators Equality Operators Logical Operators 5.2 if Statement Compound Statement else clause Cascaded if Statement The Dangling else Problem Conditional Expressions Boolean values in C89 Boolean values in C99 5.3 The switch Statement The Role of break statement 6. LOOPS 6.1 The while Statement Infinite Loops 6.2 The do Statement 6.3 The for Statement for Statement Idioms Omitting Expressions in a for Statement for statements in C99 The comma Operator 6.4 Exiting from Loop The break Statement The continue Statement The goto Statement 6.5 The Null Statement 7. Basic Data Types 7.1 Integer Type Integer Types in C99 Integer Constants Integer Constants in C99 Integer Overflow Reading and Writing Integers 7.2 Floating Types Floating Constants Reading and Writing Floating-point Numbers 7.3 Character Types Operations on Characters

Signed and Un Signed Characters Arithmetic Types Escape Sequence Character-Handling Functions Reading and Writing Characters using scanf and printf Reading and Writing Characters using getchar and putchar 7.4 Type Conversion The Usual Arithmetic Conversions Conversion during Assignment Implicit Conversions in C99 Casting 7.5 Type Definitions Advantages of Type Definition Type Definitions and Portability 7.6 The sizeof Operator 8. ARRAYS 8.1 One-Dimensional Arrays Arrays Subscripting Array Initialization Designated Initializers Using sizeof operators with Arrays PROGRAM: Computing Interest 8.2 Multi Dimensional Arrays Initializing a Multi Dimensional Array Constant Arrays 8.3 Variable Length Arrays 9. FUNCTIONS 9.1 Defining and Calling Functions Function Definitions Function Calls 9.2 Function Declarations 9.3 Arguments Argument Conversions Array Arguments Variable Length Array Parameters Using static in Array Parameter Declarations Compound Literals 9.4 The return Statements 9.5 Program Termination The exit function 9.6 Recursion The Quick Sort Algorithm 10 Program Organization 10.1 Local Variables Static Local Variables Parameters 10.2 External Variables 10.3 Blocks

10.4 Scope 10.5 Organizing a C Program 11 POINTERS 11.1 Pointer Variables Declaring Pointer Variables 11.2 The Address and Indirect Operators The Address Operator The Indirection Operator 11.3 Pointer Assignment 11.4 Pointers as Arguments 11.5 pointers as Return Values 12 POINTERS AND ARRAYS 12.1 Pointer Arithmetic Adding an Integer to Pointer Subtracting an Integer from a Pointer Subtracting one pointer from another Comparing Pointers Pointers to Compound Literals 12.2 Using Pointers for ARRAY processing Combining * and ++ Operators 12.3 Using Array Name as Pointers Array Arguments Using a Pointer as ARRAY name 13 STRINGS 13.1 String Literals Escape Sequence in String Literals Continuing a String Literal How String Literals are Stored Operations on String Literals String Literals and Character Constants 13.2 String Variables Initializing a string Variables Character Arrays Versus Character Pointers 13.3 Reading and Writing Strings Writing Strings Using printf and puts Reading Strings Using scanf and gets Reading Strings Character by Character 13.4 Accessing Characters in a String 13.5 Using C String Library The strcpy (string copy) Function The strlen (string Length) Function The strcat (string concatenation) Function The strcmp (String Comparison) Function 13.6 String Idioms Searching for the End of a String Copying a String 13.7 Arrays of Strings Command-Line Arguments

14 STRUCTURES, UNIONS, AND ENUMERATIONS 14.1 Structure Variables Declaring Structure Variables Initializing Structure Variables Designated Initializers Operations on structures 14.2 Structure Types Declaring a Structure Tag Defining a Structure Type Structures as Arguments and Return Values Compound Literals 14.3 Nested Arrays and Structures Nested Structures Arrays of Structures Initializing an Array of Structures 14.4 Unions Using Unions Using Unions to Build Mixed Data Structures Adding a Tag field to a Union 14.5 Enumerations Enumeration Tags and Type Names Enumerations as Integers Using Enumerations to Declare Tag Fields.