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, 23.06.2019 14:30
Select the correct answer. what does it indicate when a website displays https instead of http? a. the website is secure. b. there is no secure sockets layer. c. the secure sockets layer is hidden. d. the website is not secure.
Answers: 1
question
Computers and Technology, 24.06.2019 16:50
Ramp charts are generally created in wordlotusexcelpowerpoint
Answers: 1
question
Computers and Technology, 24.06.2019 21:30
How is a wan different than a lan? both connect computers, but only wan users don’t need the same operating system. both are peer-to-peer networks, but only a wan requires networking hardware. both network computers, but only a wan can cover larger geographical ranges. both connect computers to the internet, but only wan connects to the cloud.
Answers: 1
question
Computers and Technology, 25.06.2019 10:00
One way news orginaztions can influence people is by: a.slanting information b.accepting all beliefs c.sharing a true perspective d.giving people money
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, 05.03.2021 20:40
question
Mathematics, 05.03.2021 20:40
Questions on the website: 13722359