Programming for Problem Solving Laboratory detailed syllabus for Information Technology (IT), 1st Year 1st Sem R22 regulation has been taken from the JNTUH official website and presented for the B.Tech students affiliated to JNTUH course structure. For Course Code, Subject Names, Theory Lectures, Tutorial, Practical/Drawing, Credits, and other information do visit full semester subjects post given below. We make sure the result links and syllabus uploaded here is latest and up to date, also the syllabus PDF files can also be downloaded from the universities official website.
For Information Technology (IT) 1st Year 1st Sem R22 Regulation Scheme, do visit IT 1st Year 1st Sem R22 Scheme. The detailed syllabus for programming for problem solving laboratory is as follows.
Programming for Problem Solving Laboratory Subject Syllabus for IT 1st Year 1st Sem R22 Regulation
Note:
For the complete Syllabus, results, class timetable, and many other features kindly download the iStudy App
It is a lightweight, easy to use, no images, and no pdf platform to make students’s lives easier.
.
Course Objectives:
The students will learn the following
- To work with an IDE to create, edit, compile, run and debug programs
- To analyze the various steps in program development.
- To develop programs to solve basic problems by understanding basic concepts in C like operators, control statements etc.
- To develop modular, reusable and readable C Programs using the concepts like functions, arrays etc.
- To Write programs using the Dynamic Memory Allocation concept.
- To create, read from and write to text and binary files
Course Outcomes:
The candidate is expected to be able to
- formulate the algorithms for simple problems
- translate given algorithms to a working and correct program
- correct syntax errors as reported by the compilers
- identify and correct logical errors encountered during execution
- represent and manipulate data with arrays, strings and structures
- use pointers of different types
- create, read and write to and from simple text and binary files
- modularize the code with functions so that they can be reused
Practice Sessions:
For the complete Syllabus, results, class timetable, and many other features kindly download the iStudy App
It is a lightweight, easy to use, no images, and no pdf platform to make students’s lives easier.
.
Simple Numeric Problems:
- Write a program for finding the max and min from the three numbers.
- Write the program for the simple, compound interest.
- Write a program that declares Class awarded for a given percentage of marks, where mark <40%= Failed, 40% to <60% = Second class, 60% to <70%=First class, >= 70% = Distinction. Read percentage from standard input.
- Write a program that prints a multiplication table for a given number and the number of rows in the table. For example, for a number 5 and rows = 3, the output should be:
- 5 x 1 = 5
- 5 x 2 = 10
- 5 x 3 = 15
- Write a program that shows the binary equivalent of a given positive number between 0 to 255.
Expression Evaluation:
- A building has 10 floors with a floor height of 3 meters each. A ball is dropped from the top of the building. Find the time taken by the ball to reach each floor. (Use the formula s = ut+(1/2)atA2 where u and a are the initial velocity in m/sec (= 0) and acceleration in m/secA2 (= 9.8 m/sA2)).
- Write a C program, which takes two integer operands and one operator from the user, performs the operation and then prints the result. (Consider the operators +, – ,*, /, % and use Switch Statement)
- Write a program that finds if a given number is a prime number
- Write a C program to find the sum of individual digits of a positive integer and test given number is palindrome.
- A Fibonacci sequence is defined as follows: the first and second terms in the sequence are 0 and 1. Subsequent terms are found by adding the preceding two terms in the sequence. Write a C program to generate the first n terms of the sequence.
- Write a C program to generate all the prime numbers between 1 and n, where n is a value supplied by the user.
- Write a C program to find the roots of a Quadratic equation.
- Write a C program to calculate the following, where x is a fractional value.
- 1 – x/2 +xA2/4 – xA3/6
- Write a C program to read in two numbers, x and n, and then compute the sum of this geometric progression: 1+x+xA2+xA3+…………….+xAn. For example: if n is 3 and x is 5, then the program computes 1+5+25+125.
Arrays, Pointers and Functions:
For the complete Syllabus, results, class timetable, and many other features kindly download the iStudy App
It is a lightweight, easy to use, no images, and no pdf platform to make students’s lives easier.
.
Files:
- Write a C program to display the contents of a file to standard output device.
- Write a C program which copies one file to another, replacing all lowercase characters with their uppercase equivalents.
- Write a C program to count the number of times a character occurs in a text file. The file name and the character are supplied as command line arguments.
- Write a C program to merge two files into a third file (i.e., the contents of the first file followed by those of the second are put in the third file).
- Write a C program that does the following:
It should first create a binary file and store 10 integers, where the file name and 10 values are given in the command line. (hint: convert the strings using atoi function) Now the program asks for an index and a value from the user and the value at that index should be changed to the new value in the file. (hint: use fseek function) The program should then read all 10 values and print them back.
Strings:
- Write a C program to convert a Roman numeral ranging from I to L to its decimal equivalent.
- Write a C program that converts a number ranging from 1 to 50 to Roman equivalent
- Write a C program that uses functions to perform the following operations:
- To insert a sub – string into a given main string from a given position.
- To delete n Characters from a given position in a given string.
- Write a C program to determine if the given string is a palindrome or not (Spelled same in both directions with or without a meaning like madam, civic, noon, abcba, etc.)
- Write a C program that displays the position of a character ch in the string S or – 1 if S doesn’t contain ch.
- Write a C program to count the lines, words and characters in a given text.
Miscellaneous:
For the complete Syllabus, results, class timetable, and many other features kindly download the iStudy App
It is a lightweight, easy to use, no images, and no pdf platform to make students’s lives easier.
.
Sorting and Searching:
- Write a C program that uses non recursive function to search for a Key value in a given
- list of integers using linear search method.
- Write a C program that uses non recursive function to search for a Key value in a given
- sorted list of integers using binary search method.
- Write a C program that implements the Bubble sort method to sort a given list of
- integers in ascending order.
- Write a C program that sorts the given array of integers using selection sort in descending order
- Write a C program that sorts the given array of integers using insertion sort in ascending order
- Write a C program that sorts a given array of names
TEXT BOOKS:
- Jeri R. Hanly and Elliot B.Koffman, Problem solving and Program Design in C 7th Edition, Pearson
- B.A. Forouzan and R.F. Gilberg C Programming and Data Structures, Cengage Learning, (3rd Edition)
REFERENCE BOOKS:
- Brian W. Kernighan and Dennis M. Ritchie, The C Programming Language, PHI
- E. Balagurusamy, Computer fundamentals and C, 2nd Edition, McGraw – Hill
- Yashavant Kanetkar, Let Us C, 18th Edition, BPB
- R.G. Dromey, How to solve it by Computer, Pearson (16th Impression)
- Programming in C, Stephen G. Kochan, Fourth Edition, Pearson Education.
- Herbert Schildt, C: The Complete Reference, Mc Graw Hill, 4th Edition
- Byron Gottfried, Schaum’s Outline of Programming with C, McGraw – Hill
For detailed syllabus of all the other subjects of B.Tech 1st Year Information Technology (IT), visit Information Technology (IT) 1st Year Syllabus Subjects.
For results of Information Technology (IT) 1st Year 1st Sem R22 Regulation, visit IT 1st Year 1st Sem R22 Regulation results direct link.