Assignment Instructions and Programming Exercises, Exercises of Advanced Computer Programming

Instructions for submitting assignments, including file naming conventions and contact information. It also includes programming exercises for creating matrix functions, string functions, and interchanging odd and even elements in an array. Additionally, it provides a data set for calculating mean and standard deviation, and a palindrome checking function.

Typology: Exercises

2011/2012

Uploaded on 07/24/2012

omni
omni 🇮🇳

4.6

(9)

46 documents

1 / 3

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
i. No late assignment will accepted after the due date.
ii. Submit your assignment in zip file named as Roll#_A1on the margala folder,
without debug folder.
iii. Feel free to contact me at waheed.akram@live.com.
iv. In all question you should take the input from the user except the questions
where I have given the input.
v. Copy case will get Zero.
vi. Write all programs in VC++ using Microsoft Visual Studio 2003.
Remember start working early.
docsity.com
pf3

Partial preview of the text

Download Assignment Instructions and Programming Exercises and more Exercises Advanced Computer Programming in PDF only on Docsity!

i. No late assignment will accepted after the due date.

ii. Submit your assignment in zip file named as Roll#_A1on the margala folder,

without debug folder.

iii. Feel free to contact me at [email protected].

iv. In all question you should take the input from the user except the questions

where I have given the input.

v. Copy case will get Zero.

vi. Write all programs in VC++ using Microsoft Visual Studio 2003.

Remember start working early.

Q.1 : take input 2 x2 matrix as input, and make the following functions using only pointers/Arrays i) Addition of two matrixes ii) Subtraction of two matrixes iii) Multiplication of two matrixes (using standard method) iv) check whither matrix is Null. (15 )

Q.2: Make the functions as mystrlength, mystrcpy Mystrlength: take char string as input & return the numbers of characters in that string Int* mystrlength (char*) { ….. …. Return …. } Mystrcpy: take two char strings as input & copy 1st^ string to another …e.g. mystrcpy (A,B) In this case B will copy in A. Void mystrcpy(char,char) { …………… ………………. } (10)