ADVANCED TOPICS IN COMPILER DESIGN
CODE GENERATION FOR OBJECT ORIENTED LANGUAGES
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
If statement
|
|
Array
|
|
Fixed Loop
|
|
Variables
|
Detailed explanation-1: -The basic Control Structures in programming languages are: Conditionals (or Selection): which are used to execute one or more statements if a condition is met.
Detailed explanation-2: -Overview. In selection control structures, conditional statements are features of a programming language which perform different computations or actions depending on whether a programmer-specified Boolean condition evaluates to true or false.
Detailed explanation-3: -With if statements, our programs can execute a set of instructions only if the condition is true. If we want our programs to execute a different set of instructions when the condition is false, then we can use an else statement.
Detailed explanation-4: -What are the 3 types of fundamental control structures in structured programming? If (Selection) Structure. While (Repetition) Structure. Assignment operators and Increment/Decrement operators. More items