Friday 28 October 2016

UGC Net Computer Science Paper 3 July-16 Page 8


71. Which of the following is characteristic of an MIS ?
(1) Provides guidance in identifying problems, finding and evaluating alternative
solutions, and selecting or comparing alternatives.
(2) Draws on diverse yet predictable data resources to aggregate and summarize data.
(3) High volume, data capture focus.
(4) Has as its goal the efficiency of data movement and processing and interfacing
different TPS.


72. How does randomized hill-climbing choose the next move each time ?
(1) It generates a random move from the moveset, and accepts this move.
(2) It generates a random move from the whole state space, and accepts this move.
(3) It generates a random move from the moveset, and accepts this move only if this
move improves the evaluation function.
(4) It generates a random move from the whole state space, and accepts this move only
if this move improves the evaluation function.

UGC Net Computer Science Paper 3 July-16 Page 7

61. The region of feasible solution of a linear programming problem has a _____ property in
geometry, provided the feasible solution of the problem exists.
(1) concavity
 (2) convexity
(3) quadratic
 (4) polyhedron

62. Consider the following statements :
(a) Revised simplex method requires lesser computations than the simplex method.
(b) Revised simplex method automatically generates the inverse of the current basis
matrix.
(c) Less number of entries are needed in each table of revised simplex method than
usual simplex method.
Which of these statements are correct ?
(1) (a) and (b) only
 (2) (a) and (c) only
(3) (b) and (c) only
(4) (a), (b) and (c)

UGC Net Computer Science Paper 3 July-16 Page 6

51. Which of the following information about the UNIX file system is not correct ?
(1) Super block contains the number of i-nodes, the number of disk blocks, and the start
of the list of free disk blocks.
(2) An i-node contains accounting information as well as enough information to locate
all the disk blocks that holds the file’s data.
(3) Each i-node is 256-bytes long.
(4) All the files and directories are stored in data blocks.

Answer C
Explanation : 

The default bytes per inode is approximately 16384. If you're running out of inodes, you might try for
example:mkfs.ext4 -i 8192 /dev/mapper/main-var2

52. Which of the following option with reference to UNIX operating system is not correct ?
(1) INT signal is sent by the terminal driver when one types <Control-C> and it is a
request to terminate the current operation.
(2) TERM is a request to terminate execution completely. The receiving process will
clean up its state and exit.
(3) QUIT is similar to TERM, except that it defaults to producing a core dump if not
caught.
(4) KILL is a blockable signal.

Answer D
Explanation : 

Thursday 27 October 2016

IF statement : C Language

If-Else

Conditional operator

Before start writing something about this post I want to ask you a question.

Is computer IQ is greater than human?

What is your answer Yes/NO?

Answer

Computer IQ is zero. If IQ is zero then how can computer work smartly and take decision like human.

It is possible of IF statement which enable your computer to make decision. That is why every programming language support if-else statement.

Syntax

If(condition)
{
                If condition is true
                Then this part will be run
}
Else
{
                If condition is false
                Then this part will be run
}