Unit 6
Unit 6
Nirzari !ayani
c) Programming language
d# None $# Variable is........
a) Storage area
b# Part of t!eory c# ot! a % b d# None &# '!ic! of t!e follo(ing is correct for variables)
c) !"
d# &/ 0# Variable s!ould start (it!111111 a# Nu*bers
) Alpha ets
c# Special sy*bol d# ,ny of above can be used
2# In variable blan+ space is..... a# 3o*pulsory b# It (ill not *a+e any difference to t!e progra**e c# No i*portance of it
d) #ot allo$ed
d) %
/# 6 7 8 9 : ; are used in (!ic! operators) a# ,rit!*etic operator b# <ogical operator c# =elational operator
d) #one
>#
In belo( option (!ic! of t!e follo(ing is given in correct order) ,ND O= NO. a# ? ; %%
)
c#
&& '
%% ? ?
d# %% ;
"@# '!ic! of t!e follo(ing is used to co*pare t(o variables or values to c!ec+ t!e eAuality and it c!ec+s only value not only data type)
a) ((
b# 666 c# ;6 d# ;66
""#
.!is operator is used to c!ec+ eAuality of t(o values as (ell as data type also. It (ill return true o*ly if t!e values and data type are eAual. a# 66
) (((
c# ;6 d# ;66
"$#
.!is operator is for ineAuality. It (ill return true only and only if t!e values are not eAual and data types are also not sa*e. a# ;6 b# 6; c# 66
d) '((
"&#
.!ese operators used to c!ec+ ineAuality. It (ill return true if t!e values are not sa*e. It (ill not go to c!ec+ t!e data types. a# 666 b# 66
c) '(
d# ;66 "-# '!at is output of follo(ing)
) )eetan*ali College
c# geetanjali college d# none
"0#
,ssign*ent of rig!t side data to left side variable S!ort !and addition operation =eturns true if any of t!e condition is true 3!ec+s eAuality of t(o values
" $ & -
F6 6 666 ??
3 D
a#
A+, -+" C ./
0 .!
c#
, 7 7 " 3 7 $ D 7 &
b# , 7 7 3 7 D 7
& " $
d# , 7 7 3 7 D 7
& " $ -