Mark the following statements as true or false.
a. The following is a valid C++ enumeration type:
enum romanNumerals {I, V, X, L, C, D, M};
b. Given the declaration:
enum cars {FORD, GM, TOYOTA, HONDA};
cars domesticCars = FORD;
the statement:
domesticCars = domesticCars + 1;
sets the value of domesticCars to GM.
c. A function can return a value of an enumeration type.
d. You can input the value of an enumeration type directly from a standard input device.
e. The only arithmetic operations allowed on the enumeration type are increment and decrement.
f. The values in the domain of an enumeration type are called enumerators.
g. The following are legal C++ statements in the same block of a C++ program:
enum mathStudent {BILL, JOHN, LISA, RON, CINDY, SHELLY};
enum historyStudent {AMANDA, BOB, JACK, TOM, SUSAN};
h. The following statement creates an anonymous type: enum {A, B, C, D, F} studentGrade;
i. You can use the namespace mechanism with header files with the extension h.
j. Suppose str = "ABCD";. After the statement str[1] = 'a';, the value of str is "aBCD".
k. Suppose str = "abcd". After the statement:
str = str + "ABCD";
the value of str is "ABCD".

Answers

Answer 1

True. The statement implies that the given String 'str' with the value "abcd" has been transformed into an uppercase version, resulting in the new value "ABCD"

True or false: The only arithmetic operations allowed on the enumeration type are increment and decrement.
True. Enumeration types, also known as enums, are used to represent distinct values in a set. They typically do not support arithmetic operations like addition or subtraction. However, in some programming languages, you can increment or decrement the underlying integer value of an enum member, but this is generally not a recommended practice.
True or false: Suppose str = "abcd". After the statement, the value of str is "ABCD".
True. The statement implies that the given string 'str' with the value "abcd" has been transformed into an uppercase version, resulting in the new value "ABCD". In most programming languages, you can achieve this by using an appropriate function or method, such as the `toUpperCase()` method in JavaScript or the `upper()` function in Python. These functions convert all lowercase letters in the string to their uppercase counterparts, and leave other characters unchanged.

To know more about String .

https://brainly.com/question/30392694

#SPJ11

Answer 2

Mark the following statements as true or false.

a. The following is a valid C++ enumeration type:

enum romanNumerals {I, V, X, L, C, D, M};

b. Given the declaration:

enum cars {FORD, GM, TOYOTA, HONDA};

cars domesticCars = FORD;

the statement:

domesticCars = domesticCars + 1;

sets the value of domesticCars to GM.

c. A function can return a value of an enumeration type.

d. You can input the value of an enumeration type directly from a standard input device.

e. The only arithmetic operations allowed on the enumeration type are increment and decrement.

f. The values in the domain of an enumeration type are called enumerators.

g. The following are legal C++ statements in the same block of a C++ program:

enum mathStudent {BILL, JOHN, LISA, RON, CINDY, SHELLY};

enum historyStudent {AMANDA, BOB, JACK, TOM, SUSAN};

h. The following statement creates an anonymous type: enum {A, B, C, D, F} studentGrade;

i. You can use the namespace mechanism with header files with the extension h.

j. Suppose str = "ABCD";. After the statement str[1] = 'a';, the value of str is "aBCD".

k. Suppose str = "abcd". After the statement:

str = str + "ABCD";

the value of str is "ABCD"

Learn more about statements here:

https://brainly.com/question/2285414

#SPJ11


Related Questions

Wiliam would like to sort a list of items after the data is already entered
Which method is NOT an available sort option?
number
date
text
symbol

Answers

Answer symbol

Explanation:

Symbol is not an available sort option.

Evaluate each condition as to whether it is true or not.
You can join the Army if you are over 17 and healthy. Have you met those requirements if you are 16 and healthy?
You can earn a scholarship if you have an ACT over 30 or you are valedictorian of your high school. Have you eamed a scholarship if you have an ACT
of 34 but are not the valedictorian?

Answers

Answer:

For the first one you have not met those requirements because you are still 16, for the second one you have met those requirements because you can either have a score over 30 (which you have 34) or be a valedictorian

Explanation:

Above

If you would like to give another user permissions on your mailbox or to particular folders within your mailbox, which role should you configure?

Assignee
Client
Delegate
Manager

Answers

Answer:

I think it's B, Delegate

Explanation:

Cause the other options didn't seem to fit as the answer.

I really don't know though.

A delegate is someone who has been granted permission by another user to access. The correct answer would be an option (C).

What is a mailbox?

A computer-simulated mailbox that stores email messages. Mailboxes are saved on a disc as a message file or a message database.

A delegate is someone who has been granted permission by another user to access and manage their mailbox, including sending and responding to email messages on their behalf.

When you grant delegate access to another person, you are giving them the ability to access specific folders within your mailbox and perform specific actions, such as reading, sending, and deleting email messages.

