the first row of the table is know as the table header.
Answer:
#include <stdio.h>
#include <ctype.h>
void printHistogram(int counters[]) {
int largest = 0;
int row,i;
for (i = 0; i < 26; i++) {
if (counters[i] > largest) {
largest = counters[i];
}
}
for (row = largest; row > 0; row--) {
for (i = 0; i < 26; i++) {
if (counters[i] >= row) {
putchar(254);
}
else {
putchar(32);
}
putchar(32);
}
putchar('\n');
}
for (i = 0; i < 26; i++) {
putchar('a' + i);
putchar(32);
}
}
int main() {
int counters[26] = { 0 };
int i;
char c;
FILE* f;
fopen_s(&f, "story.txt", "r");
while (!feof(f)) {
c = tolower(fgetc(f));
if (c >= 'a' && c <= 'z') {
counters[c-'a']++;
}
}
for (i = 0; i < 26; i++) {
printf("%c was used %d times.\n", 'a'+i, counters[i]);
}
printf("\nHere is a histogram:\n");
printHistogram(counters);
}
When a computer restarts without a hardware power-down-power-up cycle, it is doing an update.
Answer: d) Hierarchy of data
Explanation:
- Hierarchy of data is defined as arrangement of data in systematic way .The arrangement of files,character,records etc is done in a particular order usually in terms of highest level and lowest level .
- According to the question ,hierarchy of data should be used for organizing data from smallest stage to highest stage for database designing.
- Other options are incorrect alphabetical designing is based on alphabetical order. Detail structure is a model made on basis of details and features.
- Data design is the model or structure that includes data and related factors as building block.Logical order is the organizing elements on basis of particular logic.
- Thus, the correct option is option(d).