CP1 - 5.03 - Applying Operators Question Preview (ID: 43764)


CP1 - 5.03 - Applying Operators. TEACHERS: click here for quick copy question ID numbers.

North Carolina allows a teenager to have a learner’s permit if he/she is 15 and has had driver’s education training. Consider the intAge and blnHasHadDrivEd variables. Which of the following If conditions would allow a learner’s permit?
a) intAge = 15 And blnHasHadDrivEd = True
b) intAge less than 16 And blnHasHadDrivEd = True
c) intAge greater than 14 Or blnHasHadDrivEd = True
d) intAge = 15 Or blnHasHadDrivEd = True

Grades are based on the scale below. Using this scale, which condition(s) would be used to identify students who made an “A” or a “B”? A 93–100 B 85–92 C 78–84 D 70–77 F 0–69
a) dblScore less than 85 And dblScore greater than = 93
b) dblScore = 85 Or dblScore greater than 93
c) dblScore greater than 85 And dblScore greater than = 90
d) dblScore = 85

If 5 and 2 are entered in txtNumber1 and txtNumber2, respectively, what will the following code display? intResult = IntNumber1 Mod intNumber2
a) 1
b) 2
c) 3
d) 5

Grades are based on the scale below. Using this scale, which condition(s) would be used to identify students who made a “B”? A 93–100 B 85–92 C 78–84 D 70–77 F 0–69
a) dblScore = 85 Or dblScore less than 93
b) dblScore greater than 85 And dblScore less than = 93
c) dblScore greater than = 85 And dblScore less than 93
d) dblScore less than 85 And dblScore greater than = 93

Which logical condition will determine if the AccountBalance is not less than CreditLimit?
a) AccountBalance less than = CreditLimit
b) AccountBalance less than greater than CreditLimit
c) AccountBalance = CreditLimit
d) AccountBalance greater than = CreditLimit

Which logical condition will determine if the AccountBalance is not less than CreditLimit?
a) AccountBalance less than = CreditLimit
b) AccountBalance less than greater than CreditLimit
c) AccountBalance = CreditLimit
d) AccountBalance greater than = CreditLimit

Grades are based on the scale below. Using this scale, which condition(s) would be used to identify students who made a “B”? A 93–100 B 85–92 C 78–84 D 70–77 F 0–69
a) dblScore = 85 Or dblScore less than 93
b) dblScore greater than 85 And dblScore less than = 93
c) dblScore greater than = 85 And dblScore less than 93
d) dblScore less than 85 And dblScore greater than = 93

If 5 and 2 are entered in txtNumber1 and txtNumber2, respectively, what will the following code display? intResult= intNumber1 Mod intNumber2
a) 1
b) 2
c) 3
d) 5

Grades are based on the scale below. Using this scale, which condition(s) would be used to identify students who made an “A” or a “B”? A 93–100 B 85–92 C 78–84 D 70–77 F 0–69
a) dblScore less than 85 And dblScore greater than = 93
b) dblScore = 85 Or dblScore greater than 93
c) dblScore greater than 85 And dblScore greater than = 90
d) dblScore greater than = 85

North Carolina allows a teenager to have a learner’s permit if he/she is 15 and has had driver’s education training. Consider the intAge and blnHasHadDrivEd variables. Which of the following If conditions would allow a learner’s permit?
a) intAge = 15 And blnHasHadDrivEd = True
b) intAge less than 16 And blnHasHadDrivEd = True
c) intAge greater than 14 Or blnHasHadDrivEd = True
d) intAge = 15 Or blnHasHadDrivEd = True

Play Games with the Questions above at ReviewGameZone.com
To play games using the questions from above, visit ReviewGameZone.com and enter game ID number: 43764 in the upper right hand corner or click here.

TEACHERS / EDUCATORS
Log In
| Sign Up / Register