Made with ScholarlyMake flashcards like these from your own notes
Question:What is structured programming?
Answer:It is a programming paradigm aimed at improving the clarity, quality, and development time of a computer program by making extensive use of the structured control flow constructs of selection, repetition, and sequence.
Question:What are the three types of structured control flow constructs?
Answer:Selection, repetition, and sequence.
Question:What is a compound statement?
Answer:Multiple statements grouped into a block by braces {...}
Question:What is a simple conditional expression?
Answer:An expression using relational operators.
Question:What is a combination of simple conditional expressions using logical operators?
Answer:A complex expression utilizing logical operators.
Question:What are the relational operators used in C?
Answer:<, >, <=, >=, ==, !=
Question:How can boolean data types be used in C?
Answer:_Bool and bool
Question:What is the syntax of an if statement?
Answer:if(expression)Statement;
Question:What does the basic form of an if statement look like?
Answer:ConditionalExpression Statement true false