ICS Part 2 Computer Science Chapter 11 Online Test With Answers

image
image
image

ICS Part 2 Computer Science Chapter 11 Online Test

Sr. # Questions Answers Choice
1 An if statement inside the true block of another if statement is called: A nested if statement A branched if statement A conditional operator A relational operator
2 Which of the following is NOT part of an if statement? A condition that evaluates as a Boolean A condition that evaluates as true or false A true block All of are part of an IF statement
3 The conditional portion of the If statement can contain: Any valid constant Any expression that can be evaluated to a Boolean value Any valid variable Any valid constant or vairable
4 __________ refers to group of statements enclosed in opening and closing braces. Control structure Compound statement Sequence structure Instruction
5 In if statement , true is represented by: 0 1 2 3
6 In if statement, false is represented by : 0 1 2 3
7 ____________ is used to specify two different choices with "if" statement. Switch Else If If-else
8 Which of the following statements is the simplest form of a decision structure? Select..case If statement Try..Catch..Finally Nested if
9 When a relational expression is false, it has the value __________ 0 1 <0 S
10 The operators to compare operands and decide if the relation is true or false are: Arithmetic operators Logical operators Syntax operators Relational operators
11 You can use a decision statement to: Run a series of statements if a test fails Test series of conditions Test whether a condition is true or false All of these
12 Relational operators allow you to _____________ numbers. Compare Add Multiply Divide
13 An expression that uses a relational operator is known as: Operational Sequential Serial Relational
14 Which programming structure makes a comparison? Relation Decision Sequence Repitition
15 Another term for a computer making a decision is: Sequential Selection Repetition Iteration
Download This Set