syllabusuta007

Upload: dharmendra-yadav

Post on 16-Feb-2018

216 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/23/2019 SyllabusUTA007

    1/2

    UTA007: COMPUTER PROGRAMMING I

    Course objective:This course is designed to explore computing and to show students the art of

    computer programming. Students will learn some of the design principles for writing goodprograms.

    Detail cotets:

    Itro!uctio to "C##$ %ro&ra''i&: Fundamentals, Structure of a C++ program, Compilation

    and linking processes.

    E(%ressios a! Cosole I)O : Basic Data types, dentifier !ames, "aria#les, Scope, Type

    $ualifiers, Storage class specifier, Constants, %perators, &eading and writing characters, &eadingand writing strings, Formatted and console '%, cin(), cout(), Suppressing input.

    *tate'ets: True and False, Selection statements, teration statements, *ump statements,

    xpression statements, Block statements.

    Arra+s a! *tri&s: Single dimension array, two dimension array, Strings, rray of strings,

    -ultidimension array, rray initiali/ation, "aria#le length arrays.

    *tructures, Uios, Eu'eratios, a! T+%e!e-: Structures, rray of structures, passing

    structures to functions, Structure pointers, rrays and structures within structures, 0nions, Bitfields, numerations, typedef.

    Itro!uctio to Object Oriete! Pro&ra''i& .it/ C##: %#1ects and Classes, #asicconcepts of %%2s (#straction, ncapsulation, nheritance, 2olymorphism),

    Constructors'Destructor, Copy constructor, Dynamic Constructor, %3erloading (Function and

    %perator).

    Poiters: 2ointer 3aria#les, 2ointer operators, 2ointer expressions, 2ointers and arrays, multiple

    indirection, 2ointer initiali/ation, 2ointers to arrays, dynamically allocated arrays, 2ro#lems with

    pointers, 2ointers and classes, pointer to an o#1ect, this pointer.

    uctios: 4eneral form of a function, 0nderstanding scope of a function, Function arguments,

    Command line arguments, &eturn statement, &ecursion, Function prototype, 2ointers tofunctions.

    Pre1%rocessor a! Co''ets: 2reprocessor, 5define, 5error, 5include, Conditionalcompilation directi3es, 5undef, Single line and multiple line comments.

    ile I)O:Streams and files, File system #asics, fread() and fwrite(), fseek() and random access

    '%, fprintf() and fscanf(), Standard streams.

    2aborator+ .or3:To implement 2rograms for 3arious kinds of programming constructs in C++

    6anguage.

    2 T P Cr

    4 0 5 60

  • 7/23/2019 SyllabusUTA007

    2/2

    Course leari& outco'e 8C2O9:

    7. To learn the implementation of programming in C++, its data types and operators and

    console '% function.8. 4rasp the concepts of decision control statements, loop control statements and case

    control structures.

    9. 0nderstand the implementation of arrays, pointers and functions.:. Comprehend the concepts of structures and classes; declaration, initiali/ation and

    implementation.