SlideShare a Scribd company logo

Weekly Assessment # 2.docx

Weekly Assessment # 2.docx

Weekly Assessment # 2.docx

1 of 7
Download to read offline
Weekly Assessment # 2
Programming I
General Instruction: Write a flowchart of the following problems below. You may put your answers
here.
Example:
Problem: Add two numbers entered by the user.
Algorithm:
 Declare variables n1, n2 and sum (Process)
 Read the n1 and n2 (Input/Output)
 Add them and store the result in sum (Process)
 Display sum (Input/Output)
Answer:
START
Declare variables n1, n2 and
sum
Sum = n1 + n2
STOP
Read n1 and n2
Display sum
1. Print a “Hello World” Program.
2. Determine if the number is a prime number.
3. Converts the input dollar to its peso exchange rate equivalent
 Note: Dollar Rate – 58.88 Philippine Pesos
4. Calculate the return of investment.
 Note: Return of Investment = (Vf – Vi)/Vi
Where:
R = Return
Vf = Final Value
Vi – Initial Value
5. Find the difference of two numbers entered.
6. Calculate the sum of the first twenty numbers.
7. Arrange the numbers x,y,z in ascending order.
8. Print a “Hello World Program” in 15 times.
9. Find the smallest among three numbers entered by the user.
10. Find the even numbers between 15 and 150.
Flow Chart
1. Hello World
2. Prime Number
3.
Start
Input Dollar
Input Peso 58.88 Philippine
Pesos
4.
Print Peso
Stop
5.
6.
7.
8.
Ad

Recommended

SPL 2 | Algorithms, Pseudo-code, and Flowchart
SPL 2 | Algorithms, Pseudo-code, and FlowchartSPL 2 | Algorithms, Pseudo-code, and Flowchart
SPL 2 | Algorithms, Pseudo-code, and FlowchartMohammad Imam Hossain
 
DO NOT ANSWER IF NOT EXPERT ON ASSEMBLY LABGUAGE PROGRAMMING X86 DOSBo.docx
DO NOT ANSWER IF NOT EXPERT ON ASSEMBLY LABGUAGE PROGRAMMING X86 DOSBo.docxDO NOT ANSWER IF NOT EXPERT ON ASSEMBLY LABGUAGE PROGRAMMING X86 DOSBo.docx
DO NOT ANSWER IF NOT EXPERT ON ASSEMBLY LABGUAGE PROGRAMMING X86 DOSBo.docxcmichael14
 
RUBRIC for Multi Culture CompetencyYOU HAVE TO WRITE ABOUT EACH .docx
RUBRIC for Multi Culture CompetencyYOU HAVE TO WRITE ABOUT EACH .docxRUBRIC for Multi Culture CompetencyYOU HAVE TO WRITE ABOUT EACH .docx
RUBRIC for Multi Culture CompetencyYOU HAVE TO WRITE ABOUT EACH .docxSUBHI7
 
3-1 Question 1Assignment 3-1, Question 11a. Calculate the value of.docx
3-1 Question 1Assignment 3-1, Question 11a. Calculate the value of.docx3-1 Question 1Assignment 3-1, Question 11a. Calculate the value of.docx
3-1 Question 1Assignment 3-1, Question 11a. Calculate the value of.docxtamicawaysmith
 
Implementation of halstead
Implementation of halsteadImplementation of halstead
Implementation of halsteadvamshi batchu
 
Csci101 lect02 selection_andlooping
Csci101 lect02 selection_andloopingCsci101 lect02 selection_andlooping
Csci101 lect02 selection_andloopingElsayed Hemayed
 
Cis 170 i lab 1 of 7
Cis 170 i lab 1 of 7Cis 170 i lab 1 of 7
Cis 170 i lab 1 of 7helpido9
 

More Related Content

Similar to Weekly Assessment # 2.docx

ALGORITHMS AND FLOWCHARTS
ALGORITHMS AND FLOWCHARTSALGORITHMS AND FLOWCHARTS
ALGORITHMS AND FLOWCHARTSKate Campbell
 
CS​ ​100​ ​–​ ​Critical​ ​Thinking​ ​w​ ​Computers Assig.docx
CS​ ​100​ ​–​ ​Critical​ ​Thinking​ ​w​ ​Computers  Assig.docxCS​ ​100​ ​–​ ​Critical​ ​Thinking​ ​w​ ​Computers  Assig.docx
CS​ ​100​ ​–​ ​Critical​ ​Thinking​ ​w​ ​Computers Assig.docxannettsparrow
 
Cis 170 ilab 1 of 7
Cis 170 ilab 1 of 7Cis 170 ilab 1 of 7
Cis 170 ilab 1 of 7comp274
 
Write the program that reads two numbers from the keyboard. It.docx
Write the program that reads two numbers from the keyboard. It.docxWrite the program that reads two numbers from the keyboard. It.docx
Write the program that reads two numbers from the keyboard. It.docxannetnash8266
 
Problem solving using Programming
Problem solving using ProgrammingProblem solving using Programming
Problem solving using ProgrammingKuppusamy P
 
The IPO Model of Evaluation (Input-Process-Output)
The IPO Model of Evaluation (Input-Process-Output)The IPO Model of Evaluation (Input-Process-Output)
The IPO Model of Evaluation (Input-Process-Output)Janilo Sarmiento
 
Devry cis-170-c-i lab-2-of-7-decisions
Devry cis-170-c-i lab-2-of-7-decisionsDevry cis-170-c-i lab-2-of-7-decisions
Devry cis-170-c-i lab-2-of-7-decisionsgovendaagoovenda
 
Devry cis-170-c-i lab-2-of-7-decisions
Devry cis-170-c-i lab-2-of-7-decisionsDevry cis-170-c-i lab-2-of-7-decisions
Devry cis-170-c-i lab-2-of-7-decisionsnoahjamessss
 
PYTHON PROGRAMMING - CODE THE PROGRAM BASED ON THE INSTRUCTIONS AND .pdf
PYTHON PROGRAMMING - CODE THE PROGRAM BASED ON THE INSTRUCTIONS AND .pdfPYTHON PROGRAMMING - CODE THE PROGRAM BASED ON THE INSTRUCTIONS AND .pdf
PYTHON PROGRAMMING - CODE THE PROGRAM BASED ON THE INSTRUCTIONS AND .pdflejeunehayneswowel96
 
PROGRAMMING IN C EXAMPLE PROGRAMS FOR NEW LEARNERS - SARASWATHI RAMALINGAM
PROGRAMMING IN C EXAMPLE PROGRAMS FOR NEW LEARNERS  - SARASWATHI RAMALINGAMPROGRAMMING IN C EXAMPLE PROGRAMS FOR NEW LEARNERS  - SARASWATHI RAMALINGAM
PROGRAMMING IN C EXAMPLE PROGRAMS FOR NEW LEARNERS - SARASWATHI RAMALINGAMSaraswathiRamalingam
 
Practice Exercise Set 1
Practice Exercise Set 1Practice Exercise Set 1
Practice Exercise Set 1rampan
 
Computer studies form iv - practical - 2000 - 2 - answers
Computer studies    form iv - practical - 2000 - 2 - answersComputer studies    form iv - practical - 2000 - 2 - answers
Computer studies form iv - practical - 2000 - 2 - answersHamza Kahemela
 
DSA Lesson 2 - Algorithm and Flowcharting.pdf
DSA Lesson 2 - Algorithm and Flowcharting.pdfDSA Lesson 2 - Algorithm and Flowcharting.pdf
DSA Lesson 2 - Algorithm and Flowcharting.pdfROWELL MARQUINA
 
C programming Lab 1
C programming Lab 1C programming Lab 1
C programming Lab 1Zaibi Gondal
 
Assignment DetailsYou have learned that some markets are compet.docx
Assignment DetailsYou have learned that some markets are compet.docxAssignment DetailsYou have learned that some markets are compet.docx
Assignment DetailsYou have learned that some markets are compet.docxfaithxdunce63732
 
Write out the logic to the following problems.Example Repre.docx
Write out the logic to the following problems.Example Repre.docxWrite out the logic to the following problems.Example Repre.docx
Write out the logic to the following problems.Example Repre.docxherbertwilson5999
 

Similar to Weekly Assessment # 2.docx (20)

ALGORITHMS AND FLOWCHARTS
ALGORITHMS AND FLOWCHARTSALGORITHMS AND FLOWCHARTS
ALGORITHMS AND FLOWCHARTS
 
CS​ ​100​ ​–​ ​Critical​ ​Thinking​ ​w​ ​Computers Assig.docx
CS​ ​100​ ​–​ ​Critical​ ​Thinking​ ​w​ ​Computers  Assig.docxCS​ ​100​ ​–​ ​Critical​ ​Thinking​ ​w​ ​Computers  Assig.docx
CS​ ​100​ ​–​ ​Critical​ ​Thinking​ ​w​ ​Computers Assig.docx
 
