Aspire Faculty ID #18729 · Topic: UGC NET Computer Science Sep 2022 (Paper II) · Just now
UGC NET Computer Science Sep 2022 (Paper II)

The condition $num\ !=\ 65$ cannot be replaced by-

Solution

The condition is:

$num\ !=\ 65$

It means $num$ is not equal to $65$.

Option (a):

$num>65\ ||\ num<65$

This is true when $num$ is not equal to $65$.

Option (b):

$!(num==65)$

This also means $num$ is not equal to $65$.

Option (c):

$num-65$

In C language, any non-zero value is treated as true.

So, this is also true when $num\neq 65$.

Option (d):

$!(num-65)$

This becomes true when $num-65=0$, that is $num=65$.

So, it is opposite of $num\ !=\ 65$.

Previous 10 Questions — UGC NET Computer Science Sep 2022 (Paper II)

Nearest first
1
Using 'RSA' algorithm, if $p=13,q=5$ and $e=7$, the value of $d$ and cipher value of '$6$' with $(e,n)$ key are-
Topic: UGC NET Computer Science Sep 2022 (Paper II)
2
Hidden surface removal problem with minimal $3D$ pipeline can be solved with
Topic: UGC NET Computer Science Sep 2022 (Paper II)
3
Consider the following NPDA$=({q_0,q_1,q_f},\{a,b\},\{1,z\},\delta,q_0,z,\{q_f\})$$\delta(q_0,\lambda,z)=\{(q_f,z)\}$$\…
Topic: UGC NET Computer Science Sep 2022 (Paper II)
4
Consider $L=\{ab,aa,baa\}$Which of the following string is NOT in $L^*$?
Topic: UGC NET Computer Science Sep 2022 (Paper II)
5
Consider the language$L=\{a^n b^m:n\ge 4,m\le 3\}$Which of the following regular expression represents language $L$?
Topic: UGC NET Computer Science Sep 2022 (Paper II)
6
Consider the production rules of grammer $G$:$S\to AbB$$A\to aAb\mid \lambda$$B\to bB\mid \lambda$Which of the followin…
Topic: UGC NET Computer Science Sep 2022 (Paper II)
7
The reduced grammar equivalent to the grammar, whose production rules are given below, is$S\to AB\mid CA$$B\to BC\mid A…
Topic: UGC NET Computer Science Sep 2022 (Paper II)
8
The logic expression $(\overline{P}\land Q)\lor(P\land \overline{Q})\lor(P\land Q)$ is equivalent to
Topic: UGC NET Computer Science Sep 2022 (Paper II)
9
Maximize $z=5x_1+12x_2+4x_3$Subject to $x_1+2x_2+x_3=10$$2x_1-x_2+3x_3=8$$x_1,x_2,x_3\ge 0$its dual problem isMinimize …
Topic: UGC NET Computer Science Sep 2022 (Paper II)
10
In a cache memory, if address has $9$ bits in Tag field and $12$ bits in index field, the size of main memory and cache…
Topic: UGC NET Computer Science Sep 2022 (Paper II)

Next 10 Questions — UGC NET Computer Science Sep 2022 (Paper II)

Ascending by ID
Ask Your Question or Put Your Review.

loading...