• Courses
  • Tutorials
  • Jobs
  • Practice
  • Contests

UGC NET CS 2018 Dec – II

Question 41

Consider the C/C++ function f() given below:
void f(char w [ ] )
{
 int x = strlen(w); //length of a string
 char c;
 For (int i = 0; i < x; i++)
  {
    c = w[i];
    w[i] = w[x - i - 1];
    w[x - i - 1] = c;
  }
} 
Which of the following is the purpose of f() ?
  • It output the content of the array with the characters rearranged so they are no longer recognized a the words in the original phrase.
  • It output the contents of the array with the characters shifted over by one position.
  • It outputs the contents of the array in the original order.
  • It outputs the contents of the array in the reverse order.

Question 42

Data Scrubbing is
  • A process to upgrade the quality of data after it is moved into a data warehouse.
  • A process to upgrade the quality of data before it is moved into a data warehouse.
  • A process to lead the data in the warehouse and to create the necessary indexes.
  • A process to reject data from the data warehouse and to create necessary indexes.

Question 43

Dirty bit is used to show the
  • Page with low frequency occurrence
  • Wrong page
  • Page with corrupted data
  • Page that is modified after being loaded into cache memory

Question 44

A legacy software system has 940 modules. The latest release require that 90 of these modules be changed. In addition, 40 new modules were added and 12 old modules were removed. Compute the software maturity index for the system.
  • 0.725
  • 0.923
  • 0.849
  • 0.524

Question 45

Match List 1 with List 2 and choose the correct answer from the code given below.
  • (a)-(iv), (b)-(iii), (c) -(ii), (d)-(i)
  • (a)-(i), (b)-(iv), (c) -(iii), (d)-(ii)
  • (a)-(iv), (b)-(i), (c) -(ii), (d)-(iii)
  • (a)-(i), (b)-(ii), (c) -(iii), (d)-(iv)

Question 46

The relation​ ​ ≤ and < on a boolean algebra are defined as :
x ≤ y and only if x ∨ y = y
x < y means x ≤ y but x ≠ y
x ≥ y means y ≤ x and
x > y means y < x  
Consider the above definitions, which of the following is not true in the boolean algebra ?
  • (i) If x ≤ y and y ≤ z, then x ≤ z
  • (ii) If x ≤ y and y ≤ x, then x=y
  • (iii) If x < y and y < z, then x ≤ y
  • (iv) If x < y and y < z, then x < y
  • (iv) only
  • (iii) only
  • (i) and (ii) only
  • (ii) and (iii) only

Question 47

In a ternary tree, the number of internal nodes of degree 1, 2 and 3 is 4, 3 and 3 respectively. The number of leaf nodes in the ternary tree is
  • 11
  • 12
  • 10
  • 9

Question 48

The four byte IP Address consists of
  • Neither network nor Host Address
  • Network Address
  • Both Network and Host Address
  • Host Address

Question 49

Consider the schema R=(A, B, C, D, E, F) on which the following functional dependencies hold :
A ➝ B
B,C ➝ D
E ➝ C
D ➝ A 
What are the candidate keys of R ?
  • AEF, BEF and DEF
  • AEF, BEF and BCF
  • AE and BE
  • AE, BE and DE

Question 50

A survey has been conducted on methods of commuter travel. Each respondent was asked to check Bus, Train or Automobile as a major methods of travelling to work. More than one answer was permitted. The results reported were as follows : Bus 30 people; Train 35 people; Automobile 100 people; Bus and Train 15 people; Bus and Automobile 15 people; Train and Automobile 20 people; and all the three methods 5 people. How many people complete the survey form ?
  • 160
  • 120
  • 165
  • 115
1

...

456

...

10

There are 100 questions to complete.

Last Updated :
Take a part in the ongoing discussion