Which structure can execute a set of statements only under certain circumstances?

{"ad_unit_id":"App_Resource_Sidebar_Upper","resource":{"id":27995250,"author_id":10559046,"title":"Chapter 4 (Decision Structures and Boolean Logic)","created_at":"2020-12-13T21:29:47Z","updated_at":"2020-12-15T02:36:37Z","sample":false,"description":null,"alerts_enabled":true,"cached_tag_list":"vocabulary, textbook","deleted_at":null,"hidden":false,"average_rating":null,"demote":false,"private":false,"copyable":true,"score":4,"artificial_base_score":0,"recalculate_score":false,"profane":false,"hide_summary":false,"tag_list":["vocabulary","textbook"],"admin_tag_list":[],"study_aid_type":"FlashCardDeck","show_path":"/flash_card_decks/27995250","folder_id":33767957,"public_author":{"id":10559046,"profile":{"name":"Andrew Lewis8450","about":null,"avatar_service":"google","locale":"en-US","google_author_link":null,"user_type_id":156,"escaped_name":"Andrew Lewis","full_name":"Andrew Lewis","badge_classes":""}}},"width":300,"height":250,"rtype":"FlashCardDeck","rmode":"canonical","sizes":"[[[0, 0], [[300, 250]]]]","custom":[{"key":"rsubject","value":"Computer Science"},{"key":"env","value":"production"},{"key":"rtype","value":"FlashCardDeck"},{"key":"rmode","value":"canonical"},{"key":"sequence","value":1},{"key":"uauth","value":"f"},{"key":"uadmin","value":"f"},{"key":"ulang","value":"es"},{"key":"ucurrency","value":"usd"}]}

{"ad_unit_id":"App_Resource_Sidebar_Lower","resource":{"id":27995250,"author_id":10559046,"title":"Chapter 4 (Decision Structures and Boolean Logic)","created_at":"2020-12-13T21:29:47Z","updated_at":"2020-12-15T02:36:37Z","sample":false,"description":null,"alerts_enabled":true,"cached_tag_list":"vocabulary, textbook","deleted_at":null,"hidden":false,"average_rating":null,"demote":false,"private":false,"copyable":true,"score":4,"artificial_base_score":0,"recalculate_score":false,"profane":false,"hide_summary":false,"tag_list":["vocabulary","textbook"],"admin_tag_list":[],"study_aid_type":"FlashCardDeck","show_path":"/flash_card_decks/27995250","folder_id":33767957,"public_author":{"id":10559046,"profile":{"name":"Andrew Lewis8450","about":null,"avatar_service":"google","locale":"en-US","google_author_link":null,"user_type_id":156,"escaped_name":"Andrew Lewis","full_name":"Andrew Lewis","badge_classes":""}}},"width":300,"height":250,"rtype":"FlashCardDeck","rmode":"canonical","sizes":"[[[0, 0], [[300, 250]]]]","custom":[{"key":"rsubject","value":"Computer Science"},{"key":"env","value":"production"},{"key":"rtype","value":"FlashCardDeck"},{"key":"rmode","value":"canonical"},{"key":"sequence","value":1},{"key":"uauth","value":"f"},{"key":"uadmin","value":"f"},{"key":"ulang","value":"es"},{"key":"ucurrency","value":"usd"}]}

1 Structure can execute a set of statements only under certain circumstancesDecision2 A __________ structure provides one alternative path of execution.

3 In pseudocode the if then statement is an example of decision structure

4. A(n) __________ expression has a value of either true or false.

5. The symbols >,<, and == are all__________ operators.

6. A(n) __________ structure tests a condition and then takes one path if the condition is true, oranother path if the condition is false.

7. You use a(n) __________ statement in pseudocode to write a single alternative decision structure.

8. You use a(n) __________ statement in pseudocode to write a dual alternative decision structure.

9. A __________ structure allows you to test the value of a variable or an expression and then use thatvalue to determine which statement or set of statements to execute.

10. A(n) __________ section of a Select Case statement is branched to if none of the case values matchthe expression listed after the Select statement.

11. AND, OR, and NOT are __________ operators.

12. A compound Boolean expression created with the __________ operator is true only if both of itssubexpressions are true.

What structure can execute a set of statements only under certain conditions?

A decision (or selection) structure is a control structure that can execute a set of statements and perform a specific action only if a certain condition exists.

What is the structure that causes a statement or a set of statements to execute repeatedly?

A repetition structure causes a statement or set of statements to execute repeatedly. Repetition structures are used to perform the same task over and over. A condition-controlled loop uses a Boolean (true/false) condition to control the number of times that it repeats.

What is a decision structure that executes one set of statements when a condition is true and another set of statements when the condition is false?

A statement or set of statements that is executed when a particular condition is True and ignored when the condition is False is called Decision Control Structure. The decision to execute a particular section is based on checking a condition. ❖A condition is an expression that will be either True or False.

Which structure determines the order in which a set of statements executes?

A control structure directs the order of execution of the statements in a program (referred to as the program's control flow).

Toplist

Neuester Beitrag

Stichworte