0% found this document useful (0 votes)
29 views2 pages

Mahatma Gandhi University: Time: Three Hours Maximum:80 Marks

New

Uploaded by

sajimonksajeev
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
29 views2 pages

Mahatma Gandhi University: Time: Three Hours Maximum:80 Marks

New

Uploaded by

sajimonksajeev
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

QP_CODE: SL-I2023 06FN01

MAHATMA GANDHI UNIVERSITY


First Semester BCA/B. Sc. Computer Application (CBCS 2017 Admission onwards)
Examinations- February 2023 Software Lab I
Time: Three Hours Maximum:80 marks
Answer both the questions
(Answer both questions- Marks: - First question - 25, Second question - 35, Record- 10 and Viva – 10)

1. Write a program to determine the position of uppercase or lowercase character in the alphabets.
Using elseif ladder. Do not use library functions.
[ hint: enter an element check the element is digit, uppercase, lowercase or special character or not if uppercase or
lowercase character then determine position]
2. Write a program to sort an array using user defined functions (create, sort and display) pass
parameters. Check all validations. Do not use library functions.

QP_CODE: SL-I2023 06FN02

MAHATMA GANDHI UNIVERSITY


First Semester BCA/B. Sc. Computer Application (CBCS 2017 Admission onwards)
Examinations- February 2023 Software Lab I
Time: Three Hours Maximum:80 marks
Answer both the questions
(Answer both questions- Marks: - First question - 25, Second question - 35, Record- 10 and Viva – 10)

1. Write a program to find the summation of the series S=x+x2/2!- x3/3!+x4 /4! + ……… n terms. Do not
use any type of library functions.

2. Write a program to delete more than one element from an array using user defined functions
(create, delete, display) pass parameters. Check all validations. [Hint: - do not enter the size/number of
elements to be deleted from array. Use do you want to continue to delete another element concept.]

QP_CODE: SL-I2023 06FN03

MAHATMA GANDHI UNIVERSITY


First Semester BCA/B. Sc. Computer Application (CBCS 2017 Admission onwards)
Examinations- February 2023 Software Lab I
Time: Three Hours Maximum:80 marks
Answer both the questions
(Answer both questions- Marks: - First question - 25, Second question - 35, Record- 10 and Viva – 10)

1. Write a program to find largest and second largest element of a list of numbers. Do not use array and
library functions. (Enter minimum 5 numbers) [hint: – eg. -2, -1, -2, -1, -3-> largest -1 second largest -2].
2. Write a user defined function (for read, check and display) program to check whether the given
string is palindrome or not. Do not use any library functions. Pass parameters to the user defined
functions.
QP_CODE: SL-I2023 06FN04

MAHATMA GANDHI UNIVERSITY


First Semester BCA/B. Sc. Computer Application (CBCS 2017 Admission onwards)
Examinations- February 2023 Software Lab I
Time: Three Hours Maximum:80 marks
Answer both the questions
(Answer both questions- Marks: - First question - 25, Second question - 35, Record- 10 and Viva – 10)

1. Write a program to enter a list of numbers and find average of odd numbers from the list. Do not use
array.
2. Write a program to multiply two matrices using user defined functions (create, multiply, display) and
pass parameters.

QP_CODE: SL-I2023 06FN05

MAHATMA GANDHI UNIVERSITY


First Semester BCA/B. Sc. Computer Application (CBCS 2017 Admission onwards)
Examinations- February 2023 Software Lab I
Time: Three Hours Maximum:80 marks
Answer both the questions
(Answer both questions- Marks: - First question - 25, Second question - 35, Record- 10 and Viva – 10)

1. Write a program to determine the grade of a student with all validations using nested if. Given marks
of 5 subjects. Do not use library functions and array.
Enter five subject marks and find the score. Based on the score
Score in subject Grade
>=90 A
80-89 B
70-79 C
60-69 D
50-59 E
<50 F
(hint: using 5 marks find grade based on percentage of marks scored by the student, check minimum pass mark
of each subject also mark range between 0 and 100)

2. Write a program to check whether the given matrix is symmetric or not using user defined functions
(read, check and display) and pass parameters.

You might also like