subject
Computers and Technology, 24.09.2020 08:01 firepie

The XML(eXtensibleMarkup Language is a common format used to structure and store on the web. The following is a small sample XML file that could be used to store names in an address book. Type it in using a text editor and save it to a file name address. xml. File: Addresses. xml George Clooney 1042 El Camino Real Beverly Hills CA 90214 Cathy Pearl 405 A St. Palmdale CA 93352 Paris Hilton 200 S. Elm St. Beverly Hills CA 90212 Wendy Jones 982 Boundary Ave. Palmdale CA 93354 The sample file contains four contacts. The <> tags denotes the start of a filed and the tag denotes the end of the field. A)Your are hosting a party in Palmadale, CA. Write a program that reads in the address. xml file and output the names and addresses of everyone in Palmdale. Your program shouldn't output any of the tag information, just the address content.
B) You would like to send an advertising flyer to everyone in zip codes 90210 through 90214. Write a program that reads in the address. xml file and outputs the names and addresses of everyone whose zip code falls within the specified range. You may assume that each contact in the address file has the same structure and the same fields. However, your solutionshould be able to handle an input file with any number of contacts and should not assume that fields within each contact are in the same order

ansver
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 20:00, BreadOfTheBear
What statement best describes operating systems? it’s possible for modern computers to function without operating systems. most operating systems are free or very inexpensive. operating systems are managed by the computer’s microprocessor (cpu). operating systems manage the computer’s random access memory (ram).
Answers: 1
image
Computers and Technology, 24.06.2019 07:00, erick7123
Why do we mark tlc plates with pencil and not with pen
Answers: 2
image
Computers and Technology, 24.06.2019 17:40, katherinemoreno353
Write a program to analyze student’s scores. each student’s id and 4 original test scores are saved in the attached file “student_id_scores. txt”. assume there are exactly 15 students in the class.• the program first opens the file, reads student’s ids and scores from the file and saves them in two arrays: o create a one-dimensional string array “ids” to store the student’s ids. o create a (parallel) two-dimensional int array “scores” to store student’s original test scores. this array has 5 columns, the original 4 test scores should be saved in the first 4 columns, and the last column will be used to save the average score after the calculation in next step.• the program then retrieves test scores from the array “scores”, calculates average score and determines the final letter grade based on the rules in the table below for each student. assume average score is integer value. average score = (score1 + score2 + score3 + score4) / 4average score letter grade90 ~ 100 a80 ~ 89 b70 ~ 79 c60 ~ 70 d0 ~ 60 f• the average score should be saved back in the 5th column of “scores” array.• create a new parallel one-dimensional char array “grades” to save each student’s letter grade.• program also needs to find the number of a, number of b, number of c, number of d and number of f grade. as well as the highest, lowest and average score of the class.• finally, program will display all of the original scores and all results on the computer screen using the format shown as the sample output below.• the program must contain at least the following functions: (1) a function “getscores” to read and store data into “ids” and “scores” arrays.(2) a function “analyzescores” to calculate student’s average score, determine letter grade, get the number of a, b, c, d and f, find the highest, lowest and average score of the class.(3) a function “displayresults” to display all of the results
Answers: 3
image
Computers and Technology, 24.06.2019 18:00, valdezavery9018
Hacer un algoritmo que me permita ingresar el nombre de una parcela de terreno y muestre junto al mensaje “tipo de suelos: suelos fumíferos, ¡excelente!
Answers: 1
You know the right answer?
The XML(eXtensibleMarkup Language is a common format used to structure and store on the web. The fol...

Questions in other subjects: