Question

Match the definition with the vocabulary word that best fits the definition. One of the three...

Match the definition with the vocabulary word that best fits the definition.

One of the three loops in C++. The first line of the loop consists of three distinct parts (initialize, compare, increment)

Nested if statements are one way to do a choice between multiple options. This statement does the same for integers and characters.

These are used to bound blocks of code in C++.

These characters are used to specify characters in C++.

A logical operator that changes true to false.

This type of operator is used for comparisons. >, >=, <, <= are all examples

The most versatile of the C++ statements available for selection. It allows you to use relational and logical operators to create complex conditions.

The area of a program in which a variable is known and can be used.

A named storage location in the computer's memory for holding a piece of data that can not change

A logical construct that is only true when both parts are true

This logical operator is used when you have a complex condition where only one part must be true for the entire condition to be true.

A looping statement that checks its condition before executing the loop

the options are :

FOR

WHILE
' '

relational operator

SCOPE

NOT

IF

SWITCH
AND

Constant

OR

{}

0 0
Add a comment Improve this question Transcribed image text
Answer #1

1) One of the three loops in C++. The first line of the loop consists of three distinct parts (initialize, compare, increment)
Answer - for loop
   Syntax: for(initialize,compare,increment){}


2) Nested if statements are one way to do a choice between multiple options. This statement does the same for integers and characters.
Answer - switch statement
The same functionality can be achieved using switch(case) -> where case defines the possible values

3) These are used to bound blocks of code in C++.
Answer : {}
Curly braces are used to bound blocks of code

4) These characters are used to specify characters in C++.
Answer : ' '
Like if we want to have a char varibale store character a then
char var = 'a'

5) A logical operator that changes true to false.
Answer : NOT
This will make the value true to false (also false to true, just negate the current value)

6) This type of operator is used for comparisons. >, >=, <, <= are all examples
Answer : relational operator

7) The most versatile of the C++ statements available for selection. It allows you to use relational and logical operators to create complex conditions.
Answer: IF

8) The area of a program in which a variable is known and can be used.
Answer: SCOPE

9) A named storage location in the computer's memory for holding a piece of data that can not change
Answer: Constant

10)A logical construct that is only true when both parts are true
Answer : AND
Where both the condition/values/expression to left and right of AND should be true

11) This logical operator is used when you have a complex condition where only one part must be true for the entire condition to be true.
Answer : OR

12) A looping statement that checks its condition before executing the loop
Answer: while

Add a comment
Know the answer?
Add Answer to:
Match the definition with the vocabulary word that best fits the definition. One of the three...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Match the definition with the vocabulary word that best fits the definition. The library used for...

    Match the definition with the vocabulary word that best fits the definition. The library used for formatting output. The location of a variable in memory The library used to read and write to files Data that is passed back to the calling function as the function ends. When an argument is passed to a function this way, a copy of the argument (or of the value stored in the argument variable) is copied into a function parameter variable. A statement...

  • C++ Part 1, c. Match each of the vocabulary words at the right with the BEST...

    C++ Part 1, c. Match each of the vocabulary words at the right with the BEST definition on the left. This operator is shorthand for adding a value to something ✓ Choose... This keyword is used to de-allocate memory allocated with the new operator. protected exit The increment operator for C++ This method is used to "Clean up" when an object is deleted. private Destructor Operator When you are accessing a method through a pointer, you can use this operator...

  • Question 4 Match the description/definition below to the word that best fits that description/definition. Not all...

    Question 4 Match the description/definition below to the word that best fits that description/definition. Not all words will be used, and words may be used more than once. - A segment of DNA that codes for a particular protein A Gene - Copies of a chromosome that separate from each other during mitosis and meiosis || B. Homologous chromosomes - C. Meiosis Cellular replication that produces four non-identical daughter cells and is used to produce sperm and eggs D. Sister...

  • Question{04}: Which statement is true about "if" and "switch" statements? A. they can be used to...

    Question{04}: Which statement is true about "if" and "switch" statements? A. they can be used to control the flow of your code B. they can use combinations of logicals in their expression C. in some situations, they can be used interchangeably D. they can be used to selectively run lines of code based on a condition or expression E. all of the above Answer{04}=''; Reason{04}=''; Question{05}: Which statement is true about the "else" and "otherwise" A. an "else" is not...

  • QUESTION 2 Copy of 1-3 Vocab Match the vocabulary word for each definition below A relational...

    QUESTION 2 Copy of 1-3 Vocab Match the vocabulary word for each definition below A relational database chart that is used to map the infor-mation from the entity relationship diagram A. Nulls the unique identifier for each row of data B. Unique Links data in one table to the data in a second table by re-ferring to the PK column in the second table C. Table instance chart Indicates if a column must contain a value D. Foreign key (FK)...

  • Fill the blank in each of the following using the terms at the bottom. IT. When...

    Fill the blank in each of the following using the terms at the bottom. IT. When an array is created, a value in the array is called a(n) 12. f and ) must always be used with an if) statement: True or False 13. Theoperator is used to check if two values are equal. 14. A command can only be used in a loop statement. 15. Acommand can be used in both a loop and switch statement. 16. In the...

  • Please answer question 1-4 4. Vocabulary: Match definition to its word. There will be some words...

    Please answer question 1-4 4. Vocabulary: Match definition to its word. There will be some words left over. (DUP some words left over. (50 points, 5 points each) part of the processor that performs actions such as mathematics, testing, and moving data the processor uses this computed memory location to access data used to combine multiple partial programs into a single executable how instructions are stored as machine code A. Indirect B. event handler c. pointer D. assembler E. control...

  • 15. Which one of the following two conditional statements is correct in determining if m falls...

    15. Which one of the following two conditional statements is correct in determining if m falls outside a range of values, (m <= 0) or (m > n)? Circle one answer: (a) if(m <0||m >n) (b) if(m <= 0 && m >n) (c) if(0 <= m || m <n) (b) if (0 <= m && m <n) 16. The statement (or command or function) is used inside a loop to send control of the program to the last line of...

  • The second project involves completing and extending the C++ program that evaluates statements of an expression...

    The second project involves completing and extending the C++ program that evaluates statements of an expression language contained in the module 3 case study. The statements of that expression language consist of an arithmetic expression followed by a list of assignments. Assignments are separated from the expression and each other by commas. A semicolon terminates the expression. The arithmetic expressions are fully parenthesized infix expressions containing integer literals and variables. The valid arithmetic operators are +, –, *, /. Tokens...

  • QUESTION 1 Which statement results in the value false? The value of count is 0; limit...

    QUESTION 1 Which statement results in the value false? The value of count is 0; limit is 10. (count != 0)&&(limit < 20) (count == 0)&&(limit < 20) (count != 0)||(limit < 20) (count == 0)&&(limit < 20) 10 points    QUESTION 2 If this code fragment were executed in an otherwise correct and complete program, what would the output be? int a = 3, b = 2, c = 5 if (a > b) a = 4; if (...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT