START ;main starts here CALL create_inventory() CALL display_vaccine() CALL search_vaccine() END MAIN ; definition of all the modules start here START MODULE create_inventory() DECLARE option = 1 ; variables to collect data as per table given DELCARE vaccinename, vaccinecode, country as strings DECLARE dosage and population as number OPEN file Vaccine.txt in writting mode REPEAT till the option is not 0 READ: vaccinename READ: vaccinecode READ: country READ: dosage READ: population WRITE: vaccine details to the file and move to next line READ:option IF(option =0) CLOSE FILE END IF END REPEAT END MODULE

Programming with Microsoft Visual Basic 2017
8th Edition
ISBN:9781337102124
Author:Diane Zak
Publisher:Diane Zak
Chapter8: Arrays
Section: Chapter Questions
Problem 13E
icon
Related questions
Question
100%

can you explain how to read this pseudocode? words only please type a lot 

;MODULE to display the vaccine details
START MODULE display_vaccine()
variables to collect data as per table given
DELCARE vaccinename, vaccinecode, country as strings
DECLARE dosage and population as number
OPEN file Vaccine.bxt in reading mode
PRINT: "Vaccine Name Vaccine Code
Country
Dosage
Population
REPEAT while file is not ended
PRINT: values of vaccinename, vaccinecode, country, dosage, population in current line
Move to next line
END REPEAT
END MODULE
;module to search the vaccine
START MODULE search_vaccine
; variables to collect data as per table given
DELCARE vaccinename, vaccinecode, country as strings
DECLARE dosage and population as number
OPEN file Vaccine.bxt in reading mode
DECLARE vcode, temp as strings
DECLARE value as number
DISPLAY: "Enter Vaccine Code to explore :
READ: vcode
SET temp <- vcode
REPEAT while file is not completed
IF (vaccinecode = temp)
PRINT: Current vaccine line details from file
END IF
END REPEAT
CLOSE file
END MODULE
Transcribed Image Text:;MODULE to display the vaccine details START MODULE display_vaccine() variables to collect data as per table given DELCARE vaccinename, vaccinecode, country as strings DECLARE dosage and population as number OPEN file Vaccine.bxt in reading mode PRINT: "Vaccine Name Vaccine Code Country Dosage Population REPEAT while file is not ended PRINT: values of vaccinename, vaccinecode, country, dosage, population in current line Move to next line END REPEAT END MODULE ;module to search the vaccine START MODULE search_vaccine ; variables to collect data as per table given DELCARE vaccinename, vaccinecode, country as strings DECLARE dosage and population as number OPEN file Vaccine.bxt in reading mode DECLARE vcode, temp as strings DECLARE value as number DISPLAY: "Enter Vaccine Code to explore : READ: vcode SET temp <- vcode REPEAT while file is not completed IF (vaccinecode = temp) PRINT: Current vaccine line details from file END IF END REPEAT CLOSE file END MODULE
START ;main starts here
CALL create_inventory()
CALL display_vaccine()
CALL search_vaccine()
END MAIN
; definition of all the modules start here
START MODULE create_inventory()
DECLARE option = 1
; variables to collect data as per table given
DELCARE vaccinename, vaccinecode, country as strings
DECLARE dosage and population as number
OPEN file Vaccine.txt in writting mode
REPEAT till the option is not 0
READ: vaccinename
READ: vaccinecode
READ: country
READ: dosage
READ: population
WRITE: vaccine details to the file and move to next line
READ:option
IF(option =0)
CLOSE FILE
END IF
END REPEAT
END MODULE
Transcribed Image Text:START ;main starts here CALL create_inventory() CALL display_vaccine() CALL search_vaccine() END MAIN ; definition of all the modules start here START MODULE create_inventory() DECLARE option = 1 ; variables to collect data as per table given DELCARE vaccinename, vaccinecode, country as strings DECLARE dosage and population as number OPEN file Vaccine.txt in writting mode REPEAT till the option is not 0 READ: vaccinename READ: vaccinecode READ: country READ: dosage READ: population WRITE: vaccine details to the file and move to next line READ:option IF(option =0) CLOSE FILE END IF END REPEAT END MODULE
Expert Solution
steps

Step by step

Solved in 4 steps

Blurred answer
Knowledge Booster
Introduction to computer system
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:
9780357392676
Author:
FREUND, Steven
Publisher:
CENGAGE L
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr