Time Left - 25:00 mins
ECIL GET 2018 : MiniMock Test-1 (All Subject)
Attempt now to get your rank among 469 students!
Question 1
#include<stdio.h>
struct st
(
int x;
struct st next;
);
int main()
{
Struct st temp;
Temp.x = 10;
Temp.next = temp;
Printf(“%d”, temp.next.x);
Return 0;
}
struct st
(
int x;
struct st next;
);
int main()
{
Struct st temp;
Temp.x = 10;
Temp.next = temp;
Printf(“%d”, temp.next.x);
Return 0;
}
Question 2
Assume that size of an integer is 32 bit. What is the output of following ANSI C program?
#include<stdio.h>
struct st
{
int x;
static int y;
};
int main()
{
printf(“%d”, sizeof(struct st));
return 0;
}
#include<stdio.h>
struct st
{
int x;
static int y;
};
int main()
{
printf(“%d”, sizeof(struct st));
return 0;
}
Question 3
The output of lexical analyzer is :
Question 4
Syntax directed translation scheme is desirable because :
Question 5
Communication between a computer and a keyboard involves ________ transmission.
Question 6
Bluetooth is an example of :
Question 7
At a room temperature of 300K, calculate the thermal noise generated by two resistors of 10 KΩ and 20 KΩ when the bandwidth is 10 KHz.
Question 8
The IETF standard documents are called :
Question 9
The maximum number of nodes in a binary tree of level k, k ≥1 is :
Question 10
Which of the following need not be a binary tree ?
Question 11
If an SQL query involves, NOT, AND, OR with no parenthesis
Question 12
Considering relational database, functional dependency between two attributs A and B is denoted by:
Question 13
If B is a Boolean algebra, then which of the following is true?
Question 14
Which one of the following is the function of a multiplexer?
Question 15
Which of the following is an advantage of adjacency list representation over adjacency matrix representation of a graph?
Question 16
Considering the following graph, which one of the following set of edges represents all the bridges of the given graph?
Question 17
A partial ordered relation is transitive, reflexive and
Question 18
The probability that top and bottom cards of a randomly shuffled deck are both aces is:
Question 19
A system contains three programs and each requires three tape units for its operation. The minimum number of tape units which the system must have such that deadlocks never arise is _______
Question 20
CPU consist of _______.
Question 21
Software Requirement Specification (SRS) is also known as specification of :
Question 22
Rule which states that addition of same attributes to right side and left side will result in other valid dependency is classified as:
Question 23
Let L1 be a recursive language, and let L2 be a recursively enumerable but not a recursive language. Which one of the following is TRUE?
Question 24
What is the complement of the language accepted by the NFA shown below?
1. 2. {}
3. a* 4. {a, }
1. 2. {}
3. a* 4. {a, }
Question 25
Consider three processes, all arriving at time zero, with total execution time of 10, 20 and 30 units, respectively. Each process spends the first 20% of execution time doing I/O, the next 70% of time doing computation, and the last 10% of time doing I/O again. The operating system uses a shortest remaining compute time first scheduling algorithm and schedules a new process either when the running process gets blocked on I/O or when the running process finishes its compute burst. Assume that all I/O operations can be overlapped as much as possible. For what percentage of time does the CPU remain idle?
- 469 attempts
- 3 upvotes
- 10 comments
Tags :
GATE & PSU CSMock TestsJul 2GATE & PSU CS