{"id":9729,"date":"2026-12-04T21:28:10","date_gmt":"2026-12-04T15:58:10","guid":{"rendered":"https:\/\/www.inspirenignite.com\/jntuk\/computer-programming-lab-syllabus-r23\/"},"modified":"2026-12-04T21:28:10","modified_gmt":"2026-12-04T15:58:10","slug":"computer-programming-lab-syllabus-r23","status":"publish","type":"post","link":"https:\/\/www.inspirenignite.com\/jntuk\/computer-programming-lab-syllabus-r23\/","title":{"rendered":"Computer Programming Lab Syllabus | JNTUK R23"},"content":{"rendered":"<p>Computer Programming Lab is a subject in semester 1 of JNTUK R23 B.Tech. for all 19 B.Tech. branches. The full unit-wise syllabus is below.<\/p><div class=\"a9916ad81d5189659b0bfae0b37c143c\" data-index=\"1\" style=\"float: none; margin:10px 0 10px 0; text-align:center;\">\n<ins class=\"adsbygoogle\"\r\n     style=\"display:block; text-align:center;\"\r\n     data-ad-layout=\"in-article\"\r\n     data-ad-format=\"fluid\"\r\n     data-ad-client=\"ca-pub-1181153414625576\"\r\n     data-ad-slot=\"9648548092\"><\/ins>\r\n<script>\r\n     (adsbygoogle = window.adsbygoogle || []).push({});\r\n<\/script>\n<\/div>\n\n<table class=\"syllabus-facts\">\n<tr>\n<th>Subject name<\/th>\n<td>Computer Programming Lab<\/td>\n<\/tr>\n<tr>\n<th>Regulation<\/th>\n<td>JNTUK R23<\/td>\n<\/tr>\n<tr>\n<th>Semester<\/th>\n<td>1<\/td>\n<\/tr>\n<tr>\n<th>Branches<\/th>\n<td>all 19 B.Tech. branches<\/td>\n<\/tr>\n<tr>\n<th>Category<\/th>\n<td>Engineering Science<\/td>\n<\/tr>\n<tr>\n<th>Credits<\/th>\n<td>1.5<\/td>\n<\/tr>\n<tr>\n<th>Semester scheme<\/th>\n<td><a href=\"https:\/\/www.inspirenignite.com\/jntuk\/agri-1st-sem-syllabus-r23\/\">Agri<\/a> \u00b7 <a href=\"https:\/\/www.inspirenignite.com\/jntuk\/ai-and-ds-1st-sem-syllabus-r23\/\">AI&amp;DS<\/a> \u00b7 <a href=\"https:\/\/www.inspirenignite.com\/jntuk\/ai-and-ml-1st-sem-syllabus-r23\/\">AI&amp;ML<\/a> \u00b7 <a href=\"https:\/\/www.inspirenignite.com\/jntuk\/auto-1st-sem-syllabus-r23\/\">Auto<\/a> \u00b7 <a href=\"https:\/\/www.inspirenignite.com\/jntuk\/civil-1st-sem-syllabus-r23\/\">Civil<\/a> \u00b7 <a href=\"https:\/\/www.inspirenignite.com\/jntuk\/cs-1st-sem-syllabus-r23\/\">CS<\/a> \u00b7 <a href=\"https:\/\/www.inspirenignite.com\/jntuk\/csbs-1st-sem-syllabus-r23\/\">CSBS<\/a> \u00b7 <a href=\"https:\/\/www.inspirenignite.com\/jntuk\/csd-1st-sem-syllabus-r23\/\">CSD<\/a> \u00b7 <a href=\"https:\/\/www.inspirenignite.com\/jntuk\/cse-1st-sem-syllabus-r23\/\">CSE<\/a> \u00b7 <a href=\"https:\/\/www.inspirenignite.com\/jntuk\/cse-ai-and-ml-1st-sem-syllabus-r23\/\">CSE (AI&amp;ML)<\/a> \u00b7 <a href=\"https:\/\/www.inspirenignite.com\/jntuk\/cse-iot-and-cs-1st-sem-syllabus-r23\/\">CSE (IoT &amp; CS)<\/a> \u00b7 <a href=\"https:\/\/www.inspirenignite.com\/jntuk\/cyber-security-1st-sem-syllabus-r23\/\">Cyber Security<\/a> \u00b7 <a href=\"https:\/\/www.inspirenignite.com\/jntuk\/ece-1st-sem-syllabus-r23\/\">ECE<\/a> \u00b7 <a href=\"https:\/\/www.inspirenignite.com\/jntuk\/eee-1st-sem-syllabus-r23\/\">EEE<\/a> \u00b7 <a href=\"https:\/\/www.inspirenignite.com\/jntuk\/food-engg-1st-sem-syllabus-r23\/\">Food Engg<\/a> \u00b7 <a href=\"https:\/\/www.inspirenignite.com\/jntuk\/it-1st-sem-syllabus-r23\/\">IT<\/a> \u00b7 <a href=\"https:\/\/www.inspirenignite.com\/jntuk\/mech-1st-sem-syllabus-r23\/\">Mech<\/a> \u00b7 <a href=\"https:\/\/www.inspirenignite.com\/jntuk\/mining-1st-sem-syllabus-r23\/\">Mining<\/a> \u00b7 <a href=\"https:\/\/www.inspirenignite.com\/jntuk\/pharma-engg-1st-sem-syllabus-r23\/\">Pharma Engg<\/a><\/td>\n<\/tr>\n<\/table>\n<h2>Course Objectives<\/h2>\n<p>The course aims to give students hands \u00b1 on experience and train them on the concepts of the C- programming language.<\/p>\n<h2>Course Outcomes<\/h2>\n<ol>\n<li>Read, understand, and trace the execution of programs written in C language.<\/li>\n<li>Select the right control structure for solving the problem.<\/li>\n<li>Develop C programs which utilize memory efficiently using programming constructs like pointers.<\/li>\n<li>Develop, Debug and Execute programs to demonstrate the applications of arrays, functions, basic concepts of pointers in C.<\/li>\n<\/ol>\n<h2>Unit I<\/h2>\n<p><i>Week 1<br \/><\/i>Objective: Getting familiar with the programming environment on the computer and writing the first program.<\/p>\n<p><i>Suggested Experiments<br \/><\/i>Tutorial 1: Problem-solving using Computers.Lab 1: Familiarization with programming environmenti) Basic Linux environment and its editors like Vi, Vim &amp; Emacs etc.ii) Exposure to Turbo C, gcciii) Writing simple programs using printf(), scanf()<\/p>\n<p><i>Week 2<br \/><\/i>Objective: Getting familiar with how to formally describe a solution to a problem in a series of finite steps both using textual notation and graphic notation.<\/p>\n<p><i>Suggested Experiments<br \/><\/i>Tutorial 2: Problem-solving using Algorithms and Flow charts.Lab 1: Converting algorithms\/flow charts into C Source code.Developing the algorithms\/flowcharts for the following sample programsi) Sum and average of 3 numbersii) Conversion of Fahrenheit to Celsius and vice versaiii) Simple interest calculation<\/p>\n<p><i>Week 3<br \/><\/i>Objective: Learn how to define variables with the desired data-type, initialize them with appropriate values and how arithmetic operators can be used with variables and constants.<\/p>\n<p><i>Suggested Experiments<br \/><\/i>Tutorial 3: Variable types and type conversions:Lab 3: Simple computational problems using arithmetic expressions.i) Finding the square root of a given numberii) Finding compound interestiii) Area of a triangle using heron\u00ads formulaeiv) Distance travelled by an object<\/p>\n<h4 id=\"istudy\">iStudy<\/h4>\n<h2>Unit II<\/h2>\n<p><i>Week 4<br \/><\/i>Objective: Explore the full scope of expressions, type-compatibility of variables &amp; constants and operators used in the expression and how operator precedence works.<\/p>\n<p><i>Suggested Experiments<br \/><\/i>Tutorial4: Operators and the precedence and as associativity:Lab4: Simple computational problems using the operator\u00ad precedence and associativityi) Evaluate the following expressions.<\/p>\n<ol type=\"a\">\n<li>A+B*C+(D*E) + F*G<\/li>\n<li>A\/B*C-B+A*D\/3<\/li>\n<li>A+++B&#8212;A<\/li>\n<li>J= (i++) + (++i)<\/li>\n<p>ii) Find the maximum of three numbers using conditional operatoriii) Take marks of 5 subjects in integers, and find the total, average in float<\/ol>\n<p><i>Week 5<br \/><\/i>Objective: Explore the full scope of different variants of \u00aeif construct\u00af namely if-else, null-else, if-else if*-else, switch and nested-if including in what scenario each one of them can be used and how to use them. Explore all relational and logical operators while writing conditionals for \u00aeif construct\u00af.<\/p>\n<p><i>Suggested Experiments<br \/><\/i>Tutorial 5: Branching and logical expressions:Lab 5: Problems involving if-then-else structures.i) Write a C program to find the max and min of four numbers using if-else.ii) Write a C program to generate electricity bill.iii) Find the roots of the quadratic equation.iv) Write a C program to simulate a calculator using switch case.v) Write a C program to find the given year is a leap year or not.<\/p>\n<p><i>Week 6<br \/><\/i>Objective: Explore the full scope of iterative constructs namely while loop, do-while loop and for loop in addition to structured jump constructs like break and continue including when each of these statements is more appropriate to use.<\/p>\n<p><i>Suggested Experiments<br \/><\/i>Tutorial 6: Loops, while and for loopsLab 6: Iterative problems e.g., the sum of seriesi) Find the factorial of given number using any loop.ii) Find the given number is a prime or not.iii) Compute sine and cos seriesiv) Checking a number palindromev) Construct a pyramid of numbers.<\/p>\n<h2>Unit III<\/h2>\n<p><i>Week 7:<br \/><\/i>Objective: Explore the full scope of Arrays construct namely defining and initializing 1-D and 2-D and more generically n-D arrays and referencing individual array elements from the defined array. Using integer 1-D arrays, explore search solution linear search.<\/p>\n<p><i>Suggested Experiments<br \/><\/i>Tutorial 7: 1 D Arrays: searching.Lab 7:1D Array manipulation, linear searchi) Find the min and max of a 1-D integer array.ii) Perform linear search on1D array.iii) The reverse of a 1D integer arrayiv) Find 2\u00ads complement of the given binary number.v) Eliminate duplicate elements in an array.<\/p>\n<p><i>Week 8:<br \/><\/i>Objective: Explore the difference between other arrays and character arrays that can be used as Strings by using null character and get comfortable with string by doing experiments that will reverse a string and concatenate two strings. Explore sorting solution bubble sort using integer arrays.<\/p>\n<p><i>Suggested Experiments<br \/><\/i>Tutorial 8: 2 D arrays, sorting and Strings.Lab 8: Matrix problems, String operations, Bubble sorti) Addition of two matricesii) Multiplication two matricesiii) Sort array elements using bubble sortiv) Concatenate two strings without built-in functionsv) Reverse a string using built-in and without built-in string functions<\/p>\n<h2>Unit IV<\/h2>\n<p><i>Week 9:<br \/><\/i>Objective: Explore pointers to manage a dynamic array of integers, including memory allocation &amp; value initialization, resizing changing and reordering the contents of an arrayand memory de-allocation using malloc (), calloc (), realloc () and free () functions. Gain experience processing command-line arguments received by C<\/p>\n<p><i>Suggested Experiments<br \/><\/i>Tutorial 9: Pointers, structures and dynamic memory allocationLab 9: Pointers and structures, memory dereference.i) Write a C program to find the sum of a 1D array using malloc()ii) Write a C program to find the total, average of n students using structuresiii) Enter n students data using calloc() and display failed students listiv) Read student name and marks from the command line and display the student details along with the total.v) Write a C program to implement realloc()<\/p>\n<p><i>Week 10:<br \/><\/i>Objective: Experiment with C Structures, Unions, bit fields and self-referential structures(Singly linked lists) and nested structures<\/p>\n<p><i>Suggested Experiments<br \/><\/i>Tutorial 10: Bitfields, Self-Referential Structures, Linked listsLab10 : Bitfields, linked listsRead and print a date using dd\/mm\/yyyy format using bit-fields and differentiate the same without using bit- fieldsi) Create and display a singly linked list using self-referential structure.ii) Demonstrate the differences between structures and unions using a C program.iii) Write a C program to shift\/rotate using bitfields.iv) Write a C program to copy one structure variable to another structure of the same type.<\/p>\n<h2>Unit V<\/h2>\n<p><i>Week 11:<br \/><\/i>Objective: Explore the Functions, sub-routines, scope and extent of variables, doing some experiments by parameter passing using call by value. Basic methods of numerical integration<\/p>\n<p><i>Suggested Experiments<br \/><\/i>Tutorial 11: Functions, call by value, scope and extent,Lab 11: Simple functions using call by value, solving differential equations using Eulers theorem.i) Write a C function to calculate NCR value.ii) Write a C function to find the length of a string.iii) Write a C function to transpose of a matrix.iv) Write a C function to demonstrate numerical integration of differential equations using Euler\u00ads method<\/p>\n<p><i>Week 12:<br \/><\/i>Objective: Explore how recursive solutions can be programmed by writing recursive functions that can be invoked from the main by programming at-least five distinct problems that have naturally recursive solutions.<\/p>\n<p><i>Suggested Experiments<br \/><\/i>Tutorial 12: Recursion, the structure of recursive callsLab 12: Recursive functionsi) Write a recursive function to generate Fibonacci series.ii) Write a recursive function to find the lcm of two numbers.iii) Write a recursive function to find the factorial of a number.iv) Write a C Program to implement Ackermann function using recursion.v) Write a recursive function to find the sum of series.WEEK 13:Objective: Explore the basic difference between normal and pointer variables, Arithmeticoperations using pointers and passing variables to functions using pointers<\/p>\n<p><i>Suggested Experiments<br \/><\/i>Tutorial 13: Call by reference, dangling pointersLab 13: Simple functions using Call by reference, Dangling pointers.i) Write a C program to swap two numbers using call by reference.ii) Demonstrate Dangling pointer problem using a C program.iii) Write a C program to copy one string into another using pointer.iv) Write a C program to find no of lowercase, uppercase, digits and other characters using pointers.<\/p>\n<p><i>Week 14<\/i>Objective: To understand data files and file handling with various file I\/O functions. Explore the differences between text and binary files.<\/p>\n<p><i>Suggested Experiments<br \/><\/i>Tutorial 14: File handlingLab 14: File operationsi) Write a C program to write and read text into a file.ii) Write a C program to write and read text into a binary file using fread() and fwrite()iii) Copy the contents of one file to another file.iv) Write a C program to merge two files into the third file using command-line arguments.v) Find no. of lines, words and characters in a filevi) Write a C program to print last n characters of a given file.<\/p>\n<h2>Text Books<\/h2>\n<ol>\n<li>Ajay Mittal, Programming in C: A practical approach, Pearson.<\/li>\n<li>Byron Gottfried, Schaum&#039; s Outline of Programming with C, McGraw Hill<\/li>\n<\/ol>\n<h2>Reference Books<\/h2>\n<ol>\n<li>Brian W. Kernighan and Dennis M. Ritchie, The C Programming Language, PrenticeHall of India<\/li>\n<li>C Programming, A Problem-Solving Approach, Forouzan, Gilberg, Prasad, CENGAGE<\/li>\n<\/ol>\n<h4 id=\"istudy\">iStudy<\/h4>\n<h2>Related Subjects<\/h2>\n<ul>\n<li><a href=\"https:\/\/www.inspirenignite.com\/jntuk\/engineering-physics-syllabus-r23\/\">Engineering Physics<\/a><\/li>\n<li><a href=\"https:\/\/www.inspirenignite.com\/jntuk\/linear-algebra-and-calculus-syllabus-r23\/\">Linear Algebra and Calculus<\/a><\/li>\n<li><a href=\"https:\/\/www.inspirenignite.com\/jntuk\/basic-electrical-and-electronics-engineering-syllabus-r23\/\">Basic Electrical and Electronics Engineering<\/a><\/li>\n<li><a href=\"https:\/\/www.inspirenignite.com\/jntuk\/engineering-graphics-syllabus-r23\/\">Engineering Graphics<\/a><\/li>\n<li><a href=\"https:\/\/www.inspirenignite.com\/jntuk\/introduction-to-programming-syllabus-r23\/\">Introduction to Programming<\/a><\/li>\n<li><a href=\"https:\/\/www.inspirenignite.com\/jntuk\/it-workshop-syllabus-r23\/\">IT Workshop<\/a><\/li>\n<li><a href=\"https:\/\/www.inspirenignite.com\/jntuk\/engineering-physics-lab-syllabus-r23\/\">Engineering Physics Lab<\/a><\/li>\n<\/ul>\n<p><a href=\"https:\/\/www.inspirenignite.com\/jntuk\/jntuk-b-tech-syllabus-r23\/\">All JNTUK R23 syllabus<\/a><\/p>\n<div class=\"a9916ad81d5189659b0bfae0b37c143c\" data-index=\"2\" style=\"float: none; margin:10px 0 10px 0; text-align:center;\">\n<ins class=\"adsbygoogle\"\r\n     style=\"display:block; text-align:center;\"\r\n     data-ad-layout=\"in-article\"\r\n     data-ad-format=\"fluid\"\r\n     data-ad-client=\"ca-pub-1181153414625576\"\r\n     data-ad-slot=\"8060844699\"><\/ins>\r\n<script>\r\n     (adsbygoogle = window.adsbygoogle || []).push({});\r\n<\/script>\n<\/div>\n\n<div style=\"font-size: 0px; height: 0px; line-height: 0px; margin: 0; padding: 0; clear: both;\"><\/div>","protected":false},"excerpt":{"rendered":"<p>Computer Programming Lab is a subject in semester 1 of JNTUK R23 B.Tech. for all 19 B.Tech. branches. The full unit-wise syllabus is below. Subject name Computer Programming Lab Regulation [&hellip;]<\/p>\n","protected":false},"author":3403,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"istudy_subject_id":"jntuk\/r23\/computer-programming-lab","istudy_cta":"Study Computer Programming Lab on your phone: syllabus, notes and previous year question papers in iStudy.","istudy_regulation":"R23","istudy_hash":"9be7703834392440","rank_math_title":"Computer Programming Lab Syllabus \u2013 JNTUK R23 (Unit-wise)","rank_math_description":"Computer Programming Lab syllabus, JNTUK R23; credits, outcomes, textbooks.","rank_math_focus_keyword":"computer programming lab syllabus r23","rank_math_primary_category":"85","footnotes":""},"categories":[85,7,23,74,75,19,14,76,77,78,10,79,80,81,11,12,82,15,13,83,84,2],"tags":[],"class_list":["post-9729","post","type-post","status-publish","format-standard","hentry","category-r23","category-1st-sem","category-agri","category-ai-and-ds","category-ai-and-ml","category-auto","category-civ","category-cs","category-csbs","category-csd","category-cse","category-cse-ai-and-ml","category-cse-iot-and-cs","category-cyber-security","category-ece","category-eee","category-food-engg","category-it","category-me","category-mining","category-pharma-engg","category-syllabus"],"_links":{"self":[{"href":"https:\/\/www.inspirenignite.com\/jntuk\/wp-json\/wp\/v2\/posts\/9729","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inspirenignite.com\/jntuk\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inspirenignite.com\/jntuk\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inspirenignite.com\/jntuk\/wp-json\/wp\/v2\/users\/3403"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inspirenignite.com\/jntuk\/wp-json\/wp\/v2\/comments?post=9729"}],"version-history":[{"count":0,"href":"https:\/\/www.inspirenignite.com\/jntuk\/wp-json\/wp\/v2\/posts\/9729\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.inspirenignite.com\/jntuk\/wp-json\/wp\/v2\/media?parent=9729"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inspirenignite.com\/jntuk\/wp-json\/wp\/v2\/categories?post=9729"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inspirenignite.com\/jntuk\/wp-json\/wp\/v2\/tags?post=9729"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}