The site would be on maintenance from 8th Jul 2019 2.00pm to 8:00pm. You may experience some issue during this time.

Book Details

Programming for Problem Solving

Programming for Problem Solving

Published by uLektz

Course Code : CS103ES
Author : uLektz
University : Jawaharlal Nehru Technological University, Hyderabad (JNTUH)
Regulation : 2018
Categories : Electronics & Communication
Format : ico_bookePUB3 (DRM Protected)
Type : eBook

FREE

Buy Now

Description :Programming for Problem Solving of CS103ES covers the latest syllabus prescribed by Jawaharlal Nehru Technological University, Hyderabad (JNTUH) for regulation 2018. Author: uLektz, Published by uLektz Learning Solutions Private Limited.

Note : No printed book. Only ebook. Access eBook using uLektz apps for Android, iOS and Windows Desktop PC.

Topics
UNIT 1 INTRODUCTION TO PROGRAMMING

1.1 Introduction to components of a computer system: disks, Primary and secondary memory

1.2 Processor

1.3 Operating system

1.4 Compilers, Creating, compiling and executing a program etc.

1.5 Number systems

1.6 Introduction to Algorithms: steps to solve logical and numerical problems, Representation of Algorithm, Flowchart/Pseudo code with examples, Program design and structured programming

1.7 Introduction to C Programming Language: variables (with data types and space requirements), Syntax and Logical Errors in compilation, Object and executable code

1.8 Operators, expressions and precedence, Expression evaluation

1.9 Storage classes (auto, extern, static and register), Type conversion

1.10 The main method and command line arguments

1.11 Bitwise operations: Bitwise AND, OR, XOR and NOT operators.

1.12 Conditional Branching and Loops: Writing and evaluation of conditionals and consequent branching with if, if-else, switch-case, ternary operator, goto, Iteration with for, while, do while loops

1.13 I/O: Simple input and output with scanf and printf, formatted I/O

1.14 Introduction to stdin, stdout and stderr, Command line arguments

UNIT II ARRAYS, STRINGS, STRUCTURES AND POINTERS

2.1 Arrays: one and two dimensional arrays, Creating, accessing and manipulating elements of arrays

2.2 Strings: Introduction to strings, Handling strings as array of characters, Basic string functions available in C (strlen, strcat, strcpy, strstr etc.), Arrays of strings

2.3 Structures: Defining structures, Initializing structures, Unions,Array of structures

2.4 Pointers: Idea of pointers, Defining pointers, Pointers to Arrays and Structures Pointers to Arrays, Use of Pointers in self-referential structures, Usage of self referential structures in linked list (no implementation), Enumeration data type.

UNIT III PREPROCESSOR AND FILE HANDLING IN C

3.1 Preprocessor: Commonly used Preprocessor commands like include, define, undef, if, ifdef, ifndef.

3.2 Files: Text and Binary files, Creating and Reading and writing text and binary files, Appending data to existing files, Writing and reading structures using binary files,Random access using fseek, ftell and rewind functions

UNIT IV FUNCTION AND DYNAMIC MEMORY ALLOCATION

4.1 Functions: Designing structured programs, Declaring a function, Signature of a function,Parameters and return type of a function,Passing parameters to functions: Call by value

4.2 Passing arrays to functions, Passing pointers to functions, Idea of call by reference, Some C standard functions and libraries.

4.3 Recursion: Simple programs, Finding Factorial, Fibonacci series etc, Limitations of Recursive functions

4.4 Dynamic memory allocation: Allocating and freeing memory, Allocating memory for arrays of different data types

UNIT V INTRODUCTION TO ALGORITHMS

5.1 Algorithms for finding roots of a quadratic equations, Finding minimum and maximum numbers of a given set, Finding if a number is prime number, etc.

5.2 Basic searching in an array of elements (linear and binary search techniques)

5.3 Basic algorithms to sort array of elements (Bubble, Insertion and Selection sort algorithms)

5.4 Basic concept of order of complexity through the example programs

loading