{"id":973,"date":"2018-01-31T07:43:06","date_gmt":"2018-01-31T07:43:06","guid":{"rendered":"http:\/\/www.inspirenignite.com\/vtu\/?p=973"},"modified":"2018-02-01T05:05:29","modified_gmt":"2018-02-01T05:05:29","slug":"vtu-beb-tech-2017-2018-detailed-syllabus-computer-programming-laboratory","status":"publish","type":"post","link":"https:\/\/www.inspirenignite.com\/vtu\/vtu-beb-tech-2017-2018-detailed-syllabus-computer-programming-laboratory\/","title":{"rendered":"VTU BE\/B.Tech (2017 \u2013 2018) Detailed Syllabus Computer Programming Laboratory"},"content":{"rendered":"<p>Computer Programming Laboratory\u00a0<span style=\"line-height: 1.5\">2017 &#8211; 2018 Syllabus\u00a0for BE\/B.Tech sem I &amp; sem II\u00a0is\u00a0covered here. This will help you to understand complete curriculum along with details such as exam marks and duration. The details are as follows.<\/span><\/p>\n<table>\n<tbody>\n<tr>\n<th>Subject Code<\/th>\n<th>17CPL 16 \/ 17CPL26<\/th>\n<th>IA Marks<\/th>\n<th>40<\/th>\n<\/tr>\n<tr>\n<td>Number of Lecture Hours\/Week<\/td>\n<td>01Hr Tutorial (Instructions) + 02 Hours Laboratory<\/td>\n<td>Exam Marks<\/td>\n<td>60<\/td>\n<\/tr>\n<tr>\n<td>Number of Lecture Hours<\/td>\n<td style=\"text-align: center\">48<\/td>\n<td>Exam Marks<\/td>\n<td>30<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"text-align: center\"><strong>CREDITS &#8211; 02<\/strong><\/p>\n<p><strong>Course objectives<\/strong>: To provide basic principles C programming language. To provide design &amp; develop of C programming skills. To provide practical exposures like designing flowcharts, algorithms, how to debug programs etc.<\/p>\n<p><strong>Descriptions (if any):\u00a0<\/strong>Demonstration of Personal Computer and its Accessories: Demonstration and Explanation on\u00a0Disassembly and Assembly of a Personal Computer by the faculty-in-charge. Students have to prepare a\u00a0write-up on the same and include it in the Lab record and evaluated.<br \/>\n<strong>Laboratory Session-1:<\/strong> Write-up on Functional block diagram of Computer, CPU, Buses, Mother Board,\u00a0Chip sets, Operating System &amp; types of OS, Basics of Networking &amp; Topology and NIC.<br \/>\n<strong>Laboratory Session-2:<\/strong> Write-up on RAM, SDRAM, FLASH memory, Hard disks, Optical media,CDROM\/R\/RW,\u00a0DVDs, Flash drives, Keyboard, Mouse, Printers and Plotters. Introduction to flowchart,\u00a0algorithm and pseudo code.<strong>Note:<\/strong> These TWO Laboratory sessions are used to fill the gap between theory classes and practical sessions.<br \/>\nBoth sessions are to be evaluated as lab experiments.<\/p>\n<p><strong>Laboratory Experiments:<\/strong><br \/>\nImplement the following programs with WINDOWS \/ LINUX platform using appropriate C compiler.<\/p>\n<ul>\n<li>Design and develop a flowchart or an algorithm that takes three coefficients (a, b, and c) of a\u00a0Quadratic equation (ax2+bx+c=0) as input and compute all possible roots. Implement a C\u00a0program for the developed flowchart\/algorithm and execute the same to output the possible\u00a0roots for a given set of coefficients with appropriate messages.<\/li>\n<li>Design and develop an algorithm to find the reverse of an integer number NUM and check\u00a0whether it is PALINDROME or NOT. Implement a C program for the developed algorithm\u00a0that takes an integer number as input and output the reverse of the same with suitable\u00a0messages. Ex: Num: 2014, Reverse: 4102, Not a Palindrome<\/li>\n<li>3a. Design and develop a flowchart to find the square root of a given number N. Implement\u00a0a C program for the same and execute for all possible inputs with appropriate messages.<br \/>\n<strong>Note: Don\u2019t use library function sqrt(n)\u00a0<\/strong>3b. Design and develop a C program to read a year as an input and find whether it is leap year or\u00a0not. Also consider end of the centuries.<\/li>\n<li>Design and develop an algorithm to evaluate polynomial\u00a0f(x) = a4x 4 + a3x 3 + a2x 2 + a1x + a0, \u00a0for a given value of x and its coefficients using Horner\u2019s method. Implement a C program\u00a0for the same and execute the program with different set of values of coefficients and x.<\/li>\n<li>Draw the flowchart and Write a C Program to compute Sin(x) using Taylor series approximation\u00a0given by\u00a0Sin(x) = x &#8211; (x3 \/3!) + (x5 \/5!) &#8211; (x7 \/7!) + \u2026\u2026. \u00a0Compare your result with the built- in Library function. Print both the results with appropriate\u00a0messages.<\/li>\n<li>Develop an algorithm, implement and execute a C program that reads N integer numbers and\u00a0arrange them in ascending order using Bubble Sort.<\/li>\n<li>Develop, implement and execute a C program that reads two matrices A (m x n ) and B\u00a0(p x q ) and Compute product of matrices A and B. Read matrix A and matrix B in row\u00a0major order and in column major order respectively. Print both the input matrices and resultant\u00a0matrix with suitable headings and output should be in matrix format only. Program must\u00a0check the compatibility of orders of the matrices for multiplication. Report appropriate\u00a0message in case of incompatibility.<\/li>\n<li>Develop, implement and execute a C program to search a Name in a list of names using Binary\u00a0searching Technique.<\/li>\n<li>Write and execute a C program that<br \/>\ni. Implements string copy operation STRCOPY(str1,str2) that copies a string str1 to \u00a0another string str2 without using library function.<br \/>\nii. Read a sentence and print frequency of vowels and total count of consonants.<\/li>\n<li>a. Design and develop a C function RightShift(x ,n) that takes two integers x and n as\u00a0input and returns value of the integer x rotated to the right by n positions. Assume the\u00a0integers are unsigned. Write a C program that invokes this function with different values\u00a0for x and n and tabulate the results with suitable headings.<br \/>\nb. Design and develop a C function isprime(num) that accepts an integer argument and\u00a0returns 1 if the argument is prime, a 0 otherwise. Write a C program that invokes this\u00a0function to generate prime numbers between the given range.<\/li>\n<li>Draw the flowchart and write a recursive C function to find the factorial of a number, n!, defined by\u00a0fact(n)=1, if n=0. Otherwise fact(n)=n*fact(n-1). Using this function, write a C program to compute\u00a0the binomial coefficient nCr\u00a0Tabulate the results for different values of n and r with suitable\u00a0messages.<\/li>\n<li>Given two university information files \u201cstudentname.txt\u201d and \u201cusn.txt\u201d that contains students\u00a0Name and USN respectively. Write a C program to create a new file called \u201coutput.txt\u201d and\u00a0copy the content of files \u201cstudentname.txt\u201d and \u201cusn.txt\u201d into output file in the sequence\u00a0shown below . Display the contents of output file \u201coutput.txt\u201d on to the screen.<\/li>\n<li style=\"list-style-type: none\"><\/li>\n<li style=\"list-style-type: none\">\n<table style=\"height: 105px\" width=\"582\">\n<tbody>\n<tr>\n<th>Student Name<\/th>\n<th>USN<\/th>\n<\/tr>\n<tr>\n<th>Name 1<\/th>\n<th>USN 1<\/th>\n<\/tr>\n<tr>\n<th>Name 1<\/th>\n<th>USN 2<\/th>\n<\/tr>\n<tr>\n<th>&#8230;&#8230;&#8230;<\/th>\n<th>&#8230;&#8230;&#8230;<\/th>\n<\/tr>\n<tr>\n<th>&#8230;&#8230;&#8230;<\/th>\n<th>&#8230;&#8230;&#8230;<\/th>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/li>\n<li style=\"list-style-type: none\">\n<ol>13. Write a C program to maintain a record of n student details using an array of structures with\u00a0four fields (Roll number, Name, Marks, and Grade). Assume appropriate data type for each\u00a0field. Print the marks of the student, given the student name as input.<\/ol>\n<\/li>\n<\/ul>\n<p>14. Write a C program using pointers to compute the sum, mean and standard deviation of all elements\u00a0stored in an array of n real numbers.<\/p>\n<p><strong>Course outcomes:<\/strong><\/p>\n<ul>\n<li>Gaining Knowledge on various parts of a computer.<\/li>\n<li>Able to draw flowcharts and write algorithms<\/li>\n<li>Able design and development of C problem solving skills.<\/li>\n<li>Able design and develop modular programming skills.<\/li>\n<li>Able to trace and debug a program<\/li>\n<\/ul>\n<p><strong>Conduction of Practical Examination:<\/strong><\/p>\n<ul>\n<li>\u00a0All laboratory experiments ( nos ) are to be included for practical examination.<\/li>\n<li>Students are allowed to pick one experiment from the lot.<\/li>\n<li>\u00a0Strictly follow the instructions as printed on the cover page of answer script for breakup of\u00a0marks<\/li>\n<li>Change of experiment is allowed only once and 15% Marks allotted to the procedure part to be\u00a0made zero.<\/li>\n<\/ul>\n<p><em>For all other B.E \/\u00a0B.Tech Sem 1st and 2nd \u00a0syllabus go to <strong><a href=\"https:\/\/www.inspirenignite.com\/vtu\/vtu-b-e-b-tech-first-and-second-sem-course-structure-under-cbcs-scheme-for-2017-2018-admitted-batch\/\">VTU B.E \/\u00a0B.Tech 1st and 2nd Year Sem Course Structure for (2017 \u2013 2018) Batch.<\/a><\/strong><\/em><\/p>\n<p><em>All details and cutoffs for previous years are provided at Inspire n Ignite (InI). For all updates please like us on Facebook and follow us on google plus.<\/em><\/p>\n<p><em>Do share this with friends and in case of questions please feel free to drop comments.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Computer Programming Laboratory\u00a02017 &#8211; 2018 Syllabus\u00a0for BE\/B.Tech sem I &amp; sem II\u00a0is\u00a0covered here. This will help you to understand complete curriculum along with details such as exam marks and duration. [&hellip;]<\/p>\n","protected":false},"author":2259,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"footnotes":""},"categories":[2,3,15],"tags":[],"class_list":["post-973","post","type-post","status-publish","format-standard","hentry","category-1st-sem","category-2nd-sem","category-syllabus"],"_links":{"self":[{"href":"https:\/\/www.inspirenignite.com\/vtu\/wp-json\/wp\/v2\/posts\/973","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inspirenignite.com\/vtu\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inspirenignite.com\/vtu\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inspirenignite.com\/vtu\/wp-json\/wp\/v2\/users\/2259"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inspirenignite.com\/vtu\/wp-json\/wp\/v2\/comments?post=973"}],"version-history":[{"count":7,"href":"https:\/\/www.inspirenignite.com\/vtu\/wp-json\/wp\/v2\/posts\/973\/revisions"}],"predecessor-version":[{"id":980,"href":"https:\/\/www.inspirenignite.com\/vtu\/wp-json\/wp\/v2\/posts\/973\/revisions\/980"}],"wp:attachment":[{"href":"https:\/\/www.inspirenignite.com\/vtu\/wp-json\/wp\/v2\/media?parent=973"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inspirenignite.com\/vtu\/wp-json\/wp\/v2\/categories?post=973"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inspirenignite.com\/vtu\/wp-json\/wp\/v2\/tags?post=973"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}