Que.What will be the output of the following code?any(xor(1,1), ~or(xor(1,0),1), sin(pi), NaN)
|
a. 0 |
b. 1 |
c. Error due to too many arguments |
d. Error due to NaN |
Error due to too many arguments
Que.What will be the output of the following code?all([or(1,1), ~xor(xor(1,0),1), cos(pi)])
|
a. 0 |
b. 1 |
c. Error |
d. No such function all |
Que.What will be the output of the following code?all(sin(pi), 1)
|
a. 0 |
b. 1 |
c. Error |
d. NaN |
Que.The correct hierarchy of operations is ________
|
a. <.<=,|,& |
b. >,>=,&,| |
c. <,>=,|,& |
d. <,|,>,& |
Que.‘=’ is a?
|
a. Relational operator |
b. Arithmetic operator |
c. Operational operator |
d. Assignment operator |
Que.What is the output of the following code?sin(pi)~=0
|
a. NaN |
b. 0 |
c. 1 |
d. Error |
Que.What is the output of the following code?sin(Inf)~=NaN
|
a. 1 |
b. 0 |
c. Error |
d. NaN |
Que.What is the output of the following code?log(0)==Inf
|
a. 1 |
b. 0 |
c. Error |
d. Inf |
Que.What is the output of the following code?and(sin(pi),112312)
|
a. 1 |
b. 0 |
c. 00 |
d. Error |
Que.The ~ is ______
|
a. Quaternary operator |
b. Relational Operator |
c. Arithmetic Operator |
d. Unary Operator |