Sie sind auf Seite 1von 2

LOVELY PROFESSIONAL UNIVERSITY MODEL HOME WORK: #2 School: LSE Name of the faculty member: Course Title: Foundations

of Computing Max. Marks: 05 Part-A Note: All programs must have relevant comments after every statement written. Department: CSE/IT Course No: Section: CSE101 b4004

Q. 1

Write a function that will scan a character string passed as an argument and convert all lowercase letters onto uppercase letters.

Q. 2 Write different functions which performs the following tasks:a. showing the effect of using break in looping. b. showing the effect of using the continue in looping. c. showing the effect of using break in switch statement. Q. 3 Is it possible to call library functions recursively? How show with example? Part-B Note: All programs must have relevant comments after every statement written. Q. 4 Any character is entered through the keyboard. Write a program to determine whether the character entered is a capital case letter or lower case letter, a digit or special symbol Q. 5 Write a program to generate m n size matrix with the help of two dimensional arrays with the following features:a. Sum of all the elements of m n size matrix should be more than 200. b. user must be provided with an interface to sum all the elements of individual rows and columns at run time by just entering the row or column no respectively. Q. 6 Write a program to create an array with the following features: a. . The data of at least 05 identifiers and 05 keywords of C Language. b. User must be able to search the stored information at run time. If user enters any data which does not match with the stored data, he/she should be prompted to search again or to quit the application.

Date: Remarks by HOD (Mandatory) Remarks by HOS (Mandatory)

Sig. of Faculty member Sig. of HOD with date Sig. of HOS with date

Das könnte Ihnen auch gefallen