Consider the following C-code fragment running on a $32$-bit x86 machine:
typedef struct {
union {
unsigned char a;
unsigned short b;
} U;
unsigned char c;
} S;
S B[10];
S *p = address of B[4];
S *q = address of B[5];
p->U.b = 0x1234;
If $M$ is the value of $q-p$ and $N$ is the value of address of $(p->c)$ minus address of $p$, then $(M,N)$ is:
Previous 10 Questions — UGC NET Computer Science June 2019 (Paper II)
Nearest first
1
2
3
4
5
6
7
8
9
10
Consider the following pseudo-code fragment in which an invariant for the loop is $m \times x^k=p^n$ and $k\ge 0$.
Pre-…
Topic: UGC NET Computer Science June 2019 (Paper II)
Suppose that a computer program takes $100$ seconds of execution time on a computer with multiplication operation respo…
Topic: UGC NET Computer Science June 2019 (Paper II)
How many address lines and data lines are required to provide a memory capacity of $16K \times 16$?
Topic: UGC NET Computer Science June 2019 (Paper II)
Consider the equation
$(146)b+(313){b-2}=(246)_8$
Which of the following is the value of $b$?
Topic: UGC NET Computer Science June 2019 (Paper II)
The parallel bus arbitration technique uses an external priority encoder and a decoder. Suppose, a parallel arbiter has…
Topic: UGC NET Computer Science June 2019 (Paper II)
For a magnetic disk with concentric circular tracks, the seek latency is not linearly proportional to the seek distance…
Topic: UGC NET Computer Science June 2019 (Paper II)
What will be the number of states when a $MOD-2$ counter is followed by a $MOD-5$ counter?
Topic: UGC NET Computer Science June 2019 (Paper II)
The fault can be easily diagnosed in the micro-program control unit using diagnostic tools by maintaining the contents …
Topic: UGC NET Computer Science June 2019 (Paper II)
How many different Boolean functions of degree $n$ are there?
Topic: UGC NET Computer Science June 2019 (Paper II)
Suppose that the register $A$ and the register $K$ have the bit configuration. Only the three leftmost bits of $A$ are …
Topic: UGC NET Computer Science June 2019 (Paper II)
Next 10 Questions — UGC NET Computer Science June 2019 (Paper II)
Ascending by ID
1
2
3
4
5
6
7
8
9
10
What is the output of the following JAVA program?
public class Good {
private int m;
public Good(int m) {
this.m = m;
}…
Topic: UGC NET Computer Science June 2019 (Paper II)
Consider the following C++ function $f()$:
unsigned int f(unsigned int n) {
unsigned int b = 0;
while (n) {
b = b + (n …
Topic: UGC NET Computer Science June 2019 (Paper II)
Which of the following statements is/are true?$P$: In a scripting language like JavaScript, types are typically associa…
Topic: UGC NET Computer Science June 2019 (Paper II)
Which of the following statements is/are true?$P$: An XML document with correct syntax as specified by W3C is called "W…
Topic: UGC NET Computer Science June 2019 (Paper II)
Consider a raster system with resolution $640$ by $480$. What size is frame buffer in bytes for this system to store $1…
Topic: UGC NET Computer Science June 2019 (Paper II)
Consider the following statements regarding $2D$ transforms in computer graphics:
$S1$:
[
1
0
…
Topic: UGC NET Computer Science June 2019 (Paper II)
In the context of $3D$ computer graphics, which of the following statements is/are true?
$P$: Orthographic transformati…
Topic: UGC NET Computer Science June 2019 (Paper II)
Using the Phong reflectance model, the strength of the specular highlight is determined by the angle between:
Topic: UGC NET Computer Science June 2019 (Paper II)
Which of the following has same expressive power with regard to relational query language?
$(a)$ Relational algebra and…
Topic: UGC NET Computer Science June 2019 (Paper II)
With respect to relational algebra, which of the following operations are included for mathematical set theory?
$(a)$ J…
Topic: UGC NET Computer Science June 2019 (Paper II)