Q. To pass a variable by value, you include the keyword . . . . . . . . before the name of its corresponding parameter.

  • (A) ByVal
  • (B) Val
  • (C) PassVal
  • (D) Pass
πŸ’¬ Discuss
βœ… Correct Answer: (A) ByVal

Q. The . . . . . . . . statement in pseudocode acts like loop.

  • (A) Goto
  • (B) Exit
  • (C) End
  • (D) If
πŸ’¬ Discuss
βœ… Correct Answer: (A) Goto

Q. To include a percentage in arithmetic operators we use . . . . . . . .

  • (A) Decimal equivalent
  • (B) Percentage symbol
  • (C) We cannot use percentage
  • (D) Division
πŸ’¬ Discuss
βœ… Correct Answer: (A) Decimal equivalent

Q. Which of the following statements assigns (to the intElements variable) the number of elements contained in the intNums array?

  • (A) intElements = Len(intNums)
  • (B) intElements = Length(intNums)
  • (C) intElements = intNums.Len
  • (D) intElements = intNums.Length
πŸ’¬ Discuss
βœ… Correct Answer: (D) intElements = intNums.Length

Q. . . . . . . . . and . . . . . . . . methods are used to align characters in a String.

  • (A) PadLeft, PadRight
  • (B) Left, Right
  • (C) LeftAlign, RightAlign
  • (D) AlignLeft, AlignRight
πŸ’¬ Discuss
βœ… Correct Answer: (A) PadLeft, PadRight

Q. What will be contained in Msg if grade entered by user is 'd'?

Code:
grade=grade.Text.ToUpper
If grade=="A"
  Msg ="Excellent"
ElseIf grade=="B"
  Msg="Very Good"
ElseIf  grade=="C"
  Msg="Good"
ElseIf grade=="D"
  Msg="Fair"
Else
  Msg="Fail"
EndIf
  • (A) Fair
  • (B) Fail
  • (C) Good
  • (D) Excellent
πŸ’¬ Discuss
βœ… Correct Answer: (A) Fair

Q. The . . . . . . . . is used to concat to Strings.

  • (A) Concatenation operator
  • (B) + symbol
  • (C) Concat function
  • (D) Cat function
πŸ’¬ Discuss
βœ… Correct Answer: (A) Concatenation operator

Q. Press . . . . . . . . to move the focus to the text box's access key named textBlue.

  • (A) Alt+b
  • (B) Alt+t
  • (C) Alt+x
  • (D) Alt+c
πŸ’¬ Discuss
βœ… Correct Answer: (A) Alt+b

Q. . . . . . . . . Use to store alphanumeric values. A variable length string can store approximately 4 billion characters

  • (A) string
  • (B) boolean
  • (C) variant
  • (D) date
πŸ’¬ Discuss
βœ… Correct Answer: (A) string

Q. To include the image file in the project itself, the Project Resource file radio button must be selected from which dialog box?

  • (A) Select Resource Dialog box
  • (B) Select Dialog box
  • (C) Resource Dialog Box
  • (D) Project Dialog Box
πŸ’¬ Discuss
βœ… Correct Answer: (A) Select Resource Dialog box