0% found this document useful (0 votes)
6 views

COM 101 Lab2 Logic Operations

Uploaded by

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

COM 101 Lab2 Logic Operations

Uploaded by

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

COM 101: Introduction to Computer Science

Lab2: Logic operations using Excel


Fall 20241

Student Name: ------------------------------------


Student ID: -----------------------------------------

Objectives: The student is expected to perform simple logic (AND / OR)


operations using MS Excel in this lab.

Section-1: AND (&&) operation


In this section, we need to determine if a student passes a semester or
fails, using the following scenario:
- Student is taking only two courses
- To pass the semester, students need to pass both courses (pass
course_1 and (&&) pass course_2)
- To pass one course, students need to score 60 or above.

Using Excel, fill in the table below


- The figure below shows the equation used to determine whether the
student passed or failed course 1. Use similar equations for all
students for courses 1 and 2.

- The figure below shows the equation used to determine whether the
student passed or failed the whole semester. Use similar equations for all
students to determine the passing or failing students.

- Show your work to the instructor.


Section-2: OR (| |) operation
In this section, we need to determine if an employee deserves a bonus or
not based on his sales performance in 2023 and 2024 based on the
following scenario:
- The target sales for 2023 was 250,000 AED.
- The target sales for 2024 is 300,000 AED.
- An employee deserves a bonus if he/she manages to meet or
exceed his/her target sales in 2023 OR (| |) if he/she meets or
exceeds his/her target sales in 2024.
Using Excel, fill in the table below

- Use similar equations to the ones you used in section 1 to determine


whether the target sales was achieved in 2023 and 2024.

- The figure below shows the equation used to determine whether the
employee deserves a bonus or not. Use similar equations for all
employees to determine if they also deserve a bonus.

- Show your work to the instructor.

You might also like