You are not logged in.

#1 2015-08-06 05:20:51

husnain
User RankUser RankUser RankUser RankUser RankUser Rank
Administrator
From: Chichawatni,Pakistan
Registered: 2014-10-03
Posts: 8,129
Website

Evaluate Statement:

Programming Languages Quizzes PERL (Practical Extraction and Report Language)

Question:
When $a = 1 and $b = 2, all of the following statements evaluate to true except,

Option A):
$a == 1 and $b == 2
Option B):
$a == 2 or $b == 2
Option C):
$a === 1 or $b ==1
Option D):
($a == 2 and $b == 1) or $b == 2

Correct Answer is Option C):
$a === 1 or $b ==1


You cannot discover the new oceans unless you have the courage to lose the sight of the shore.

2015-08-06 05:20:51

Advertisement
Ads By Google

Re: Evaluate Statement:



\n

Board footer