Time Left - 20:00 mins

DMRC 2018 CS Technical Mini Mock 1

Attempt now to get your rank among 346 students!

Question 1

Assume that float takes 4 bytes, predict the output of following program.
#include <stdio.h>
int main()
{
float arr[5] = {12.5, 10.0, 13.5, 90.5, 0.5};
float *ptr1 = &arr[0];
float *ptr2 = ptr1 + 3;
printf(“%f”, *ptr2)
printf(“%d”, ptr2 – ptr1);
return 0;
}

Question 2

What is the value of acknowledgement field in a segment?

Question 3

There is a need to create a network that has 5 subnets, each with at least 16 hosts. Which one is used as classful subnet mask?

Question 4

Which of the following is/are true about packages in Java?
1. Every class is part of some package.
2. All classes in a file are part of the same package.
3. If no package is specified, the classes in the file go into a special unnamed package.
4. If no package is specified, a new package is created with folder name of class and the class is put in this package.

Question 5

What does the following function do for a given Linked List with first node as head?
{
  if(head==NULL)
     return;
  fun1(head->next);
  printf(“%d”, head->data);
}

Question 6

Which one of the following is a key factor for preferring B+-trees to binary search trees for indexing database relations?

Question 7

In Boolean algebra times ones = ___________.

Question 8


What will be the equation of simplification of the given K-Map ?

Question 9

Consider the system which has logical address 36bit and physical address 29 bit and page size is 16 KB the page table entry size is 8 byte then calculate inverted page table size?

Question 10

Unix operating system is:

Question 11

Suppose x is a component of some tuple, and the domain for that component of some tuple, and the domain for that component is the integers. If x has the NULL, what is the value of
i. 0 * x
ii. x – x

Question 12

The schema of a table is an example of

Question 13

If an SQL query involves, NOT, AND, OR with no parenthesis

Question 14

Find overall risk exposers, RE if the probability of occurence of risk is 80% and the cost to the project should the risk occur ca be taken as $20000

Question 15

Choose the most appropriate HTML tag in the following to create a numbered list.
  • 346 attempts
  • 4 upvotes
  • 0 comments
Apr 12GATE & PSU CS