COMPILER DESIGN

ADVANCED TOPICS IN COMPILER DESIGN

CODE GENERATION FOR OBJECT ORIENTED LANGUAGES

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
A city is conducting a census. A variety of data are collected from each household in the city, including information about incomes, levels of education, ages, and races of the members of the household. However, to be anonymous, names and addresses are not collected. Which of the following best describes a valid visualization of the census data using a spreadsheet?
A
Using a spreadsheet chart, the total number of college graduates living on each street in the city could be reported.
B
Using the filter feature in the spreadsheet, all ages could be converted to birth years
C
Using a spreadsheet formula, the average income per household could be estimated.
D
Using the column sort feature in the spreadsheet, the oldest person could be identified.
Explanation: 

Detailed explanation-1: -Information about what kind of data are contained in the census of population for government. (Answer is secondary data.)

Detailed explanation-2: -The Measure Evaluation document outlines the types of data collected in the census: Basic population characteristics including age, sex, marital status, household composition, family characteristics, and household size.

Detailed explanation-3: -Data collected on religion from census reports are secondary data. Secondary data is the second-hand information as it is not collected by the user. Thus, secondary data refers to the data which is already collected and published by other authorities. For example, government census report is a secondary data.

Detailed explanation-4: -Census method is the method of statistical enumeration where all members of the population are studied.

There is 1 question to complete.