Playing music in two simultaneous rhythms is known as polyrhythm. (T/F)
  • True
  • False
Simple meters are meters in which the beats are divided into three. (T/F)
  • True
  • False
In duple meter, the accent is typically on which beat?
  • False
  • first
  • three
  • third
The element that propels music forward in time is:
  • meter
  • three
  • upbeat
  • rhythm
In triple meter, the strongest accent is typically on which beat?
  • False
  • first
  • three
  • third
In notation, regular groupings of beats are marked off in measures. (T/F)
  • True
  • False
In a compound meter, the beat divides into groups of:
  • three
  • True
  • first
  • third
In quadruple meter, the second-strongest accent is typically on which beat?
  • first
  • three
  • triple
  • third
________is created when the regular accent is shifted to a weak beat or an offbeat.
  • downbeat
  • nonmetric
  • syncopation
  • triple
The number of beats in a measure determines the:
  • three
  • meter
  • rhythm
  • first
When a melody begins before a downbeat, it is said to begin on a(n):
  • triple
  • downbeat
  • first
  • upbeat
What marketing strategy is a company using when it tries to separate its brand of cereal breakfast by associating it with healthy living, a need that is ranked high on the consumer's priority list?
  • It was the first ad agency to charge a commission based on the "net cost of space."
  • The company is using positioning strategy by associating its brand with benefits that are important to consumers.
  • The traditional advertising industry suffered from overpopulation.
  • encouraged increased productivity.
What is the objective of market segmentation?
  • Producers of energy and energy-consuming goods used advertising to slow the demand for their products.
  • The company is using positioning strategy by associating its brand with benefits that are important to consumers.
  • The objective of market segmentation is to address the needs of unique groups of people through more specialized products.
  • To dampen demand for products, especially those that create unwanted costs for society
Explain the following statement: "As a social force, advertising has been a major factor in improving the standard of living in the United States."
  • The two factors that best characterize the marketing world during the postindustrial age are: (1) the aging of traditional products, with a corresponding growth in competition, and (2) the growing affluence and sophistication of the consuming public, led by the huge baby boomer generation. The most important factor was competition, intensified by lower trade barriers and growing international trade. As high profits lured imitators into the marketplace, each offering the most attractive product features at lower cost, consumers benefited from more choices, higher quality, and lower prices. On the demand side, newly affluent consumers concerned themselves more with the quality of their lives. With their basic commodity needs already met, baby boomers were interested in saving time and money to spend on leisure-time activities or on products, services, and social causes that represented their aspirations.
  • Demarketing
  • By publicizing the material, social, and cultural opportunities of a free enterprise society, advertising has increased productivity in both management and labor. Advertising serves other social needs besides simply stimulating sales. Free media are not really "free"; newspapers must pay for paper, ink, and energy, and radio stations require equipment, buildings, and towers. All media organizations must pay salaries and benefits for reporters, engineers, and management. Newspapers, magazines, radio, television, and many Web sites all receive their primary income from advertising. This facilitates freedom of the press and promotes more complete information. Some advertising organizations also foster growth and understanding of important social issues and causes through public service. The Red Cross, United Way, and other noncommercial organizations receive continuous financial support and volunteer assistance due in large part to the power of advertising.
  • During the preindustrial age, several important events contributed to the eventual development of modern advertising. The Chinese invented paper and Europe had its first paper mill by 1275. Around 1439, Johannes Gutenberg invented the printing press in Germany. Some entrepreneurs bought printing presses, mounted them in wagons, and traveled from town to town selling printing. This new technology made possible the early instances of advertising—posters, handbills, and signs—and, eventually, the first mass medium—the newspaper. In 1472, the first ad in English appeared: a handbill tacked on church doors in London announcing a prayer book for sale. Two hundred years later the first newspaper ad was published, offering a reward for the return of 12 stolen horses. Soon newspapers carried ads for coffee, chocolate, tea, real estate, medicines, and even personal ads. These early ads were still directed to a very limited number of people: the customers of the coffeehouses where most newspapers were read. Samuel Johnson, a famous English literary figure, observed in 1758 that advertisements were now so numerous that they were "negligently perused" and that it had become necessary to gain attention "by magnificence of promise." This was the beginning of puffery in advertising. In the colonies, the Boston Newsletter began carrying ads in 1704. About 25 years later, Benjamin Franklin, the father of advertising art, made ads more readable by using large headlines and considerable white space. In fact, Franklin was the first American known to use illustrations in ads.
What is meant by the USP of a product? Why did American advertisers introduce the idea during the "Golden Age" of advertising?
  • The objective of market segmentation is to address the needs of unique groups of people through more specialized products.
  • Rosser Reeves of the Ted Bates Agency introduced the idea that every ad must point out the product's USP (unique selling proposition). The USP refers to product features that differentiate it from competitive products. It was an extension of the product differentiation strategy. The USP was a logical extension of the Lasker and Hopkins "reason why" credo.
  • The introduction of printing allowed facts to be established, substantiated, recorded, and transported. Movable letters provided the flexibility to print in local dialects. This new technology made possible the early instances of advertising—posters, handbills, and signs—and, eventually, the first mass medium—the newspaper.
  • The functions and effects of advertising as a marketing tool are: (1) to identify products and differentiate them from others, (2) to communicate information about the product, its features, and its location of sale, (3) to induce consumers to try new products and to suggest reuse, (4) to stimulate the distribution of a product, (5) to increase product use, (6) to build value, brand preference, and loyalty, and (7) to lower the overall cost of sales.
What is the significance of information in the context of a market economy?
  • Buyers make better decisions when they have more information about the products they can choose from. Sellers can also more efficiently find consumers of their goods by providing information about what they sell.
  • The objective of market segmentation is to address the needs of unique groups of people through more specialized products.
  • A manufacturer of cosmetics trying to portray that its brands are not only different from its competitors but also superior in terms of quality and variety
  • Increase the use of products
Describe how wholesalers used advertising in the industrial age.
  • The industrial age started during the second half of the 19th century and lasted well into the 20th. Although ads were created prior to the industrial age, it was not until this period that it can be said that an advertising industry existed anywhere in the world. It was a period marked by tremendous growth and maturation of the country's industrial base. As U.S. industry met the basic needs of most of the population, commodity markets became saturated. Fresh mass markets then developed for the new, inexpensive brands of consumer luxury and convenience goods called consumer packaged goods.
  • During the preindustrial age, several important events contributed to the eventual development of modern advertising. The Chinese invented paper and Europe had its first paper mill by 1275. Around 1439, Johannes Gutenberg invented the printing press in Germany. Some entrepreneurs bought printing presses, mounted them in wagons, and traveled from town to town selling printing. This new technology made possible the early instances of advertising—posters, handbills, and signs—and, eventually, the first mass medium—the newspaper. In 1472, the first ad in English appeared: a handbill tacked on church doors in London announcing a prayer book for sale. Two hundred years later the first newspaper ad was published, offering a reward for the return of 12 stolen horses. Soon newspapers carried ads for coffee, chocolate, tea, real estate, medicines, and even personal ads. These early ads were still directed to a very limited number of people: the customers of the coffeehouses where most newspapers were read. Samuel Johnson, a famous English literary figure, observed in 1758 that advertisements were now so numerous that they were "negligently perused" and that it had become necessary to gain attention "by magnificence of promise." This was the beginning of puffery in advertising. In the colonies, the Boston Newsletter began carrying ads in 1704. About 25 years later, Benjamin Franklin, the father of advertising art, made ads more readable by using large headlines and considerable white space. In fact, Franklin was the first American known to use illustrations in ads.
  • During the 1800s, manufacturers were principally concerned with production. The burden of marketing fell on wholesalers, who used advertising primarily as an information vehicle. Ads appeared in publications called price currents that informed retailers about the sources of supply and shipping schedules for commodities. Mongomery Ward and Sears Roebuck produced the earliest catalogs, bringing a wide variety of products to new, rural markets. Only a few innovative manufacturers (mostly of patent medicines, soaps, tobacco products, and canned foods) foresaw the usefulness of mass media advertising to stimulate consumer demand.
  • Beginning around 1980, the postindustrial age has been a period of cataclysmic change. Citizens became increasingly aware of the sensitive environment in which we live and alarmed by our dependence on vital natural resources. Acute energy shortages of the 1970s and 1980s introduced a new marketing term, demarketing. Producers of energy and energy-consuming goods used advertising to slow the demand for their products. Ads asked people to refrain from operating washers and dryers during the day when the demand for electricity peaked.
Why was demarketing introduced during the postindustrial age?
  • Buyers make better decisions when they have more information about the products they can choose from. Sellers can also more efficiently find consumers of their goods by providing information about what they sell.
  • searching for unique groups of people whose needs could be addressed through more specialized products.
  • A manufacturer of cosmetics trying to portray that its brands are not only different from its competitors but also superior in terms of quality and variety
  • Beginning around 1980, the postindustrial age has been a period of cataclysmic change. Citizens became increasingly aware of the sensitive environment in which we live and alarmed by our dependence on vital natural resources. Acute energy shortages of the 1970s and 1980s introduced a new marketing term, demarketing. Producers of energy and energy-consuming goods used advertising to slow the demand for their products. Ads asked people to refrain from operating washers and dryers during the day when the demand for electricity peaked.
Write a short note on the nature of the market in the industrial age in the United States.
  • An increase in the rate of crime
  • The industrial age started during the second half of the 19th century and lasted well into the 20th. Although ads were created prior to the industrial age, it was not until this period that it can be said that an advertising industry existed anywhere in the world. It was a period marked by tremendous growth and maturation of the country's industrial base. As U.S. industry met the basic needs of most of the population, commodity markets became saturated. Fresh mass markets then developed for the new, inexpensive brands of consumer luxury and convenience goods called consumer packaged goods.
  • Advertising has been a major factor in improving the standard of living in the United States and around the world.
  • During the preindustrial age, several important events contributed to the eventual development of modern advertising. The Chinese invented paper and Europe had its first paper mill by 1275. Around 1439, Johannes Gutenberg invented the printing press in Germany. Some entrepreneurs bought printing presses, mounted them in wagons, and traveled from town to town selling printing. This new technology made possible the early instances of advertising—posters, handbills, and signs—and, eventually, the first mass medium—the newspaper. In 1472, the first ad in English appeared: a handbill tacked on church doors in London announcing a prayer book for sale. Two hundred years later the first newspaper ad was published, offering a reward for the return of 12 stolen horses. Soon newspapers carried ads for coffee, chocolate, tea, real estate, medicines, and even personal ads. These early ads were still directed to a very limited number of people: the customers of the coffeehouses where most newspapers were read. Samuel Johnson, a famous English literary figure, observed in 1758 that advertisements were now so numerous that they were "negligently perused" and that it had become necessary to gain attention "by magnificence of promise." This was the beginning of puffery in advertising. In the colonies, the Boston Newsletter began carrying ads in 1704. About 25 years later, Benjamin Franklin, the father of advertising art, made ads more readable by using large headlines and considerable white space. In fact, Franklin was the first American known to use illustrations in ads.
Which is the first U.S. publication for ad profession?
  • Producers of energy and energy-consuming goods used advertising to slow the demand for their products.
  • An increase in the rate of crime
  • Printers' Ink is the first U.S. publication for ad profession.
  • To identify products and differentiate them from others
During the "Golden Age" of advertising, the introduction of which advertising medium helped make the advertising industry a focus of great attention?
  • During the golden age of advertising, the introduction of television helped make the advertising industry a focus of great attention, which led to both acclaim and criticism.
  • baby boomer generation
  • marketing orientation
  • It was the first ad agency to charge a commission based on the "net cost of space."
In the context of early advertising, what were the benefits of the introduction of printing?
  • The two factors that best characterize the marketing world during the postindustrial age are: (1) the aging of traditional products, with a corresponding growth in competition, and (2) the growing affluence and sophistication of the consuming public, led by the huge baby boomer generation. The most important factor was competition, intensified by lower trade barriers and growing international trade. As high profits lured imitators into the marketplace, each offering the most attractive product features at lower cost, consumers benefited from more choices, higher quality, and lower prices. On the demand side, newly affluent consumers concerned themselves more with the quality of their lives. With their basic commodity needs already met, baby boomers were interested in saving time and money to spend on leisure-time activities or on products, services, and social causes that represented their aspirations.
  • printing press
  • The introduction of printing allowed facts to be established, substantiated, recorded, and transported. Movable letters provided the flexibility to print in local dialects. This new technology made possible the early instances of advertising—posters, handbills, and signs—and, eventually, the first mass medium—the newspaper.
  • The functions and effects of advertising as a marketing tool are: (1) to identify products and differentiate them from others, (2) to communicate information about the product, its features, and its location of sale, (3) to induce consumers to try new products and to suggest reuse, (4) to stimulate the distribution of a product, (5) to increase product use, (6) to build value, brand preference, and loyalty, and (7) to lower the overall cost of sales.
List the functions and effects of advertising as a marketing tool.
  • The functions and effects of advertising as a marketing tool are: (1) to identify products and differentiate them from others, (2) to communicate information about the product, its features, and its location of sale, (3) to induce consumers to try new products and to suggest reuse, (4) to stimulate the distribution of a product, (5) to increase product use, (6) to build value, brand preference, and loyalty, and (7) to lower the overall cost of sales.
  • To dampen demand for products, especially those that create unwanted costs for society
  • The traditional advertising industry suffered from overpopulation.
  • Buyers make better decisions when they have more information about the products they can choose from. Sellers can also more efficiently find consumers of their goods by providing information about what they sell.
In the context of the evolution of advertising in America, describe the significant events of the industrial age.
  • The industrial age started during the second half of the 19th century and lasted well into the 20th. Ads were created prior to the industrial age, but it was not until this period that it can be said that an advertising industry existed anywhere in the world. It was a period marked by tremendous growth and maturation of the country's industrial base. During the 1800s, manufacturers were principally concerned with production. The burden of marketing fell on wholesalers, who used advertising primarily as an information vehicle. Ads appeared in publications called price currents that informed retailers about the sources of supply and shipping schedules for commodities. The American profession of advertising began when Volney B. Palmer set up business in Philadelphia in 1841. In 1869, Francis Ayer formed an ad agency in Philadelphia and named it after his father. N. W. Ayer & Sons was the first agency to charge a commission based on the "net cost of space" and the first to conduct a formal market survey. The telegraph, telephone, typewriter, phonograph, and, later, motion pictures all let people communicate as never before. With the advent of public schooling, the nation reached an unparalleled 90 percent literacy rate. Manufacturers gained a large reading public that could understand print ads. The United States thus entered the 20th century as a great industrial state with a national marketing system propelled by advertising. With the end of World War I, the modern period in advertising emerged. The manufacturers changed their focus from a production orientation to a marketing orientation. They dedicated themselves to new product development, strengthened their own sales forces, packaged and branded their products, and engaged in heavy national brand advertising. In the 1920s, the era of salesmanship had arrived and its bible was Scientific Advertising, written by the legendary copywriter Claude Hopkins at Albert Lasker's agency, Lord & Thomas. Radio was born at about the same time and rapidly became a powerful new advertising medium. On October 29, 1929, the stock market crashed, the Great Depression began, and advertising expenditures plummeted. In the face of declining sales and corporate budget cutting, the advertising industry needed to improve its effectiveness. It turned to research. Daniel Starch, A. C. Nielsen, and George Gallup founded research groups to study consumer attitudes and preferences. By providing information on public opinion, the performance of ad messages, and sales of advertised products, these companies started the marketing research industry. Manufacturers followed this strategy of product differentiation vigorously, seeking to portray their brands as different from and better than the competition by offering consumers quality, variety, and convenience.
  • the aging of traditional products, with a corresponding growth in competition.
  • searching for unique groups of people whose needs could be addressed through more specialized products.
  • The industrial age started during the second half of the 19th century and lasted well into the 20th. Although ads were created prior to the industrial age, it was not until this period that it can be said that an advertising industry existed anywhere in the world. It was a period marked by tremendous growth and maturation of the country's industrial base. As U.S. industry met the basic needs of most of the population, commodity markets became saturated. Fresh mass markets then developed for the new, inexpensive brands of consumer luxury and convenience goods called consumer packaged goods.
How did Benjamin Franklin make ads more readable?
  • preindustrial age
  • Advertising has been a major factor in improving the standard of living in the United States and around the world.
  • Benjamin Franklin, the father of advertising art, made ads more readable by using large headlines and considerable white space.
  • Beginning around 1980, the postindustrial age has been a period of cataclysmic change. Citizens became increasingly aware of the sensitive environment in which we live and alarmed by our dependence on vital natural resources. Acute energy shortages of the 1970s and 1980s introduced a new marketing term, demarketing. Producers of energy and energy-consuming goods used advertising to slow the demand for their products. Ads asked people to refrain from operating washers and dryers during the day when the demand for electricity peaked.
What are consumer packaged goods?
  • Rosser Reeves of the Ted Bates Agency introduced the idea that every ad must point out the product's USP (unique selling proposition). The USP refers to product features that differentiate it from competitive products. It was an extension of the product differentiation strategy. The USP was a logical extension of the Lasker and Hopkins "reason why" credo.
  • The introduction of printing allowed facts to be established, substantiated, recorded, and transported. Movable letters provided the flexibility to print in local dialects. This new technology made possible the early instances of advertising—posters, handbills, and signs—and, eventually, the first mass medium—the newspaper.
  • The industrial age started during the second half of the 19th century and lasted well into the 20th. As the U.S. industry met the basic needs of most of the population, commodity markets became saturated. Fresh mass markets then developed for the new, inexpensive brands of consumer luxury and convenience goods called consumer packaged goods.
  • The company is using positioning strategy by associating its brand with benefits that are important to consumers.
What was the most common form of taxation during the colonial era?
  • Articles of Confederation
  • No taxation without representation
  • Although the income tax is currently one of the most important sources of government revenue, it had not yet developed during British rule over the colonies in the 18th century
  • Teriffs, Duties, and taxes on the commerce
Which of the following statements best describes British rule of the American colonies during the first half of the 18th century
  • No taxation without representation
  • The British raised revenue by increasing the tax rate of the colonies.
  • Confederation
  • The British ruled with a light hand and exerted almost no influence at all in any colonial town or city
The stamp act was a
  • tax on commerce
  • No taxation without representation
  • Articles of Confederation
  • Confederation
Which of the following statements about the income tax is the most accurate
  • Teriffs, Duties, and taxes on the commerce
  • No taxation without representation
  • Articles of Confederation
  • Although the income tax is currently one of the most important sources of government revenue, it had not yet developed during British rule over the colonies in the 18th century
10) Equity represents an ownership interest in a firm and entitles the holder to the residual cash flows.
  • investment bank.
  • Answer: FALSE
  • Answer: TRUE
  • Eurodollars.
18) Currently, over 80% of the new issues in the international bond market are Eurobonds.
  • Eurocurrencies.
  • Answer: FALSE
  • Eurodollars.
  • Answer: TRUE
7) The process of financial intermediation is also known as direct finance.
  • D) Both A and C of the above.
  • Answer: TRUE
  • Answer: FALSE
  • commercial banks.
4) A bond denominated in euros and issued in a country that uses the euro as its currency is an example of a Eurobond.
  • Answer: TRUE
  • investment bank.
  • Answer: FALSE
  • foreign bonds.
20) Unlike regulations in other countries, there are very few federal regulations governing who is allowed to set up a financial intermediary.
  • moral hazard
  • increases; reduces
  • Answer: FALSE
  • Answer: TRUE
11) Adverse selection refers to those with high credit risks, being most aggressive in their search for funds.
  • Eurodollars.
  • Answer: TRUE
  • Answer: FALSE
  • insiders
13) American investors pay attention to only the Dow Jones Industrial Average.
  • Eurocurrencies.
  • Answer: FALSE
  • primary market by an investment bank.
  • Answer: TRUE
9) A pension fund is not a contractual savings institution.
  • Answer: FALSE
  • None of the above.
  • insiders
  • Answer: TRUE
5) Most people's involvement with the financial system is through financial intermediaries rather than financial markets.
  • investment bank.
  • Answer: TRUE
  • Answer: FALSE
  • financial panic.
3) The New York Stock Exchange is an example of a primary market.
  • insiders
  • Answer: FALSE
  • None of the above.
  • Answer: TRUE
2) An example of direct financing is if you were to lend money to your neighbor.
  • Answer: FALSE
  • None of the above.
  • primary market by an investment bank.
  • Answer: TRUE
14) The government agency that insures each depositor at a commercial bank, savings and loan association, or mutual savings bank up to a loss of $100,000 per account ($250,000 for individual retirement accounts) is the Securities and Exchange Commission (SEC).
  • Answer: TRUE
  • insiders
  • adverse selection.
  • Answer: FALSE
National income accounting
  • The amount of after-tax income received by households is measured by:
  • Historically, real GDP has increased less rapidly than nominal GDP because:
  • Nominal GDP is:
  • The system that measures the economy's overall performance is formally known as:
monetary value of all final goods and services produced within the borders of a nation in a particular year.
  • Real GDP is:
  • GDP is the:
  • The GDP tends to:
  • A price index is:
consumer durable goods, consumer nondurable goods, and services.
  • GDP can be calculated by summing
  • In national income accounting, consumption expenditures include:
  • Government purchases include government spending on:
  • National income accountants can avoid multiple counting by:
consumption.
  • The largest component of national income is:
  • The amount of after-tax income received by households is measured by:
  • The largest component of total expenditures in the United States is:
  • Gross domestic product (GDP) measures and reports output:
understate economic welfare because it does not take into account increases in leisure.
  • GDP is the:
  • A price index is:
  • Real GDP refers to:
  • The GDP tends to:
he sum of all monetary transactions involving final goods and services that occur in the economy in a year.
  • Historically, real GDP has increased less rapidly than nominal GDP because:
  • Nominal GDP is:
  • Real GDP is:
  • The system that measures the economy's overall performance is formally known as:
goods and services produced in the underground economy
  • Final goods and services refer to:
  • Which of the following activities is excluded from GDP, causing GDP to understate a nation's production?
  • Which of the following activities is excluded from GDP, causing GDP to understate a nation's well-being?
  • Which of the following best defines disposable income?
compensation of employees.
  • National income accountants can avoid multiple counting by:
  • The amount of after-tax income received by households is measured by:
  • The largest component of total expenditures in the United States is:
  • The largest component of national income is:
real GDP may either rise or fall.
  • If nominal GDP rises:
  • Real GDP refers to:
  • Net exports are:
  • Transfer payments are:
goods and services purchased by ultimate users, rather than for resale or further processing.
  • GDP can be calculated by summing
  • Which of the following activities is excluded from GDP, causing GDP to understate a nation's production?
  • Final goods and services refer to:
  • The concept of net domestic investment refers to:
the nominal value of all goods and services produced in the domestic economy corrected for inflation or deflation.
  • GDP is the:
  • Real GDP is:
  • The GDP tends to:
  • Real GDP refers to:
in dollar amounts.
  • In determining real GDP, economists adjust the nominal GDP by using the:
  • The largest component of total expenditures in the United States is:
  • The amount of after-tax income received by households is measured by:
  • Gross domestic product (GDP) measures and reports output:
exports less imports.
  • The GDP tends to:
  • Net exports are:
  • Real GDP refers to:
  • If nominal GDP rises:
GDP price index.
  • In determining real GDP, economists adjust the nominal GDP by using the:
  • Gross domestic product (GDP) measures and reports output:
  • National income accountants can avoid multiple counting by:
  • The amount of after-tax income received by households is measured by:
Bureau of Economic Analysis
  • Nominal GDP is:
  • The system that measures the economy's overall performance is formally known as:
  • Historically, real GDP has increased less rapidly than nominal GDP because:
  • The agency responsible for compiling the National Income Product Accounts for the U.S. economy is the:
only counting final goods.
  • The largest component of national income is:
  • In national income accounting, consumption expenditures include:
  • National income accountants can avoid multiple counting by:
  • The amount of after-tax income received by households is measured by:
GDP data that have been adjusted for changes in the price level.
  • The GDP tends to:
  • Real GDP is:
  • Transfer payments are:
  • Real GDP refers to:
Rearrange the following code so that it forms a correct program that prints out the letter Q: int main()}// A SCRAMBLED program return 0;#include cout << "Q";{using namespace std;
  • int count;
  • float temperature;
  • #include using namespace std;int main(){ cout<<"Q"; return 0;}
  • Can be though of as a group of one or more programming statements that collectively has a name.
Write a complete program that prints Hello World to the screen.
  • #include using namespace std;int main() { int value = 100; cout <
  • #include using namespace std;main(){cout <<"Hello World";return 0;}
  • #include
  • #include using namespace std;int main(){ cout << "Gershwin,George " <
Declare a variable x , suitable for storing values like 3.14159 and 6.02E23.
  • string str="Hello";
  • double precise=1.09388641;
  • unsigned int degreesKelvin;
  • float x;
Write the include directive that allows use of the function headers in the file myFuncs.h.
  • kilos = pounds/2.2;
  • pricePerCase * 12
  • double dosage;
  • #include
The character escape sequence to represent a double quote is:
  • int count;
  • 12000000L
  • \"
  • True
Assume that message is a string variable . Write a statement to display its value on standard output .
  • double dosage;
  • #include
  • cout << message;
  • x % 10
Given an integer variable i and a floating-point variable f, write a statement that writes both of their values to standard output in the following format: i=value -of-i f=value -of-f Thus, if i has the value 25 and f has the value 12.34, the output would be: i=25 f=12.34 But if i has the value 187 and f has the value 24.06, the output would be:i=187 f=24.06
  • costOfBusRental/maxBusRiders
  • fullAdmissionPrice - discountAmount
  • cout << "Today's Word-Of-The-Day is: "+word;
  • cout << "i=" << i << " " << "f=" << f;
Given two double variables , bestValue and secondBestValue, write some code that swaps their values . Declare any additional variables as necessary.
  • highest=num;
  • double tempValue;tempValue=bestValue;bestValue=secondBestValue;secondBestValue=tempValue;
  • cout << fraction;
  • fullAdmissionPrice - discountAmount
Given the variable pricePerCase , write an expression corresponding to the price of a dozen cases.
  • int degreesCelsius;
  • bool isACustomer;
  • fullAdmissionPrice - discountAmount
  • pricePerCase * 12
Identifier
  • THe data that operators work with.Ex: unitSold = 12Then unitSold and 12 are operands.
  • A programmer-defined name that rep some element of a program.
  • Are consecutive sequences of characters that occupy consecutive bytes of memory.
  • Can only hold whole numbers.-Float point holds decimals
Write a declaration of a variable named number_of_children that can be used to hold the number of children in a family.
  • sizeof(int);
  • int hits;
  • int number_of_children;
  • int count;
Given the variables costOfBusRental and maxBusRiders , write an expression corresponding to the cost per rider (assuming the bus is full).
  • circumference=diameter*3.14159;
  • highest=num;
  • costOfBusRental/maxBusRiders
  • verbalScore + mathScore
Declare a string variable named str and initialize it to Hello .
  • bool hasPassedTest=true;
  • string str="Hello";
  • string mailingAddress;
  • bool isACustomer;
Assume that word is a string variable . Write a statement to display the message "Today's Word-Of-The-Day is: " followed by the value of word on standard output .
  • x % 10
  • cout << fraction;
  • cout << "Today's Word-Of-The-Day is: "+word;
  • cout << message;
An identifier that cannot be used as a variable name is a
  • reserved word
  • unsigned int degreesKelvin;
  • #include
  • double dosage;
Write a literal representing the long integer value twelve million.
  • 12000000L
  • 37L
  • True
  • monthlyPay
The names defined in iostream are associated with which namespace?
  • \\
  • \t
  • std
  • 'A'
Write a character literal representing the digit 1 .
  • 'A'
  • \'
  • \\
  • '1'
Boolean expressions
  • Expressions that have a true or false value.True = 1False = 0
  • Even if double is declared you may still lose the decimal.Ex: double Num Num = 5/2 Code prints out 2 NOT 2.5HoweverNum = 5.0/2
  • Can only hold whole numbers.-Float point holds decimals
  • can be anything the programmer wants to write.
