Course Outline
Course Outline
https://apps.apple.com/us/app/piazza/id453142230
https://play.google.com/store/apps/details?id=com.piazza.android&hl=en_US&gl=US
Teacher TBA
Assistant(s)
(T.A)
3
Theory per Week:
Credit Hours Weight: 3 Cr. Hrs.
Count of Lectures: 2
Duration: 90 minutes
Prerequisite o None
Course
Prerequisite o Enthusiasm
Skill/Knowledge o Consistency
/Understanding o Persistence
Topics: Flowcharts/Pseudo Codes, Basic C++ Language Constructs: Data types, Variable
and Constants, Operator and Expressions, Input and Output (I/O), Formatted I/O,
Escape Sequences. Structured Programming in C Language: Decision making using if
control structure, Repetition using for and do while, multiple selection using switch and
logical operators. Procedural Programming in C Language: functions, prototype,
parameter and arguments, call by value and call by reference, library and header files,
scope and life time of variables (storage classes), recursion. Composite data types
Syllabus
arrays: definition, processing, and passing of array to a function, multi-dimensional
arrays, searching and sorting. Pointers: pointer definition, pointer arithmetic, constant
pointers, pointer and arrays. Strings: string and characters, string conversion functions,
Dynamic Memory Allocation. User Defined Data Types: structures, definition,
initialization, accessing members of structures, typedef, union and bitwise operators,
enumerations. C File Processing: files and streams, Sequential Access File, Random
Access File, Secondary Storage I/O. Miscellaneous Topics: Command Line Arguments.
A. Tony Gaddis, “Starting out with C++: from control structures through objects”, 7th
Text Book(s)
Ed., Addison-Wesley, 2012. ISBN 978-0-13-257625-3
R1. Reference from different books, some web-link or lecture notes for reading will be
provided.
Reference R2. D.S. Malik, C++ Programming, From Problem Analysis to Program Design, 8th Ed.,
Material ISBN-13: 978-1-337-10208-7
R3. Brian W. Kernighan and Dennis M. Ritchie, “The C Programming Language”, 2nd Ed.,
Prentice Hall, ISBN 978-0131103627.
R4. Bjarne Stroustrup, The C++ Programming Language (4th Edition), Addison-Wesley,
ISBN 978-0321563842. May 2013.
Lecture Breakdown
Taking input: cin, extraction operator and its properties; A-(3.1 ~ 3.6)
Concept buffered input; Read C-Strings
Arithmetic expressions: operator precedence and associativity;
9
Library functions: Math: power; Overflow, Underflow, Type
coercion, Type casting, Named constants: const, #define;
5 Multiple assignment
Repetition: Sentinel-controlled loops, Nested loops, break, A-(5.7, 5.8, 5.11 ~ 5.13)
15
continue
8
Functions: Motivation, Defining, Calling, Function prototype, A-(6.1 ~ 6.9)
16
Passing arguments by value
Arrays: Introduction, Declaration, Subscripts, Input and output, A-(7.1 ~ 7.5, 7.7)
19
No bounds checking, Array initialization
Two-D arrays, Mapping formulae for 1-D and 2-D array A-(7.8 ~ 7.10)
21 Character Arrays
11 Array of character arrays (2-D character arrays)
Code of Conduct
• In Quizzes/Tests, you are allowed to use any helping material available at that time unless specified
otherwise. Neighbors and machines are exception.
• Big NOs
o Any sort of communication with your peers/seniors/internet/books etc. on the assigned tasks
may lead you to Grade ‘F’ in the course/Lab.
o Violation of coding convention.
o Late Submissions.
• Once the marks are published on Google docs for any graded task (sessional), You can question about any
discrepancy about it within 3 working days otherwise grading will be considered final.
• Mobile Phones must be switched off during the class and laboratory.
• How to Contact Me:
o Observe the counseling hours! (Preferred/Recommended Option)
When: (Tue, Thu): (1430 ~ 1600)
Where: Graduate Block – 1st Floor – Office#1.
OR
o Use Piazza
§ Send/Post all the course related queries to https://piazza.com class page as private post.
§ For any other information/query, you may send the email at [email protected], but
send it through your PUCIT Email-ID.