Archives: Quiz
COSC 15987
Which of the following is a function that reads a specified number of bytes from a file into memory? (a) fseek (b) fwrite (c) fread (d) fopen Which statement is false? a) Bit field manipulations are machine dependent. b) Bit […]
CDA 74190
The following line is most properly an example of a __________. puts( “Welcome to C!” ); a) function b) block c) statement d) header Q1: Which of the following does the C++ compiler not examine in order to select the […]
CICS 97204
Which statement about symbolic constants and/or macros is true? a) The effects of symbolic constants and macros, once defined, cannot be modified. b) Preprocessor directive #removedef undefines a symbolic constant or macro. c) The scope of a symbolic constant or […]
MPCS 64599
Which statement about conditional compilation is false? a) Conditional compilation is commonly used as a debugging aid. b) For debugging purposes, printf statements can be enclosed in conditional preprocessor directives so that the statements are compiled only while the debugging […]
COP 86059
Q2: Which of the following preprocessor directives does not constitute part of the preprocessor wrapper? a. #define b. #endif c. #ifndef d. #include Q1: When composition (one object having another object as a member) is used: a. The host object […]
COSC 29185
Q2: Base class constructors and assignment operators: a. Are not inherited by derived classes. b. Should not be called by derived class constructors and assignment operators. c. Can be inherited by derived classes, but generally are not. d. Can call […]
CAPP 45484
Which statement is true? a) The do while iteration statement is an alternate notation for the while iteration statement; these statements function identically. b) The do while iteration statement tests the loop-continuation condition before the loop body is performed. c) […]
COMP 89767
A linked list has the functions insertAtFront, removeFromFront, insertAtBack, and removeFromBack, which perform operations on nodes exactly as their names describe. Which two functions would most naturally model the operation of a queue? (a) insertAtBackand removeFromBack. (b) insertAtBackand removeFromFront. (c) […]
CDA 38315
Q2: When deriving a class from a protected base class, the public members of the base class become _________ and the protected members of the base class become __________? a. protected, private b. public, private c. protected, protected d. public, […]
COSC 35305
Which of the following will generate an error? (a) if (answer == 7) { puts(“correct”); } else { puts(“incorrect”); } (b) puts(answer == 7 ? “correct” : “incorrect”); (c) printf(“%s\n”, answer == 7 ? “correct” : “incorrect”); (d) answer == […]
CDA 55096
Experience has shown that the best way to construct a program is from small pieces. This is called __________. a) bottom up b) the whole is greater than the sum of the parts c) divide and conquer d) recursion What’s […]
CDA 86355
The OR (||) operator (a) has higher precedence than the AND (&&) operator (b) stops evaluation upon finding one condition to be true (c) associates from right to left (d) is a ternary operator A node can only be inserted […]
CAS CS 91764
Q1: In the source-code file containing a class’s member function definitions, each member function definition must be tied to the class definition by preceding the member function name with the class name and ::, which is known as the: a. […]
CAPP 73876
Pointers cannot be used to (a) find the address of a variable in memory. (b) reference values directly. (c) simulate call-by-reference. (d) manipulate dynamic data structures. Q2: Which of the following is false about the following function prototype? void functionA( […]
CICS 48671
Q3: A copy constructor: a. Is a constructor with only default arguments. b. Is a constructor that initializes a newly declared object to the value of an existing object of the same class. c. Is a constructor that takes no […]
MGMT 21083
_____ refers to a society that is ruled by the wealthy. A.Kleptocracy B.Democracy C.Plutocracy D.Theocracy When American Express Co. advertised that it would donate 3 cents per transaction to nonprofit anti-hunger groups over a two-month period for all charges against […]
BUS 88573
_____ is a form of government requiring popular sovereignty, political liberty, and majority rule. A.Democracy B.Socialism C.Communism D.Liberalism The _____ sets drinking water standards, but the _____ regulates bottled water. A.Food Safety and Inspection Service; Consumer Product Safety Commission B.Consumer […]
EMBA 25466
When a manager acts toward a customer in a favorable way in the hope that the customer will return for future purchases, this is an example of: A.reciprocity. B.utilitarianism. C.realism. D.manipulation. Which of the following is true regarding the doctrine […]
BUS 58143
All of the following statements were the interrelated themes of broader responsibility that emerged during the Progressive era EXCEPT: A.managers were trustees, whose corporate roles put them in positions of power. B.managers had an obligation to balance multiple interests. C.many […]
MGT 36621
Activity in the _____sphere is the primary force of change and from this, change radiates to other spheres. A.environmental B.economic C.social D.political Transnational corporations are defined as: A.doing business in the state in which they are incorporated. B.doing business in […]
BUS 32854
In considering whether or not to do a certain action based on ethical reasoning, a manager asks herself: “If I act in this way, would my family approve of my actions?” Which of the following ethical principles is she applying? […]
MGT 61932
When a factory dumps toxic waste into a stream, it results in a(n) _____ cost for society. A.external B.internal C.private D.extraterritorial A traditional business model: A.is one in which the central strategy for creating value is based on meeting market […]
MGMT 60811
Which of the following are also called articles of incorporation? A.Stock options B.Share certificates C.Charters D.Perquisites What did the third wave of federal workplace regulation deal with? A.Union rights B.Polygraph and drug test rules C.Pension rights D.Civil rights Answer: B. […]
BUA 35688
According to historian Gary Cross, consumerism: A.is less powerful in comparison to other political ideologies, religions, or class distinctions. B.is the belief that goods give meaning to individuals and their roles in society. C.is a formal philosophy. D.is not a […]
EMBA 68469
The Group of Eight has now expanded and is currently known as: A.G20. B.G24. C.G77. D.G8 + 5. Which of the following is true regarding the implications of the current population trend? A.The global population growth is rising. B.The global […]
PRST 53915
Intense competition between corporations works to bring consumers: A.lower prices. B.lower quality. C.less choices. D.average quality. Chemical emissions that pose a health risk of serious illness such as cancer with even small inhalation exposures are known as: A.criteria pollutants. B.hazardous […]
MGMT 18006
Which of the following is a part of the tiers of internationalization? A.Export sales B.Indirect investments C.Importing essential goods D.Portfolio investment In the late 1800s and early 1900s, manufacturers were well protected from liability suits brought by injured customers because […]
MGMT 70546
A(n) _____ agency is a regulatory agency run by a small group of commissioners free of political control. A.traditional executive branch B.general regulatory C.federal executive department D.independent regulatory One of the measures of political globalization is: A.inflows of foreign direct […]
MHR 46383
The just price: A.is the economic price for which a good or service is offered in the marketplace. B.incorporates an excessive profit. C.is determined by supply and demand without any moral dimension. D.is inspired by fairness. What is the major […]
BUS 95394 Directors who are not
Directors who are not employees of the company are: A.inside directors. B.independent directors. C.lead directors. D.outside directors. According to leading progressive, David C. Korten: A.power on earth was being transferred from national governments to transnational corporations which by their nature […]
Management 49569
The Golden Rule of ethics suggests to managers that it is acceptable to treat workers as simply factors of production that should be manipulated in the manager’s best interest. _____ is the inherent authority of the state governments to regulate […]
EMBA 14474
Radon is an inert, colorless, and odorless gas found in soil and rock formations. The Nineteenth Amendment to the U.S. Constitution gave women the right to vote. Answer: TRUE For corruption to exist there must be both demand and supply. […]
MHR 13981
Enlightenment led to the rise of the idea that human beings are ends in themselves. A form of government requiring popular sovereignty, political liberty, and majority rule is the androcracy. Answer: FALSE The primary purpose of a business is to […]
MHR 18759
Laws that prohibit retail stores from being open for business on Sundays are called blue laws. Facilitation payments violate anti-bribery laws in almost every nation but are still widely tolerated. Answer: TRUE A strategy is a basic approach, method, or […]
BUA 29494
The Golden Rule of ethics is: “Justice is nothing else than the interest of the stronger.” At most companies CSR is still incidental, and rarely supplemental, to core business strategies. Answer: FALSE The pay of top corporate officers is set […]
Management 49664
Extrapolation is the process of inferring the value of an unknown state from the value of another state that is known. There is no specific part of the brain that makes ethical decisions. Answer: TRUE A pattern of individual acts […]
MGT 52338
The employees of a business are a part of its external environment. Corporate philanthropy is a large part of overall private philanthropy in the U.S. every year. Answer: FALSE Much New Deal legislation was profoundly unequal and uncompassionate and reasserted […]
OBHR 98222
Most U.S. companies have a written code of ethical conduct. Norms of compensatory justice require that fair criteria be used to assign benefits and burdens. Answer: FALSE An implied warranty is a written warranty arising out of reasonable expectations that […]
Management 67712
The public generally believes that a business has social responsibilities beyond merely making a profit. According to corporate charters, the legal line of authority for a company runs from the state, to directors, to managers, and to shareholders of the […]
MGMT 61770
To be effective, performance goals must be general and progress toward them should be measurable. The countervailing forces model is essentially the same as the market capitalism model. Answer: FALSE Mandated actions go beyond those compelled by law or regulation. […]
MGT 67125
The independent regulatory commission is a regulatory agency run by a small group of commissioners independent of political control. Sustained economic growth arose in Western Europe and the United States during the first half of the twentieth century. Answer: FALSE[/cpmembership] […]
Business 33308
The requirement that the probability of success remains constant from trial to trial is a property of the _________________ distribution. A. binomial B. uniform C. normal D. Poisson Using the p-value rule, if a null hypothesis is not rejected at […]
BUS 78077
The demand for a product for the last six years has been 15, 15, 17, 18, 20, and 19. The manager wants to predict the demand for this time series using the following simple linear trend equation: trt = 12 […]
Business 73717
When using a completely randomized design (one-way analysis of variance), the calculated F statistic will decrease as A. the variability among the groups decreases relative to the variability within the groups. B. the total variability increases. C. the total variability […]
BUS 29594
Data summarized in a frequency distribution or histogram form are often called weighted data. What sample size is needed to estimate with 95 percent confidence the mean intake of daily calcium within 20 units of the true mean if the […]
Business 55000
The J.O. Supplies Company buys calculators from a non-US supplier. The probability of a defective calculator is 10 percent. If 10 calculators are selected at random, what is the probability that 3 or more of the calculators will be defective? […]
Business 34120
If the population from which we sample is highly skewed to the right or to the left, then the population _________ might be a better measure of central tendency than the population mean. A. median B. variance C. mode D. […]
Business 98311
The cashier service time at the local branch of the Rivertown bank has an exponential distribution with a mean of 2.5 minutes. What is the probability that the service time exceeds 3 minutes? A. .3012 B. .6988 C. .4346 D. […]
Business 53525
The mean of the binomial distribution is equal to A. p. B. np. C. px(1 − p)n−x. D. (n)(p)(1 − p). E. After plotting the data points on a scatter diagram, we have observed an inverse relationship between the independent […]
Business 33788
A fair die is rolled 10 times. What is the probability that an even number (2, 4, or 6) will occur between 2 and 4 times? A. .6123 B. .1709 C. .1611 D. .3662 E. .3223 When the data being […]