2139
2139
Course Objectives:
Course Prerequisites:
Course
Topic Course name Semester
code
Introduction to IT systems
Basic knowledge in Computer systems I
Lab
Course Outcomes :
Duration
COn Description Cognitive Level
(Hours)
Apply basic programming concepts to solve simple
CO1 10 Applying
mathematical problems.
Lab Exam 3
CO – PO Mapping
Course
PO1 PO2 PO3 PO4 PO5 PO6 PO7
Outcomes
CO1 3 3
CO2 3 3
CO3 3 3
CO4 3 3 3 3 3
Course Outline
Module Duration
Name of the Experiment Cognitive Level
Outcomes (Hours)
(Not for End Semester Examination but compulsory to be included in Continuous Internal
Evaluation. Students can do open ended experiments as a group of 2-3. There is no
duplication in experiments between groups)
1. Write a program that computes the cost of a long-distance call. The cost of the call is
determined according to the following rate schedule:
Any call started between 8:00 am and 6:00 pm, Monday through Friday, is billed at a
rate of ₹ 0.40 per minute.
Any call starting before 8:00 am or after 6:00 pm, Monday through Friday, is charged
at a rate of ₹ 0.25 per minute.
Any call started on a Saturday or Sunday is charged at a rate of ₹0.15 per minute.
The input will consist of the day of the week, the time the call started, and the length
of the call in minutes. The output will be the cost of the call. The time is to be input in
24-hour notation, so the time 1:30 pm is input as 13:30.
The program should include a loop that lets the user repeat this calculation until the
user says she or he is done.
Text / Reference
Online Resources