Courses
Tutorials
Jobs
Practice
Contests
Data Structure
Java
Python
HTML
Interview Preparation
Trending Now
DSA
Web Tech
Foundational Courses
Data Science
Practice Problem
Python
Machine Learning
JavaScript
System Design
Django
DevOps Tutorial
Java
C
C++
ReactJS
NodeJS
CP Live
Aptitude
Puzzles
Projects
GBlog
Frontend Developer Roadmap 2024
Frontend development means to design the face of a website or application. It involves working on the appearance of the website. Building interactive buttons, using images...
Read More
GATE | GATE CS 2018 | Question 59
Consider the relations r(A, B) and s(B, C), where s.B is a primary key and r.B is a foreign key referencing s.B. Consider the queryQ: r⋈(σB(s))Let LOJ denote the natural l...
Read More
GATE
GATE-GATE CS 2018
GATE CS 2018
GATE | GATE CS 2018 | Question 58
Let N be the set of natural numbers. Consider the following sets,P: Set of Rational numbers (positive and negative)Q: Set of functions from {0, 1} to NR: Set of functions ...
Read More
GATE
GATE-GATE CS 2018
GATE CS 2018
GATE | GATE CS 2018 | Question 57
The number of possible min-heaps containing each value from {1, 2, 3, 4, 5, 6, 7} exactly once is _______. Note -This was Numerical Type question. (...
Read More
GATE
GATE-GATE CS 2018
GATE CS 2018
GATE | GATE CS 2018 | Question 56
Let G be a graph with 100! vertices, with each vertex labelled by a distinct permutation of the numbers 1, 2, ..., 100. There is an edge between vertices u and v if and on...
Read More
GATE
GATE-GATE CS 2018
GATE CS 2018
GATE | GATE CS 2018 | Question 55
In a system, there are three types of resources: E, F and G. Four processes P0, P1, P2 and P3 execute concurrently. At the outset, the processes have declared their maximu...
Read More
GATE
GATE-GATE CS 2018
GATE CS 2018
GATE | GATE CS 2018 | Question 54
Consider the first-order logic sentenceφ ≡ ∃s∃t∃u∀v∀w∀x∀y ψ(s, t, u, v, w, x, y)where ψ(s, t, u, v, w, x, y) is a quantifier-free first-order logic formula using only pred...
Read More
GATE
GATE-GATE CS 2018
GATE CS 2018
GATE | GATE CS 2018 | Question 53
Consider the unsigned 8-bit fixed point binary number representation, below, b7b6b5b4b3 ⋅ b2b1b0 where the position of the binary point is between b3 and b2 . Assume b7 is...
Read More
GATE
GATE-GATE CS 2018
GATE CS 2018
GATE | GATE CS 2018 | Question 52
Consider the following C program:[sourcecode language="C"]#include stdio.hvoid fun1(char *s1, char *s2) { char *temp; temp = s1; s1 = s2; s2 = temp;}void fun2(char **s...
Read More
GATE
GATE-GATE CS 2018
GATE CS 2018
GATE | GATE CS 2018 | Question 51
Assume that multiplying a matrix G1 of dimension p×q with another matrix G2 of dimension q×r requires pqr scalar multiplications. Computing the product of n matrices G1G2G...
Read More
GATE
GATE-GATE CS 2018
GATE CS 2018
GATE | GATE CS 2018 | Question 50
Consider the following problems. L(G) denotes the language generated by a grammar G. L(M) denotes the language accepted by a machine M.(I) For an unrestricted grammar G an...
Read More
GATE
GATE-GATE CS 2018
GATE CS 2018
GATE | GATE CS 2018 | Question 49
Consider the following undirected graph G:Choose a value for x that will maximize the number of minimum weight spanning trees (MWSTs) of G. The number of MWSTs of G for th...
Read More
GATE
GATE-GATE CS 2018
GATE CS 2018
GATE | GATE CS 2018 | Question 48
Consider the minterm list form of a Boolean function F given below.F(P, Q, R, S) = Σm(0, 2, 5, 7, 9, 11) + d(3, 8, 10, 12, 14) Here, m denotes a minterm and d denotes a do...
Read More
GATE
GATE-GATE CS 2018
GATE CS 2018
GATE | GATE CS 2018 | Question 47
Consider the following C code. Assume that unsigned long int type length is 64 bits.[sourcecode language="C"]unsigned long int fun(unsigned long int n) { unsigned l...
Read More
GATE
GATE-GATE CS 2018
GATE CS 2018
GATE | GATE CS 2018 | Question 46
Consider the following languages:I. {ambncpdq ∣ m + p = n + q, where m, n, p, q ≥ 0}II. {ambncpdq ∣ m = n and p = q, where m, n, p, q ≥ 0}III. {ambncpdq ∣ m = n = p and p ...
Read More
GATE
GATE-GATE CS 2018
GATE CS 2018
GATE | GATE CS 2018 | Question 45
The size of the physical address space of a processor is 2P bytes. The word length is 2W bytes. The capacity of cache memory is 2N bytes. The size of each cache block is 2...
Read More
GATE
GATE-GATE CS 2018
GATE CS 2018
1
...
11178
11179
11180
...
11307