Tbp dca1 -2021-2
Tbp dca1 -2021-2Tbp dca1 -2021-2
Tbp dca1 -2021-2
 
Cis 170 ilab 1 of 7
Cis 170 ilab 1 of 7Cis 170 ilab 1 of 7
Cis 170 ilab 1 of 7
 
Write the program that reads two numbers from the keyboard. It.docx
Write the program that reads two numbers from the keyboard. It.docxWrite the program that reads two numbers from the keyboard. It.docx
Write the program that reads two numbers from the keyboard. It.docx
 
Problem solving using Programming
Problem solving using ProgrammingProblem solving using Programming
Problem solving using Programming
 
The IPO Model of Evaluation (Input-Process-Output)
The IPO Model of Evaluation (Input-Process-Output)The IPO Model of Evaluation (Input-Process-Output)
The IPO Model of Evaluation (Input-Process-Output)
 
Devry cis-170-c-i lab-2-of-7-decisions
Devry cis-170-c-i lab-2-of-7-decisionsDevry cis-170-c-i lab-2-of-7-decisions
Devry cis-170-c-i lab-2-of-7-decisions
 
Devry cis-170-c-i lab-2-of-7-decisions
Devry cis-170-c-i lab-2-of-7-decisionsDevry cis-170-c-i lab-2-of-7-decisions
Devry cis-170-c-i lab-2-of-7-decisions
 
PYTHON PROGRAMMING - CODE THE PROGRAM BASED ON THE INSTRUCTIONS AND .pdf
PYTHON PROGRAMMING - CODE THE PROGRAM BASED ON THE INSTRUCTIONS AND .pdfPYTHON PROGRAMMING - CODE THE PROGRAM BASED ON THE INSTRUCTIONS AND .pdf
PYTHON PROGRAMMING - CODE THE PROGRAM BASED ON THE INSTRUCTIONS AND .pdf
 
PROGRAMMING IN C EXAMPLE PROGRAMS FOR NEW LEARNERS - SARASWATHI RAMALINGAM
PROGRAMMING IN C EXAMPLE PROGRAMS FOR NEW LEARNERS  - SARASWATHI RAMALINGAMPROGRAMMING IN C EXAMPLE PROGRAMS FOR NEW LEARNERS  - SARASWATHI RAMALINGAM
PROGRAMMING IN C EXAMPLE PROGRAMS FOR NEW LEARNERS - SARASWATHI RAMALINGAM
 
Practice Exercise Set 1
Practice Exercise Set 1Practice Exercise Set 1
Practice Exercise Set 1
 
Practical 01 (detailed)
Practical 01 (detailed)Practical 01 (detailed)
Practical 01 (detailed)
 
Computer studies form iv - practical - 2000 - 2 - answers
Computer studies    form iv - practical - 2000 - 2 - answersComputer studies    form iv - practical - 2000 - 2 - answers
Computer studies form iv - practical - 2000 - 2 - answers
 
DSA Lesson 2 - Algorithm and Flowcharting.pdf
DSA Lesson 2 - Algorithm and Flowcharting.pdfDSA Lesson 2 - Algorithm and Flowcharting.pdf
DSA Lesson 2 - Algorithm and Flowcharting.pdf
 
C programming Lab 1
C programming Lab 1C programming Lab 1
C programming Lab 1
 
Lab sheet 1
Lab sheet 1Lab sheet 1
Lab sheet 1
 
Assignment DetailsYou have learned that some markets are compet.docx
Assignment DetailsYou have learned that some markets are compet.docxAssignment DetailsYou have learned that some markets are compet.docx
Assignment DetailsYou have learned that some markets are compet.docx
 
Ict project pdf
Ict project pdfIct project pdf
Ict project pdf
 
Write out the logic to the following problems.Example Repre.docx
Write out the logic to the following problems.Example Repre.docxWrite out the logic to the following problems.Example Repre.docx
Write out the logic to the following problems.Example Repre.docx
 

More from CCSSenatorAbogadoAj

Diving Deep for Synonyms and Antonyms.pdf
Diving Deep for Synonyms and Antonyms.pdfDiving Deep for Synonyms and Antonyms.pdf
Diving Deep for Synonyms and Antonyms.pdfCCSSenatorAbogadoAj
 
