26. An actor in an animation is a small
program invoked _______ per frame to determine the characteristics of some object in the
animation.
(A)
once
(B)
twice
(C)
30 times
(D)
60 times
Ans:- A
Explanation:-
An
actor in an animation is a small program invoked once per frame to determine
the characteristics of some object in the animation.
27. Bresenham line
drawing algorithm is attractive
because it uses
(A)
Real arithmetic only
(B)
Integer arithmetic only
(C)
Floating point arithmetic
(D)
Real and integer arithmetic
Ans:- B
Explanation:-
Bresenhem’s algorithm offers
a significant advantage over the other methods, as it avoids floating-point
arithmetic and rounding. It is a classic example of an incremental algorithm
that computes the location of each pixel along the line based on information
about the previous pixel. It uses only integer values and avoids any
multiplications.
28. The refresh rate above which a picture
stops flickering and fuses into a steady image is called _________.
(A)
Crucial fusion frequency
(B)
Current frequency fusion
(C)
Critical fusion frequency
(D)
Critically diffused frequency
Ans:- C
Explanation:-
The
refresh rate of a CRT is the number of times per second the image is redrawn.
It is typically 60 per second for raster displays. As the refresh rate
decreases, flicker develops because the eye can no longer integrate the individual
light pulses coming from a pixel. The refresh rate above which a picture stops
flickering and fuses into a steady image is called the critical fusion
frequency (or) CFF.
29. In homogenous coordinate system (x, y,
z) the points with z = 0 are called
(A) Cartesian points
(B) Parallel points
(C)Origin point
(D) Point at infinity
Ans:- D
Explanation:-
In homogenous
coordinates, we add a third coordinate to a point. Instead of being represented
by a pair of numbers(x,y)
each point is represented by a triple(x,y,w). At the same time, we say that two sets of
homogenous coordinates(x,y,w)
and (x’,y’,w’) represent the same point if and only
if one is a multiple of the other. Thus (2,3,6) and
(4,6,12) are the same points represented by the different coordinate triples.
Also, at least one of the homogenous coordinates must be nonzero
: (0,0,0) is not allowed. If the w coordinate is nonzero, we can divide
through by it(x,y,w)
represents the same point as (x/w,y/w,1). When w is
nonzero, we normally do this division, and the numbers x/w and y/w are called
the Cartesian coordinates of the homogenous points. The points with w=0 are
called points at infinity. So, the correct answer is D.
30. If 40 black lines interleaved with 40
white lines can be distinguished across one inch, the resolution is
(A)
40 line-pairs per inch
(B)
80 line-pairs per inch
(C)
1600 lines per inch
(D)
40 lines per inch
Ans:- A
Explanation:-
Resolution is the number of
distinguishable lines per inch that a device can create. Resolution is defined
as the closest spacing at which adjacent black and white lines can be
distinguished by observers. If 40 black lines interleaved with 40 white lines
can be distinguished across one inch, the resolution is 80 lines per inch or 40
line-pairs per inch. So, the correct answer is A.
31. Images
tend to be very large collection of data. The size of memory required for a
1024 by 1024 image in which the colour of each pixel
is represented by a n-bit number, (in an 8 bit
machines) is
(A) n
X 8 MB
(B)
n / 8 MB
(C) (1024 X 1024 ) / 8 MB
(D) 1024 MB
Ans:- B
Explanation:-
Look at the options which are not going to be
correct at all. Eliminate the wrong answers to get the right answer. Every
pixel is represented by a n-bit number, the value of n
is not mentioned. So, we rule out C and D options completely. So, it can be
either A or B. But it is not A because the n-bit number is not going to be
multiplied with 8 for a 8 bit machine. So, the correct
answer is B.
32. Arrays in C language can have
_________ with reference to memory representation.
(A)
n-subscripts
(B)
two-subscripts
(C)
only one subscript
(D)
three subscripts only
Ans:- C
Explanation:-
With
reference to memory representation, even a two-dimensional array subscript is
going to be converted into a single subscript for accessing or referring the
memory location. So, it will be option C.
33. Refer the points as listed below :
(a)
What are the operator precedence rules ?
(b)
What are the operator associativity rules ?
(c)
What is the order of operand evaluation ?
(d)
Are there restrictions on operand evaluation side effects ?
Which
of the above must be considered as primary design issues
for arithmetic expressions ?
(A)
(a), (b) and (c)
(B)
(a), (c) and (d)
(C)
(a), (b) and (d)
(D)
(a), (b), (c) and (d)
Ans:- C
Explanation:-
The options (a),(b) and (d) makes sense, but option (c) is not so clear.
There is no order on the operand evaluation. It is decided by the operator
precedence and associativity. So, the correct answer is C.
34. Horn clauses are special kinds of
propositions which can be described as
(A)
Single atomic proposition on left side.
(B)
Single or multiple atomic proposition on left side.
(C)
A single atomic proposition on left side and a single atomic proposition on
right side.
(D)
A single atomic proposition on left side or an empty left side.
Ans:- D
Explanation:-
A Horn
clause is a unique kind of proposition
which has either one single proposition on the left
hand side or an empty proposition. When a Horn
clause
does contain a proposition on the left side, it is sometimes refered to as a headed
Horn clause. The Horn clause is
named after Alfred
Horn who studied this type of propositional clause
(Horn, 1951).
35.Which of the
following is/are the fundamental semantic model(s) of parameter passing ?
(A) in
mode
(B) out
mode
(C)in-out
mode
(D) all of the above
Ans:- D
Explanation:-
The semantic model(s) of
parameter passing are in,out
and inout. The actual parameters are brought in,
moved out, or brought in and moved out respectively.