| COMPUTER PROGRAMMING LABORATORY |
|
|
|
| Written by Administrator | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Thursday, 24 September 2009 09:14 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
PART – A
(i) Set left margin 1” and right margin 0.75” (ii) Centre the heading and make it bold. Increase the font size (iii) Underline the specified words in the document and change them to italics (iv) Conduct spell check and correct them suitably (v) Demonstrate use of numbering and bullets (vi) Exchange paragraphs 2 and 3 using cut and paste facility (vii) Put suitable headers and footers (viii) Count the number of words and lines (ix) Demonstrate use of drawing tools (x) Include suitable logo/emblem/symbol
(Using looping constructs)
(Using looping constructs)
PART – B
(i) to input N integer numbers into a single dimension array. (ii) to conduct a linear search. Using these functions, write a C program to accept the N integer numbers & given key integer number and conduct a linear search. Report success or failure in the form of a suitable message.
(i) to input N integer numbers into a single dimension array. (ii) to sort the integer numbers in ascending order using bubble sort technique. (iii) To print the single dimension array elements. Using these functions, write a C program to input N integer numbers into a single dimension array, sort them in ascending order, and print both the given array & the sorted array with suitable headings.
(i) to input N integer numbers into a single dimension array. (ii) to sort the integer numbers in descending order using selection sort technique. (iii) To print the single dimension array elements. Using these functions, write a C program to input N integer numbers into a single dimension array, sort them in descending order, and print both the given array & the sorted array with suitable headings.
(i) to input N real numbers into a single dimension array. (ii) compute their mean. (iii) compute their variance (iv) compute their standard deviation. Using these functions, write a C program to input N real numbers into a single dimension array, and compute their mean, variance & standard deviation. Output the computed results with suitable headings.
(i) To read the elements of a given matrix of size M x N (ii) To print the elements of a given matrix of size M x N (iii) To compute the product of two matrices Using these functions, write a C program to read two matrices A(M x N) and B(P x Q) and compute the product of A and B after checking compatibility for multiplication. Output the input matrices and the resultant matrix with suitable headings and format. (Using two dimension arrays where array size M, N, P,Q ≤ 3)
(i) Sum of the elements of the specified row (ii) Sum of the elements of the specified column (iii) Sum of all the elements of the matrix Output the computed results with suitable headings.
Reference Book :
Programming Techniques through C, M.G. V. Murthy, Pearson Education, 2002
Note: In the practical examination the student has to answer two questions. One question from Part A and one question from Part B will be selected by the student by lots. All the questions listed in the syllabus have to be included in the lots. The change of question (Part A only / Part B only / Both Part A & Part B) has to be considered, provided the request is made for the same, within half an hour from the start of the examination. The allotment of marks is as detailed below:
* To be considered as zero if student has been allowed change of question. ** One of the viva-voce questions shall be to ask the student to identify some of the following parts of a typical Personal Computer System: Motherboard, Extension board, SMPS, CPU, HDD, FDD, Primary Memory, Various ports.
*********** |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||