Lab 5 - String Manipulation usingTASM Environment-1.docx
Lab 5 - String Manipulation usingTASM Environment-1.docxLab 5 - String Manipulation usingTASM Environment-1.docx
Lab 5 - String Manipulation usingTASM Environment-1.docxCCSSenatorAbogadoAj
 
Hannok_Wanwisa_Spring-202011.pdf
Hannok_Wanwisa_Spring-202011.pdfHannok_Wanwisa_Spring-202011.pdf
Hannok_Wanwisa_Spring-202011.pdfCCSSenatorAbogadoAj
 
Job Matching Experiences of Cotabato State University (CSU) Public Administra...
Job Matching Experiences of Cotabato State University (CSU) Public Administra...Job Matching Experiences of Cotabato State University (CSU) Public Administra...
Job Matching Experiences of Cotabato State University (CSU) Public Administra...CCSSenatorAbogadoAj
 
local_media5375011518898876798.docx
local_media5375011518898876798.docxlocal_media5375011518898876798.docx
local_media5375011518898876798.docxCCSSenatorAbogadoAj
 
Environmental Awareness and Practices-RESEARCH.docx
Environmental Awareness and Practices-RESEARCH.docxEnvironmental Awareness and Practices-RESEARCH.docx
Environmental Awareness and Practices-RESEARCH.docxCCSSenatorAbogadoAj
 
AU-Project-Report-Fulltext-132299.PDF
AU-Project-Report-Fulltext-132299.PDFAU-Project-Report-Fulltext-132299.PDF
AU-Project-Report-Fulltext-132299.PDFCCSSenatorAbogadoAj
 
argumentative essay on the issue of the government's transport modernization ...
argumentative essay on the issue of the government's transport modernization ...argumentative essay on the issue of the government's transport modernization ...
argumentative essay on the issue of the government's transport modernization ...CCSSenatorAbogadoAj
 

More from CCSSenatorAbogadoAj (20)

Diving Deep for Synonyms and Antonyms.pdf
Diving Deep for Synonyms and Antonyms.pdfDiving Deep for Synonyms and Antonyms.pdf
Diving Deep for Synonyms and Antonyms.pdf
 
Presentation1.pptx
Presentation1.pptxPresentation1.pptx
Presentation1.pptx
 
out.pdf
out.pdfout.pdf
out.pdf
 
Lab 5 - String Manipulation usingTASM Environment-1.docx
Lab 5 - String Manipulation usingTASM Environment-1.docxLab 5 - String Manipulation usingTASM Environment-1.docx
Lab 5 - String Manipulation usingTASM Environment-1.docx
 
Hannok_Wanwisa_Spring-202011.pdf
Hannok_Wanwisa_Spring-202011.pdfHannok_Wanwisa_Spring-202011.pdf
Hannok_Wanwisa_Spring-202011.pdf
 
Job Matching Experiences of Cotabato State University (CSU) Public Administra...
Job Matching Experiences of Cotabato State University (CSU) Public Administra...Job Matching Experiences of Cotabato State University (CSU) Public Administra...
Job Matching Experiences of Cotabato State University (CSU) Public Administra...
 
Jenjen-Done..docx
Jenjen-Done..docxJenjen-Done..docx
Jenjen-Done..docx
 
local_media5375011518898876798.docx
local_media5375011518898876798.docxlocal_media5375011518898876798.docx
local_media5375011518898876798.docx
 
Justification.docx
Justification.docxJustification.docx
Justification.docx
 
Environmental Awareness and Practices-RESEARCH.docx
Environmental Awareness and Practices-RESEARCH.docxEnvironmental Awareness and Practices-RESEARCH.docx
Environmental Awareness and Practices-RESEARCH.docx
 
AU-Project-Report-Fulltext-132299.PDF
AU-Project-Report-Fulltext-132299.PDFAU-Project-Report-Fulltext-132299.PDF
AU-Project-Report-Fulltext-132299.PDF
 
antonyms lesson plan.pdf
antonyms lesson plan.pdfantonyms lesson plan.pdf
antonyms lesson plan.pdf
 
azrael_activity.docx
azrael_activity.docxazrael_activity.docx
azrael_activity.docx
 
argumentative essay on the issue of the government's transport modernization ...
argumentative essay on the issue of the government's transport modernization ...argumentative essay on the issue of the government's transport modernization ...
argumentative essay on the issue of the government's transport modernization ...
 
