0% found this document useful (0 votes)
44 views5 pages

Pateros Catholic School: Senior High School Department SY 2020-2021

The document is a programming activity task sheet assigning students to create a scientific calculator program. It lists learning competencies around variables, arrays, syntax, and functions. It provides requirements for the program to accept user input, pass it to a function, and include minimum one function. It asks students to provide an algorithm, flowchart, and program implementing the task.

Uploaded by

Jenel Lopez
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)
44 views5 pages

Pateros Catholic School: Senior High School Department SY 2020-2021

The document is a programming activity task sheet assigning students to create a scientific calculator program. It lists learning competencies around variables, arrays, syntax, and functions. It provides requirements for the program to accept user input, pass it to a function, and include minimum one function. It asks students to provide an algorithm, flowchart, and program implementing the task.

Uploaded by

Jenel Lopez
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/ 5

PATEROS CATHOLIC SCHOOL

Senior High School Department


F. Imson St., San Pedro, Pateros, Metro Manila
SY 2020-2021

PROGRAMMING
ACTIVITY TASK SHEET No. 4

Learning Competencies:
1.1. Creating variables
1.2. Identifying arrays in programming
1.3. Writing code using the correct syntax in programming
1.4. Using functions in running programs

Name of Student: Michael, Arzee Luiz I. Grade and Section: 11-Blessed Nicolas Steno

PROGRAMMING EXERCISE

Program Name: SCI-CAL!

Task: Create a program that accepts user’s input and pass it to a function, your goal is to create scientific
calculator like program wherein you will include all the math-functions in one program.

REQUIREMENTS: MINIMUM OF 1 FUNCTION

Total number inputs from the user: MAX OF 4 (Q: Why 4? A: There are math functions that has 3
parameters.)

EXAMPLE: User enters log 24


The expected output by the program is:

1. ALGORITHM

1.1. Create an algorithm that produces the output above.

ALGORITHM

• Run the program


• Declare the variables
• Look for and determine the User’s input
• Insert the user’s input after identifying
• Input the codes
• Input the answers on different holders
• Execute the answer
• Show the results of the output
• End the program
2. FLOWCHARTING
2.1. Create a flowchart that produces the output above using function.

FLOWCHART TITLE -

Start

Enter your
desired number

Determine the
number

Run the numbers


through
mathematical
operations

Store the answers on the


holders

Show the output

End
3. PROGRAMMING USING JDOODLE

3.1. Using Visual studio or you can use this free website: https://www.jdoodle.com/online-compiler-c++/
3.2. Create a program that combines all the math functions.

PROGRAM
EXPECTED OUTPUT

You might also like