Write a literal representing the character whose ASCII value is 65.
  • \'
  • 12000000L
  • 'A'
  • False
Character literals
  • Are always stored in memory with a null terminator at the end. Which marks the end of a string. Enclosed in " "
  • reserved word
  • are enclosed in ' '
  • principal % divisor
Declare an int constant , MonthsInYear , whose value is 12 .
  • sizeof(long);
  • const int MonthsInYear = 12;
  • int age, weight;
  • int hits;
Write an expression that computes the remainder of the variable principal when divided by the variable divisor . (Assume both are type int .)
  • principal % divisor
  • #include
  • #include
  • ans = num + 5;
Write an expression whose value is the number of bytes that an int variable occupies on whatever machine the expression is executed on.
  • sizeof(int);
  • int hits;
  • int count;
  • const int MonthsInYear = 12;
The character escape sequence to force the cursor to advance forward to the next tab setting is:
  • \t
  • \"
  • \'
  • \n
Write a statement that declares an int variable presidentialTerm and initializes it to 4.
  • int presidentialTerm=4;
  • int populationChange;
  • int count;
  • circumference=diameter*3.14159;
Write a statement that declares an int variable named count.
  • int count;
  • False
  • double dosage;
  • True
Write a character literal representing the (upper case) letter A .
  • False
  • \\
  • 12000000L
  • 'A'
How many spaces printed out by this statement: cout << "how" << "now" << "brown" << "cow" << "?";assingned
  • 0
  • \n
  • 0xf
  • num=4;
Declare a string variable named empty and initialize it to the empty string .
  • float x;
  • int degreesCelsius;
  • string mailingAddress;
  • string empty="";
A variable's scope
  • When a value is assigned to a variable as a part of a variables definition.
  • Even if double is declared you may still lose the decimal.Ex: double Num Num = 5/2 Code prints out 2 NOT 2.5HoweverNum = 5.0/2
  • Every variable has a scope. The scope of a variable is the part of the program where the variable may be used.
  • Are always stored in memory with a null terminator at the end. Which marks the end of a string. Enclosed in " "
Declare an integer variable cardsInHand and initialize it to 13.
  • double precise=1.09388641;
  • int profitStartOfQuarter;int cashFlowEndOfYear;
  • #include
  • int cardsInHand=13;
Given an integer variable count, write a statement that writes the value of count to standard output .
  • int count;
  • cout << count;
  • ans = num + 5;
  • pricePerCase * 12
Declare a string variable named mailingAddress.
  • string mailingAddress;
  • int degreesCelsius;
  • bool isACustomer;
  • int cardsInHand=13;
Returning float points
  • Every variable has a scope. The scope of a variable is the part of the program where the variable may be used.
  • Even if double is declared you may still lose the decimal.Ex: double Num Num = 5/2 Code prints out 2 NOT 2.5HoweverNum = 5.0/2
  • Its 0. It adds a extra byte to a string to inform it that it is concluded.(so in terms of space its always +1)
  • Are consecutive sequences of characters that occupy consecutive bytes of memory.
Write a literal representing the integer value zero.
  • 0xf
  • 37L
  • True
  • 0
Literals
  • All the statements that make up a function are enclosed in a set of braces.
  • double tempValue;tempValue=bestValue;bestValue=secondBestValue;secondBestValue=tempValue;
  • When a value is assigned to a variable as a part of a variables definition.
  • "Constant" values that are assigned to variables. can be string or integer
Write the necessary preprocessor directive to enable the use of the C++ string class .
  • #include
  • #include
  • double dosage;
  • principal % divisor
Write a statement to subtract tax from gross_pay and assign the result to net_pay . (The variables have already been declared and gross_pay and tax have already been initialized .)
  • double dosage;
  • kilos = pounds/2.2;
  • net_pay=gross_pay-tax;
  • num=4;
Assume that an int variable x has already been declared ,. Write an expression whose value is the last (rightmost) digit of x .
  • hasFever
  • float x;
  • x % 10
  • cout << message;