Ayumi_Activity.docx
Ayumi_Activity.docxAyumi_Activity.docx
Ayumi_Activity.docx
 
Activity_100pesos.docx
Activity_100pesos.docxActivity_100pesos.docx
Activity_100pesos.docx
 
Activity1&2.docx
Activity1&2.docxActivity1&2.docx
Activity1&2.docx
 
UPCAT_Reviewer_2021_2022.docx
UPCAT_Reviewer_2021_2022.docxUPCAT_Reviewer_2021_2022.docx
UPCAT_Reviewer_2021_2022.docx
 
Weekly Assessment # 2.pdf
Weekly Assessment # 2.pdfWeekly Assessment # 2.pdf
Weekly Assessment # 2.pdf
 
trevor_justification.docx
trevor_justification.docxtrevor_justification.docx
trevor_justification.docx
 

Recently uploaded

Strip Zagor LUDENS 304 - Nindze u zasjedi.pdf
Strip Zagor LUDENS 304 - Nindze u zasjedi.pdfStrip Zagor LUDENS 304 - Nindze u zasjedi.pdf
Strip Zagor LUDENS 304 - Nindze u zasjedi.pdfStripovizijacom
 
Photography of Storytelling (A case study of Nigerian Advertising)
Photography of Storytelling (A case study of Nigerian Advertising)Photography of Storytelling (A case study of Nigerian Advertising)
Photography of Storytelling (A case study of Nigerian Advertising)Maurice C. Ugwonoh
 
Zagor LUD 309 - Rat spijuna.pdf strip zagor
Zagor LUD 309 - Rat spijuna.pdf strip zagorZagor LUD 309 - Rat spijuna.pdf strip zagor
Zagor LUD 309 - Rat spijuna.pdf strip zagorStripovizijacom
 
Multicolor Clouds Daily Class Agenda Template.pdf
Multicolor Clouds Daily Class Agenda Template.pdfMulticolor Clouds Daily Class Agenda Template.pdf
Multicolor Clouds Daily Class Agenda Template.pdfbyqjzxcrnf
 
Jazmin portfolio by DR.Jibachha Sah for arth
Jazmin portfolio by DR.Jibachha Sah for arthJazmin portfolio by DR.Jibachha Sah for arth
Jazmin portfolio by DR.Jibachha Sah for arthDrJibachhaSahVetphys
 
Strip Tex Ludens Maxi 24 - Zeljezni konj.pdf
Strip Tex Ludens Maxi 24 - Zeljezni konj.pdfStrip Tex Ludens Maxi 24 - Zeljezni konj.pdf
Strip Tex Ludens Maxi 24 - Zeljezni konj.pdfStripovizijacom
 
next5p21story challenge by danishdavid khan.pdf
next5p21story challenge by danishdavid khan.pdfnext5p21story challenge by danishdavid khan.pdf
next5p21story challenge by danishdavid khan.pdfdanishkhan798905
 
Strip Zagor LUDENS 307 - Saddle Town.pdf
Strip Zagor LUDENS 307 - Saddle Town.pdfStrip Zagor LUDENS 307 - Saddle Town.pdf
Strip Zagor LUDENS 307 - Saddle Town.pdfStripovizijacom
 
‘Man’ a book of illustrations by Vaasudev Tallapragada
‘Man’ a book of illustrations by Vaasudev Tallapragada‘Man’ a book of illustrations by Vaasudev Tallapragada
‘Man’ a book of illustrations by Vaasudev TallapragadaVaasudevTallapragada
 
IDMPO Slot Gacor Mudah Menang Dengan Cepat
IDMPO Slot Gacor Mudah Menang Dengan CepatIDMPO Slot Gacor Mudah Menang Dengan Cepat
IDMPO Slot Gacor Mudah Menang Dengan Cepatserlywin77
 
Reach Storyboard Excerpt 1 - Girl finds the handprint
Reach Storyboard Excerpt 1 - Girl finds the handprintReach Storyboard Excerpt 1 - Girl finds the handprint
Reach Storyboard Excerpt 1 - Girl finds the handprintcaitlinbooton
 
Ms.Shahla Baghdad`- alyarmouk street - .pdf
Ms.Shahla Baghdad`- alyarmouk street - .pdfMs.Shahla Baghdad`- alyarmouk street - .pdf
Ms.Shahla Baghdad`- alyarmouk street - .pdfmahmoudtabaa3
 