Assignee, client, and manager are not terms typically used in the context of delegate access in email systems.

Thus, the correct answer would be option (C).

Learn more about the mailbox here:

https://brainly.com/question/28430685

#SPJ6

Multiple Select
Which of the following statements about localization are true? Select 2 options.
The goal of localization is to create an application or site that looks and feels like it was created for a specific market.
Really the only issue in localization is translating the text into another language.
You should avoid slang and idioms, since they will not be understandable to many audiences.
It is a good idea to use lots of images, since they are easily understood by all cultures.
For consistency, it is a good idea to use dollars as a currency in all versions of an application

Answers

Answer:

A. The goal of localization is to create an application or site that looks and feels like it was created for a specific market.

B. Really the only issue in localization is translating the text into another language.

Explanation:

In Computer science, localization can be defined as the process of designing, developing and adaptation of computer software applications or websites for different languages and geographical regions with peculiar differences.

This ultimately implies that, the main purpose for localization of a product such as a website or software application is to ensure they are specialized and specifically suited for a linguistic or geographical region.

The following statements about localization are true;

I. The goal of localization is to create an application or site that looks and feels like it was created for a specific market.

II. Really the only issue in localization is translating the text into another language.

Answer:

C. You should avoid slang and idioms since they will not be understandable to many audiences.

A. The goal of localization is to create an application or site that looks and feels like it was created for a specific market.

are the answers

Explanation:

PLS HELP ASAP) Omar is using the web to do research on diabetes. he needs to ensure that all of the information he finds regarding medications, treatments, and diets are accurate. the first websites he finds has a lot of information about a diet plan to help diabetic live healthy lifestyle. Omar can't figure out who the author of the site is and he notices that matches the one described on the website. Which of these are red flags that he should continue doing more research elsewhere? choose the right answer

a. the content is biased towards a particular diet plan that the site is advertising

b. Omar cant find the author so there is no proof that the writer can be trusted to provide medical advice.

c. both A and B

d. none of the above. the website can be trusted.


Nikolas is doing research on U.S visas for a school project. he has found conflicting information on two sites. the first site is travel.state.gov and the other is traveldocs.com which site should Nikolas trust more? choose the answer

a. Travel.state.gov

b. Traveldocs.com

Answers

Not sure on the first question, but the second would be answer choice a: Travel.state.gov since a website with .gov at the end tend to be trustworthy sources

Answer: 1. C. both A and B.

2.  Travel.state.gov

Explanation: i took the test!

the manager of a xyz organisation is preparing the organizational chart which feature of MS Excel /he will use to do so? also write the steps for this​

Answers

Answer:

Smart Art

Explanation:

The smart art feature in Microsoft excel allows for the creation of organizational chart on Microsoft excel. It readily allows for an hierarchical arrangement of an organization's personnel including the various departments on the system. The smartart allows the implementation of a graphical output which allows the display of an organization's personnel in order of hierarchy. To get started with smart art on excel, Clicking on the insert tab, the same are appears under illustrations. For an organizational chart, the Hierarchy smart art graphic type is selected and filled accordingly.

Which of the following allows you to copy
formatting of text from one part of your presentation
and apply it to text in another part of your
presentation?
Animation Painter
Animation
Format Painter
slide master
DONE

Answers

Answer:

format painter

Explanation:

What does this mean

Answers

Answer:

"Y YUR Y YUB I CUR YY 4 ME"

Explanation:

thats what i read lol, i dont know the meaning though

What is block palette

Answers

The block palette is an area of the graphical user interface located between the stage, sprite pane and scripting area.

Question #6
Multiple Choice
What tag is used to contain information about a web page, such as the title and related pages?

O
O

Answers

Answer:   b; head

Explanation:

Answer: <head>

Explanation: EDGE '23

Sans serif typeface is a good choice for
a. printed documents
b.document headings
c. document text
d. document content

Answers

Answer: A Sans-serif font is a good choice for headings and small text where clarity and readability are paramount. A Serif font is good to use on larger blocks of printed text like on a flyer.

Explanation:

Help!!
What’s the inputs and outputs of a printer
And what’s the inputs and outputs of a digital assistant/ Alexa??

Answers

Answer:

Input of printer - text

Output of Printer - text printed on paper

Input & output of digital Alexa - Voice/sound

Explanation:

Input for a printer is the text data entered into any of the file formats that can be printed.

Output of a printer is the text printed on a piece of paper.

Input of a digital assistant is in the form of voice

Output of a digital assistant in the form of sound

What is the 3 common keys used to access the BIOS.​

Answers

Answer:

To access your BIOS, you'll need to press a key during the boot-up process. This key is often displayed during the boot process with a message “Press F2 to access BIOS”, “Press <DEL> to enter setup”, or something similar. Common keys you may need to press include Delete, F1, F2, and Escape.

Shawn has connected his laptop to a projector and chosen to duplicate his screen to the projector. Which statement is true in this situation regarding the Presenter view?

It will be used by default.
It will not be used by default but can be selected.
It cannot be used.
It must be used.

Answers

Answer:

B. It will not be used by default but can be selected.

Explanation:

PowerPoint application can be defined as a software application or program designed and developed by Microsoft, to avail users the ability to create various slides containing textual and multimedia informations that can be used during a presentation.

Some of the features available on Microsoft PowerPoint are narrations, transition effects, custom slideshows, animation effects, formatting options etc.

Basically, the views that are available on the Microsoft PowerPoint application includes;

1. Slide Sorter.

2. Notes Page.

3. Reading Pane.

4. Presenter view.

Presenter view avails the user an ability to use two monitors to display his or her presentation. Thus, one of the monitors displays the notes-free presentation to your audience while the other monitor lets you view the presentation with notes that you have added to the slides, as well as the navigation and presentation tools.

In this scenario, Shawn has connected his laptop to a projector and chosen to duplicate his screen to the projector. Hence, the statement which is true in this situation regarding the Presenter view is that it will not be used by default but can be selected by the user.

3. Windows that are viewed as Web pages have
sections. **

Answers

Answer:

when the when the when the add the when are you is id god his gay for your top off jack dafe cafe read line green red whats the answer

Explanation:

A writing guide in making a project correctly.

a.project proposal
b.project plan
c.project format
d.project template ​

Answers

Answer:

b

Explanation:

B Project plan hope this helps

70s music or russian music

Answers

Explanation:

BB cgbfyhcthcfgvxdrgjyfddg

Don’t listen to any

a person who creates a computer virus is called

Answers

Answer:

A person who creates computer virus is known as hacker.

How can identity theft be prevented?

Answers

Answer:

Identity theft can be prevented by using proper security measures

Explanation:

Identity theft can be prevented by using proper security measures such as stronger passwords and VPN. It can also be protected by making sure your system security is up to date.

What type of device is a keyboard?

Input
Memory
Output
Storage

Answers

Answer:

a keyboard is an input device

it's an input

Explanation:

There are three different types of peripherals: Input, used to interact with, or send data to the computer (mouse, keyboards, etc.) Output, which provides output to the user from the computer (monitors, printers, etc.) Storage, which stores data processed by the computer (hard drives, flash drives, etc.)

what are the advantages of knowing demographics over psychographics and vice versa?

Answers

It's been said that demographics help you understand who buys your product or service, while psychographics helps you understand why they buy. Another way to put it is that demographics are things that can be observed from the outside, such as age and race, while psychographics are internal attributes or attitudes.

Match the definition with the keyword it represents

1. Extra funds set aside beyond those necessary to cover operating expenses

2. Basic reasoning for an organization’s existence

3. Interfering in someone’s life for the purpose of saving him or her from risky behavior that could lead to death


A. philosophy or mission statement

B. intervention

C. prudent reserve

Answers

Answer:

1. C

2. A

3. B

Explanation:

1. Prudent reserve: these are extra funds set aside beyond those necessary to cover operating expenses. The main reason for having a prudent reserve is to provide funds to take care of any emergency or unforeseen expenses.

2. Philosophy or mission statement: Basic reasoning for an organization’s existence. This is the fundamental building block on which an organization is founded on and as such it sets the direction for the organization.

3. Intervention: Interfering in someone’s life for the purpose of saving him or her from risky behavior that could lead to death. An intervention typically comes from a superior or guardian and it could be in various forms such as cash, advice, mentorship, admonition, prayers or protection.

Answer:

The person above me is right.

Explanation:

What is one thing that makes a website a good website?

Answers

Make sure that your website's name and domain reflect the topic of the site. Bottom Line: Most high-traffic websites have a clear purpose and operate in a particular niche. Make sure that the purpose of your website is clear to visitors and try to stay on topic as much as possible.

How would you describe
"analogous color harmony" to a six year old?

Answers

Answer:

Analogous colours are groups of three colours that are next to each other on the colour wheel, and a tertiary. ... An analogous color scheme creates a rich, monochromatic look. It is best used with either warm or cool colors, creating a look that has a certain temperature as well as proper color harmony.

Explanation:

Que ventajas podria traer el internet a la educacion artistica? Ayuda porfa telo pido porfavor

Answers

Answer:

"Informacion"

Explanation:

La internet puede traer las mismas ventajas para la educacion artistica que cualquier otra materia y eso es "Informacion". El arte tiene muchas tecnicas. Tambien hay muchos differentes estilos de arte. La internet tiene toda la informacion sobre los artistas mas famosos de las historia, incluyendo su arte, tecnicas, estilos, temas, historias, etc. Esta informacion es sumamente importante y util por que te enseña a utilizar todos los metodos ya creados y usarlos como herramientas para crear arte que representa el artista que sos.

