[go: up one dir, main page]

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

It101 Week

This document contains: 1) Two laboratory exercises involving drawing flowcharts to check if a number is above 100 or if a person is a teen. 2) Two personal activities involving drawing flowcharts to check if a number is odd or even, and if a year is a leap year.
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)
42 views2 pages

It101 Week

This document contains: 1) Two laboratory exercises involving drawing flowcharts to check if a number is above 100 or if a person is a teen. 2) Two personal activities involving drawing flowcharts to check if a number is odd or even, and if a year is a leap year.
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/ 2

NAME: DAYAGANON, DANIELA M. DATE OF SUBMISSION: SEP.

27, 2021

COURSE/YEAR/SET: BSCE 1-A SUBJECT CODE: IT101

LABORATORY EXERCISE:

1. Draw a flowchart that will check if the number is above 100. Print “Strong” if true, print “Weak”
if false. Use the if else statement.

START tR

Int number

Input a
number

number > 100


TRUE FALSE

Print Print
“Strong” “Weak”

END

2. Draw a flowchart that will check if a person is a teen (13-19). Print “Teen” if true, “Note Teen” if false.

START tR

Int age

Input age

Age 13>=19
TRUE FALSE

Print
Print
“Teen”
“Not Teen”

END
PERSONAL ACTIVITY:

1. Draw a flowchart that will check whether a number is odd or even.

START tR

Int number

Input a
Number

If Number
YES %2==0 NO

Print N is Print N is
“EVEN” “ODD”

END

2. Draw a flowchart that will check if a Leap Year.

START tR

Int Year

Input Year

Is (year %4==0 AND


year % 100! =0) OR
(year %400==0)
NO YES

Print
Print
“It is a Leap year”
“It is not a Leap year”

END

You might also like