HKBU History Department Newsletter (January 2024)
HKBU History Department Newsletter (January 2024)HKBU History Department Newsletter (January 2024)
HKBU History Department Newsletter (January 2024)VincentKwunLeungLee
 
MacedoAngelina_KJM_01.pdf
MacedoAngelina_KJM_01.pdfMacedoAngelina_KJM_01.pdf
MacedoAngelina_KJM_01.pdfAngelinaMacedo3
 
goodbyestoryboardsequencebydanishdavidkhan.pdf
goodbyestoryboardsequencebydanishdavidkhan.pdfgoodbyestoryboardsequencebydanishdavidkhan.pdf
goodbyestoryboardsequencebydanishdavidkhan.pdfdanishkhan798905
 
Firebuds_Cut N Chrome Caper_Renee Badua 2023.pdf
Firebuds_Cut N Chrome Caper_Renee Badua 2023.pdfFirebuds_Cut N Chrome Caper_Renee Badua 2023.pdf
Firebuds_Cut N Chrome Caper_Renee Badua 2023.pdfreneecamilleb
 
‘Subbu the Coolie’ Children’s Picturebook
‘Subbu the Coolie’ Children’s Picturebook‘Subbu the Coolie’ Children’s Picturebook
‘Subbu the Coolie’ Children’s PicturebookVaasudevTallapragada
 