In your own words, describe invention.

Answers

Answer:

An invention is an action of doing or creating something. Typically, a process of something.

Explanation:

Hopefully, it helps!

Answer:

Creating something new

Explanation: Invention is something that you originally create and don't copy from anyone else. The microwave was invented in 1945 that changed of how people used kitchen appliances, invention is kinda just another word for creativity (since it's the process of it!)

Hope this helps and make sure to thank me!

Explanation:

A person who creates a computer virus is a (1)system analyst (2) techician(3) programmer​

Answers

Answer:

a person who creates a computer virus is a programmer

Answer: hacker

Explanation:

press _________ to toggle the selected range as bold​

Answers

Answer:

press the b that i in a dark shade that is bold

What is Exploring technology?

Answers

Answer:

Investigating Technology is a thorough, activity based, course that acquaints understudies with innovation and its effect on society.

Explanation:

Answer: Exploring Technology is a comprehensive, action-based, course that introduces students to technology and its impact on society.

Explanation: it on googIe....

what will the following program display in the console

Answers

what nnnnnnnnnnnnn nnnnn
It will display the numbers 0 through 3 on each separate line I think
Other Questions
For each of the following functions, determine whether the function is: - Injective (one-to-one) - Surjective (onto) - Bijective. Justify your answera. f: Z Z such that f(x) = |2x|. b. f: Z Z such that f(x) [x/2] c. f: Z+ Z+ such that f(x) = x+1. d. f: Z Z z such that f(x, y) = x + y. a reaction has a theoretical yield of 41.2 g . when the reaction is carried out, 31.2 g of the product is obtained.What is the percent yield? a) 55.1% b) 44.8% c) 123% d) 81.2% extensive practice at working crossword puzzles improves skill at working those puzzles, but has little effect on other types of memory or problem solving. apparently the practice increases what? a.fluid intelligence b.crystallized intelligence c.both fluid and crystallized intelligence d.neither fluid nor crystallized intelligence As the term is described in your book, which of the following best describes collaborative medical communication? a) Patients with similar concerns assist each other by answering questions, serving as social support networks, and sharing their own experiences. b) Participants act as peers who openly discuss health options and make decisions together c) Patients are encouraged to choose health professionals who are highly similar to themselves. d) Managed care executives, caregivers, patients, and family members work together to assure the best care possible. A solar collector consists of a long duct through which air is blown; its cross section forms an equilateral triangle 1 m on a side. What is the size of the region responsible for powering an AGN?a. atomic size b. stellar size c. Solar System sized. galaxy size The air handling equipment that costs $12,000 has a life of eight years with a $2.000 SV. The air handling equipment is to be depreciated, using the MACRS with a GDS recovery period lof seven years The BV of the equipment at the end of (including) year fours is most nearly Seth is using the figure shown below to prove Pythagorean Theorem using triangle similarity:In the given triangle ABC, angle A is 90 and segment AD is perpendicular to segment BC.The figure shows triangle ABC with right angle at A and segment AD. Point D is on side BC.Which of these could be a step to prove that BC2 = AB2 + AC2? possible answers - By the cross product property, AB2 = BC multiplied by BD.By the cross product property, AC2 = BC multiplied by BD.By the cross product property, AC2 = BC multiplied by AD.By the cross product property, AB2 = BC multiplied by AD. your body uses all of the air that you breathe into your lungstrue or flase which development most contributed to the growth of the industry featured in the illustration? A. The urban flight to rural communities B. the relocation of american indians to western lands C. the election of andrew jackson D. the standardization of time zones from a sample of 300, with h0=>.75, alpha= .05 and sample proportion = 0.68, you _________ hypothesis. What is the ph of the buffer after the addition of 0.03 molmol of koh? The cartesian product of two sets is a set of pairs combining all elements from the first set with each of the elements in the second set. T/F this weather map helps to predict the location where a storm will occur by giving which type of information? I NEED HELP URGENTLY!! 25points In testing the null hypothesis H0: 1 - 2 = 0, the computed test statistic is z = -1.66. The corresponding p-value is a. .0970. b. .0485. c. .9030. d. .9515. use an inverse matrix to solve the system of linear equations. 5x1 4x2 = 39 x1 x2 = 33 (x1, x2) = Calculate the Ksp for hydroxide if the solubility of Mn(OH)2 in pure water is 7. 18 x 10 g/L. A. 3. 20 x 10-4 b. 7. 18 x 10-1 c. 8. 07 x 10-3 d. 5. 25 x 10-7 e. 2. 10 x 10-6 draw the lewis structure for propane c3h8. be certain you include any lone pairs. Combining assets that are not perfectly positively correlated with each other can reduce the overall variability of returns. True False