Description of this paper

4 Questions [$]

Description

solution


Question

1.The following symbols are known as ____., ==, =, !=;A) assignment statements;B) selection structures;C) relational operators;D) sentinels;2. Which of the following programs displays a ?passing grade? message if the score is 60 or above?;A) Display "Enter a test score:;Input testScore;If testScore > 60 Then;Display "That is a passing grade.;End If;Display "End of program.;B) Display "Enter a test score:;Input testScore;If testScore ==60 Then;Display "That is a passing grade.;End If;Display "End of program.;C) Display "Enter a test score:;Input testScore;If testScore =60 Then;Display "That is a passing grade.;End If;Display "End of program.;3. The following statement concatenates a customer?s name;custName = firstName + " " + lastName;[Write True or Flase];4. The code for the following is ____.;?If the value of password is not bottomsUp, display the message Access denied.?;A) If password != "bottomsUp" Then;Display "Access denied.;End If;B) If password !== "bottomsUp" Then;Display "Access denied.;End If;C) If password >= "bottomsUp" Then;Display "Access denied.;End If;D) If password ! "bottomsUp" Then;Display "Access denied.;End If

 

Paper#71995 | Written in 18-Jul-2015

Price : $22
SiteLock