0% found this document useful (0 votes)
2 views4 pages

Attachment 1bn

The document outlines an online assignment for the course INT102, detailing guidelines for submission, including the requirement for handwritten responses and specific formatting. It presents two sets of programming tasks for students, focusing on array manipulation and function usage to solve problems related to employee ages, attendance, and CGPA. Each task includes input formats, constraints, and expected output formats for clarity.

Uploaded by

Raja
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)
2 views4 pages

Attachment 1bn

The document outlines an online assignment for the course INT102, detailing guidelines for submission, including the requirement for handwritten responses and specific formatting. It presents two sets of programming tasks for students, focusing on array manipulation and function usage to solve problems related to employee ages, attendance, and CGPA. Each task includes input formats, constraints, and expected output formats for clarity.

Uploaded by

Raja
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/ 4

CA2: Online Assignment

Course Code: INT102


Allocation Date: 09-11-2021
Submission Date: 16-11-2022
IMPORTANT GUIDELINES:
1. The assignment will be a handwritten assignment and it should be submitted as a single
word/pdf document containing pictures of the attempted questions.
2. The student will attempt one question on each page which will contain his name, registration
number, roll number, section and signature.[Every page should have these
parameters(Handwritten)]
3. Copy cases will be marked zero.
Section: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Student Name: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Registration Number: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Roll Number: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Signature: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Set A(odd rollno)

1. The manager of the company has informed his assistant to enter the age
of all the workers working in production department. Among all he has to
find the employee with maximum age employee. Help the manager to
find the maximum age employee by storing the all age of all employee in
1D array dynamically. Use functions to solve the task.

Input Format

19 21 22 23 18

Constraints

All numbers should be greater than 0.If constraints are not matched then
display "wrong input"

Output Format

23
2. Suppose there is class of 30 students who have attendance between 40-
100%. The university has decided to give the bonus attendance between
for those students who have the attendance between 70-74% to make it
75%. Identify the students those have attendance after adding the bonus
attendance. Suppose students have its Roll_no & attendance. Add the
bonus attendance to the obtained final attendance of student through
array. Use functions to solve this tasks.

Input Format
The input should contain a roll_no, and attendance of 25 students.

Output Format
For each test case, display the roll_no and increased attendance of those
students only who lies between the obtained attendance of 70-74%.

3. Suppose there is class of 10 students who have CGPA between 0-10. The
university has decided to give the grace for those students those who have
the CGPA between 4.5 to 4.9 to make it 5. Identify the students those
have CGPA after adding the grace marks. Suppose students have its
Roll_no & CGPA. Add the grace CGPA to the obtained CGPA of student
by adding grace of 5 marks into the students through list comprehensions.

Input Format

The input should contains an array of roll_no,and CGPA of the students.

Constraints

CGPA must lies between 1.0 to 10.0 otherwise print "invalid input"

Output Format

For each test case, display the roll_no and increased CGPA of those
students only who lies between the obtained CGPA of 4.5-4.9
Set B(Even Rollno)

1. The manager of the company has informed his assistant to enter the
age of all the workers working in production department. Among all
he has to find the employee with minimum age employee. Help the
manager to find the minimum age employee by storing the all age of
all employees in 1D array. Use functions to solve this task.

Input Format

30 43 27 51 19

Constraints

All the inputs should be greater than 0 otherwise print wrong input

Output Format

19

2. Suppose the university has decided to announce bonus 1 PMS point to


employees those have PMS points more than 7. The appraisal will be
based on PMS points. We have an array of employees with UID and
PMS point . Display the list of employees those would be benefited
with bonus . The bonus should be added to the employees who have
UID and PMS through the concept of list comprehension.

Input Format
The input should contain list of employees with UID and PMS point.

Output Format
For each test case, display the UID and PMS point after bonus is being
added.

3. The manager of company has asked his assistant to present him with
the list the ages of all the workers working in manufacturing division
who are having the experience of 20 years. The assistant of thee
manager replied him with the list of 10 employees who are having the
experience of 20 years . Write a program that store the age of all 15
employees in 1D array and then print the total count of employees
whose age lies between 50 and 60. Use functions to solve this task
Input Format
57 49 54 48 59 55 46 57 58 60 58 62 56 70 73

Constraints
The Age of the employees should be greater than or equal to 40 and
less than or equal to 60.

If constraints do not match then show "wrong input"

Output Format
8

You might also like