INSTRUCTIONS: All problems should be written using JustBASIC. The code should be typed into the JustBASIC editor and executed. At the end of each solution, you should state whether the code executed and whether it produced correct results. Failure to follow directions will result in a zero for the assignment. 1. 2. 3. Write the beginning of the program that will create five arrays of the type and name listed below. Get the number of movies to be entered into the database from the user. Be sure to initialize the arrays. STRING actorLastName STRING actorFirstName STRING nameOfMovie NUM year OfDebut NUM grossearnings Add to the previously written code the part that will allow the user to populate the arrays. Using the previously written code, add pseudocode that will search for the actor's last name. You will ask the user for the last name to be searched for. You can assume all last names are unique (no repeats). If the name is present, your program will return the string "Target found" to the user. If the name is not found, the program will return the string "This actor is not in the database" only once just before the program terminates. STRING actorLastName STRING actorFirstName STRING nameOfMovie NUM year OfDebut NUM grossearnings

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question
INSTRUCTIONS: All problems should be written using JustBASIC. The code should be typed into the JustBASIC editor and executed.
At the end of each solution, you should state whether the code executed and whether it produced correct results.
Failure to follow directions will result in a zero for the assignment.
1.
2.
3.
Write the beginning of the program that will create five arrays of the type and name listed below. Get the number of
movies to be entered into the database from the user. Be sure to initialize the arrays.
STRING actorLastName
STRING actorFirstName
STRING nameOf Movie
NUM year OfDebut
NUM grossearnings
Add to the previously written code the part that will allow the user to populate the arrays.
Using the previously written code, add pseudocode that will search for the actor's last name. You will ask the user for the
last name to be searched for. You can assume all last names are unique (no repeats). If the name is present, your program
will return the string "Target found" to the user. If the name is not found, the program will return the string "This actor is
not in the database" only once just before the program terminates.
STRING actorLastName
STRING actorFirstName
STRING nameOfMovie
NUM year Of Debut
NUM grossearnings
Transcribed Image Text:INSTRUCTIONS: All problems should be written using JustBASIC. The code should be typed into the JustBASIC editor and executed. At the end of each solution, you should state whether the code executed and whether it produced correct results. Failure to follow directions will result in a zero for the assignment. 1. 2. 3. Write the beginning of the program that will create five arrays of the type and name listed below. Get the number of movies to be entered into the database from the user. Be sure to initialize the arrays. STRING actorLastName STRING actorFirstName STRING nameOf Movie NUM year OfDebut NUM grossearnings Add to the previously written code the part that will allow the user to populate the arrays. Using the previously written code, add pseudocode that will search for the actor's last name. You will ask the user for the last name to be searched for. You can assume all last names are unique (no repeats). If the name is present, your program will return the string "Target found" to the user. If the name is not found, the program will return the string "This actor is not in the database" only once just before the program terminates. STRING actorLastName STRING actorFirstName STRING nameOfMovie NUM year Of Debut NUM grossearnings
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 5 steps

Blurred answer
Knowledge Booster
Types of trees
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
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education