subject

Question 11 pts The county clerk’s office is writing a program to search their database for citizen records based on information about that citizen such as first name, last name, age, etc. Given below is a segment of pseudocode that should find the record of every citizen over the age of 50 in the county. The code makes use of the functions GetAgeOf and GetNameOf, which are used to retrieve the age and name of a citizen from a record which is inputted.

FOR EACH person IN citzlist
{
age = GetAgeOf(person)
name = GetNameOf(person)
IF(age 51)
{
DISPLAY(name)
}
}

FOR EACH person IN citzlist
{
age = GetAgeOf(person)
name = GetNameOf(person)
IF(age > 50)
{
DISPLAY(name)
}
}

FOR EACH person IN citzlist
{
age = GetAgeOf(person)
name = GetNameOf(person)
IF(age = 50)
{
DISPLAY(name)
}
}

FOR EACH person IN citzlist
{
age = GetAgeOf(person)
name = GetNameOf(person)
IF(age < 51)
{
DISPLAY(name)
}
}

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 23:00
Which type of tab stop is most for weights and measurements?
Answers: 1
question
Computers and Technology, 23.06.2019 07:00
1. you have a small business that is divided into 3 departments: accounting, sales, and administration. these departments have the following number of devices (computers, printers, etc.): accounting-31, sales-28, and administration-13. using a class c private network, subnet the network so that each department will have their own subnet. you must show/explain how you arrived at your conclusion and also show the following: all available device addresses for each department, the broadcast address for each department, and the network address for each department. also, determine how many "wasted" (not usable) addresses resulted from your subnetting (enumerate them).
Answers: 3
question
Computers and Technology, 23.06.2019 11:30
The most accurate readings that you can take on an analog vom are when the meter's pointer is at the a. center scale. b. extreme right. c. near right. d. extreme left.
Answers: 1
question
Computers and Technology, 23.06.2019 15:00
Based on the current economic situation do you expect the employment demand for graduating engineers to increase or decrease? explain the basis for your answer. with a significant economic recovery, what do you think will happen to future enrollments in graduating engineering programs?
Answers: 1
You know the right answer?
Question 11 pts The county clerk’s office is writing a program to search their database for citizen...
Questions
question
History, 09.09.2020 19:01
Questions on the website: 13722363