Integer variables
  • Can only hold whole numbers.-Float point holds decimals
  • All the statements that make up a function are enclosed in a set of braces.
  • Will only result in an integer(whole #) and integer division occurs. AKA you lose the decimal place NOT rounding.
  • THe data that operators work with.Ex: unitSold = 12Then unitSold and 12 are operands.
Every C++ program must contain a ____ function.
  • main
  • '1'
  • std
  • \n
The char data type
  • Every variable has a scope. The scope of a variable is the part of the program where the variable may be used.
  • Is used to store individual characters(1 letter) and needs to be put in ' '. These are characters are known as character literals.Its actually an integer data type that typically uses 1 byte of memory.
  • Can only hold whole numbers.-Float point holds decimals
  • are enclosed in ' '
Declare a variable isACustomer, suitable for representing a true or false value .
  • bool isACustomer;
  • bool hasPassedTest=true;
  • float x;
  • string empty="";
Write a statement that prints the following to standard output :i=Just write one statement that generates the message above: do not generate any extraneous spaces. Do not declare variables , do not write a main() function, do not write a whole program .
  • ans = num + 5;
  • cout <
  • int presidentialTerm=4;
  • cout << "i=";
Declare a long integer variable named grossNationalProduct.
  • #include
  • string str="Hello";
  • float temperature=98.6;
  • long int grossNationalProduct;
The word in the brackets of an include directive specifiesA. a namespace.B. a file containing code that is copied into the program at that point.C. a file containing definitions of input/output code.D. the name of the program.
  • int monthOfYear=11;long companyRevenue=5666777;int firstClassTicketPrice=6000;long totalPopulation=1222333;
  • #include then define the string variableAllows you to store more then one character in a variable unlike char.
  • A file containing code that is copied into the program at that point.
  • #include using namespace std;int main() { int value = 100; cout <
String literals
  • Every variable has a scope. The scope of a variable is the part of the program where the variable may be used.
  • THe data that operators work with.Ex: unitSold = 12Then unitSold and 12 are operands.
  • Will only result in an integer(whole #) and integer division occurs. AKA you lose the decimal place NOT rounding.
  • Are always stored in memory with a null terminator at the end. Which marks the end of a string. Enclosed in " "
Write a declaration for a variable temperature that can hold the current outdoor temperature, measured to the half degree (like 98.6 or 31.5).
  • float temperature;
  • kilos = pounds/2.2;
  • #include using namespace std;int main(){ cout<<"Q"; return 0;}
  • const int MonthsInYear = 12;
Write a literal corresponding to the value of the first 6 digits of PI ("three point one four one five nine").
  • .0
  • 3.14159
  • 6
  • num=4;
The character escape sequence to force the cursor to go to the next line is:
  • string empty="";
  • \n
  • 'A'
  • \\
Declare a variable populationChange , suitable for holding numbers like -593142 and 8930522.
  • string mailingAddress;
  • bool isACustomer;
  • int degreesCelsius;
  • int populationChange;
Declare a numerical variable precise and initialize it to the value 1.09388641.
  • double dosage;
  • int degreesCelsius;
  • string str="Hello";
  • double precise=1.09388641;
Which of the following IS a legal identifier? 5_And_10 Five_&_TenConstant ____________ LovePotion#9 "Hello World"
  • / This is a //// First Rate Program //*//
  • kilos = pounds/2.2;
  • ____________Rules:First character , must be a letter or underscore character.After first, you may use letters, numbers, or underscore.Upper and lower case symbolize 2 diff things.
  • double tempValue;tempValue=bestValue;bestValue=secondBestValue;secondBestValue=tempValue;
Write a declaration of a variable named count that can be used to hold numbers like 90000 and -1 and -406.
  • Can be though of as a group of one or more programming statements that collectively has a name.
  • double dosage;
  • int count;
  • const int MonthsInYear = 12;
Write the include directive needed to allow use of the various I/O operators such as cout and cin .
  • None of the above
  • #include
  • #include
  • principal % divisor
Given two integer variables num and highest, write a statement that gives highest the same value that num has.
  • cout << count;
  • ans = num + 5;
  • highest=num;
  • mightBePrime
Consider Program 2-19 below. Rearrange the lines of code to fix the scope error, yielding a correct C++ program that prints the number 100.
  • #include
  • #include using namespace std;int main() { int value = 100; cout <
  • #include
  • double tempValue;tempValue=bestValue;bestValue=secondBestValue;secondBestValue=tempValue;
Write a statement to set the value of num to 4 (num is a variable that has already been declared ).
  • cout << count;
  • highest=num;
  • num=4;
  • #include
Declare an integer variable named degreesCelsius .
  • int degreesCelsius;
  • #include
  • long int grossNationalProduct;
  • None of the above
Assume that an int variable x that has already been declared and initialized . Write an expression whose value is 1 more than x .
  • //
  • cout << "Today's Word-Of-The-Day is: "+word;
  • x % 10
  • x+1
Dividing two integers
  • Every variable has a scope. The scope of a variable is the part of the program where the variable may be used.
  • Is used to store individual characters(1 letter) and needs to be put in ' '. These are characters are known as character literals.Its actually an integer data type that typically uses 1 byte of memory.
  • double tempValue;tempValue=bestValue;bestValue=secondBestValue;secondBestValue=tempValue;
  • Will only result in an integer(whole #) and integer division occurs. AKA you lose the decimal place NOT rounding.
Declare a character variable named c.
  • char c;
  • bool isACustomer;
  • float temperature=98.6;
  • float x;
0 h : 0 m : 1 s

Answered Not Answered Not Visited Correct : 0 Incorrect : 0