STREET DANCE AND HIPHOP DANCE STYLES (PE
STREET DANCE AND HIPHOP DANCE STYLES (PESTREET DANCE AND HIPHOP DANCE STYLES (PE
STREET DANCE AND HIPHOP DANCE STYLES (PEsharagaylicudinebodi
 
Far Away Friends - Storyboard by Chloe Lemay
Far Away Friends - Storyboard by Chloe LemayFar Away Friends - Storyboard by Chloe Lemay
Far Away Friends - Storyboard by Chloe LemayChloe Lemay
 
‘Subbu the Coolie’ by Vaasudv Tallapragada
‘Subbu the Coolie’ by Vaasudv Tallapragada‘Subbu the Coolie’ by Vaasudv Tallapragada
‘Subbu the Coolie’ by Vaasudv TallapragadaVaasudevTallapragada
 

Recently uploaded (20)

Strip Zagor LUDENS 304 - Nindze u zasjedi.pdf
Strip Zagor LUDENS 304 - Nindze u zasjedi.pdfStrip Zagor LUDENS 304 - Nindze u zasjedi.pdf
Strip Zagor LUDENS 304 - Nindze u zasjedi.pdf
 
Photography of Storytelling (A case study of Nigerian Advertising)
Photography of Storytelling (A case study of Nigerian Advertising)Photography of Storytelling (A case study of Nigerian Advertising)
Photography of Storytelling (A case study of Nigerian Advertising)
 
Zagor LUD 309 - Rat spijuna.pdf strip zagor
Zagor LUD 309 - Rat spijuna.pdf strip zagorZagor LUD 309 - Rat spijuna.pdf strip zagor
Zagor LUD 309 - Rat spijuna.pdf strip zagor
 
Multicolor Clouds Daily Class Agenda Template.pdf
Multicolor Clouds Daily Class Agenda Template.pdfMulticolor Clouds Daily Class Agenda Template.pdf
Multicolor Clouds Daily Class Agenda Template.pdf
 
Jazmin portfolio by DR.Jibachha Sah for arth
Jazmin portfolio by DR.Jibachha Sah for arthJazmin portfolio by DR.Jibachha Sah for arth
Jazmin portfolio by DR.Jibachha Sah for arth
 
Strip Tex Ludens Maxi 24 - Zeljezni konj.pdf
Strip Tex Ludens Maxi 24 - Zeljezni konj.pdfStrip Tex Ludens Maxi 24 - Zeljezni konj.pdf
Strip Tex Ludens Maxi 24 - Zeljezni konj.pdf
 
next5p21story challenge by danishdavid khan.pdf
next5p21story challenge by danishdavid khan.pdfnext5p21story challenge by danishdavid khan.pdf
next5p21story challenge by danishdavid khan.pdf
 
Strip Zagor LUDENS 307 - Saddle Town.pdf
Strip Zagor LUDENS 307 - Saddle Town.pdfStrip Zagor LUDENS 307 - Saddle Town.pdf
Strip Zagor LUDENS 307 - Saddle Town.pdf
 
‘Man’ a book of illustrations by Vaasudev Tallapragada
‘Man’ a book of illustrations by Vaasudev Tallapragada‘Man’ a book of illustrations by Vaasudev Tallapragada
‘Man’ a book of illustrations by Vaasudev Tallapragada
 
IDMPO Slot Gacor Mudah Menang Dengan Cepat
IDMPO Slot Gacor Mudah Menang Dengan CepatIDMPO Slot Gacor Mudah Menang Dengan Cepat
IDMPO Slot Gacor Mudah Menang Dengan Cepat
 
Reach Storyboard Excerpt 1 - Girl finds the handprint
Reach Storyboard Excerpt 1 - Girl finds the handprintReach Storyboard Excerpt 1 - Girl finds the handprint
Reach Storyboard Excerpt 1 - Girl finds the handprint
 
Ms.Shahla Baghdad`- alyarmouk street - .pdf
Ms.Shahla Baghdad`- alyarmouk street - .pdfMs.Shahla Baghdad`- alyarmouk street - .pdf
Ms.Shahla Baghdad`- alyarmouk street - .pdf
 
HKBU History Department Newsletter (January 2024)
HKBU History Department Newsletter (January 2024)HKBU History Department Newsletter (January 2024)
HKBU History Department Newsletter (January 2024)
 
MacedoAngelina_KJM_01.pdf
MacedoAngelina_KJM_01.pdfMacedoAngelina_KJM_01.pdf
MacedoAngelina_KJM_01.pdf
 
goodbyestoryboardsequencebydanishdavidkhan.pdf
goodbyestoryboardsequencebydanishdavidkhan.pdfgoodbyestoryboardsequencebydanishdavidkhan.pdf
goodbyestoryboardsequencebydanishdavidkhan.pdf
 
Firebuds_Cut N Chrome Caper_Renee Badua 2023.pdf
Firebuds_Cut N Chrome Caper_Renee Badua 2023.pdfFirebuds_Cut N Chrome Caper_Renee Badua 2023.pdf
Firebuds_Cut N Chrome Caper_Renee Badua 2023.pdf
 
‘Subbu the Coolie’ Children’s Picturebook
‘Subbu the Coolie’ Children’s Picturebook‘Subbu the Coolie’ Children’s Picturebook
‘Subbu the Coolie’ Children’s Picturebook
 
STREET DANCE AND HIPHOP DANCE STYLES (PE
STREET DANCE AND HIPHOP DANCE STYLES (PESTREET DANCE AND HIPHOP DANCE STYLES (PE
STREET DANCE AND HIPHOP DANCE STYLES (PE
 
Far Away Friends - Storyboard by Chloe Lemay
Far Away Friends - Storyboard by Chloe LemayFar Away Friends - Storyboard by Chloe Lemay
Far Away Friends - Storyboard by Chloe Lemay
 
‘Subbu the Coolie’ by Vaasudv Tallapragada
‘Subbu the Coolie’ by Vaasudv Tallapragada‘Subbu the Coolie’ by Vaasudv Tallapragada
‘Subbu the Coolie’ by Vaasudv Tallapragada
 

Weekly Assessment # 2.docx

  • 1. Weekly Assessment # 2 Programming I General Instruction: Write a flowchart of the following problems below. You may put your answers here. Example: Problem: Add two numbers entered by the user. Algorithm:  Declare variables n1, n2 and sum (Process)  Read the n1 and n2 (Input/Output)  Add them and store the result in sum (Process)  Display sum (Input/Output) Answer: START Declare variables n1, n2 and sum Sum = n1 + n2 STOP Read n1 and n2 Display sum
  • 2. 1. Print a “Hello World” Program. 2. Determine if the number is a prime number. 3. Converts the input dollar to its peso exchange rate equivalent  Note: Dollar Rate – 58.88 Philippine Pesos 4. Calculate the return of investment.  Note: Return of Investment = (Vf – Vi)/Vi Where: R = Return Vf = Final Value Vi – Initial Value 5. Find the difference of two numbers entered. 6. Calculate the sum of the first twenty numbers. 7. Arrange the numbers x,y,z in ascending order. 8. Print a “Hello World Program” in 15 times. 9. Find the smallest among three numbers entered by the user. 10. Find the even numbers between 15 and 150. Flow Chart 1. Hello World
  • 3. 2. Prime Number 3. Start Input Dollar Input Peso 58.88 Philippine Pesos