QUIZ 1 Sec A 12102023 095513am

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

Fall 2023

Department of Electrical Engineering


Karachi Campus

QUIZ 1

Course Title: Object Oriented Programming Course Code: CSC 210


Class: BEE – 3A CLO: 01
Course Instructor: ENGR. ZUHAIR ARFEEN Date: 12-10-2023
Max. Marks: 3

(a) Write a python program which takes a character from user and decides whether the input is vowel
or consonant. (1 mark)

(b) Write a python program which accepts the radius of a circle from the user and compute the area.
(1 mark)

(c) Write a python program which takes a integer input from user and then adds the digits in the
integer. For e.g when the number is 1234 the result is 1+2+3+4=10. (1 mark)

You might also like