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

Assignment 4 Task 1

This document outlines an assignment for an Enterprise Application Development course. The assignment asks students to [1] develop a scientific calculator application in C# that implements all the functionalities of the Windows 10 scientific calculator, including basic math operations, trigonometric functions, exponents, logarithms, and more. It notes that functions missing from the original Windows calculator will result in mark deductions. The application should also handle exceptions like division by zero, multiple operators entered consecutively, missing operands, and consecutive decimal points. Students are instructed to work individually, discuss only with TAs, and submit their tasks by a deadline.

Uploaded by

HAMZA JAVED
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)
11 views2 pages

Assignment 4 Task 1

This document outlines an assignment for an Enterprise Application Development course. The assignment asks students to [1] develop a scientific calculator application in C# that implements all the functionalities of the Windows 10 scientific calculator, including basic math operations, trigonometric functions, exponents, logarithms, and more. It notes that functions missing from the original Windows calculator will result in mark deductions. The application should also handle exceptions like division by zero, multiple operators entered consecutively, missing operands, and consecutive decimal points. Students are instructed to work individually, discuss only with TAs, and submit their tasks by a deadline.

Uploaded by

HAMZA JAVED
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

Punjab University College Of Information Technology

Wasim Ahmed Khan

Enterprise Application Development


Spring 2020
Assignment 3
Issue Date: February 28, 2020

The objective of this assignment is to:


1. Understand some N-Tier and file handling in C#

Instructions!

1. This is an individual assignment, you are strictly NOT allowed to discuss your
solutions with your fellow colleagues, even not allowed asking how is he/she is
doing, it may result in negative marking. You can ONLY discuss with your TAs or
with me.

2. Send your tasks on submithere1@[Link] till Monday (March 16, 2020) 5PM.
Late submission will not be accepted.

3. Subject of your email should be your roll number and assignment e.g.
BSEF17M5**(Assignment 4+task 1)

4. If you have any ambiguity post an email at [Link]@[Link] or


bsef16m542@[Link] , bcsf16m533@[Link] , bcsf16m526@[Link] ,
bcsf16m515@[Link]

5. Use only C# language to do these tasks. Languages other than C# will not be accepted.

Task 01: [20 Marks]

You have to develop a scientific calculator exactly like one available in windows 10. The
calculator should implement all the functionalities of windows scientific calculator
Example functions are:

• Addition, Subtraction, Multiplication, Division, Mode, Exponent


• Square, Cube, log, ln, factorial • Sin, cos, tan, cot, csc, sec
• Inverse of Sin, cos, tan, cot, csc, sec
• Square root, cube root
• Clear button, Backspace button, pi(3.14) button, point button
• Log with any base, 2^(2 raise to power),e^(e raise to power)
Punjab University College Of Information Technology
Wasim Ahmed Khan

• Inverse of a number x (i-e: 1/x), x raise to power y (x^y e.g : 4^5=1024 where x=4
and y=5)

NOTE: If the implementation of any one function (from original windows calculator) will be
missing, it will result in marks deduction.

• You need to handle exceptions like:


i. Divided by 0
ii. Two operators entered consecutively (2++2 or 3+*6)
iii. Operand missing after operator (2+)
iv. No consecutive decimal points.

You might also like