Recent questions tagged goclasses-scholarship-test1

1 1 vote
1 1 answer
759
759 views
Hi @Admin, I would like to know about the scholarship exam dates for GO Classes 2024.
4 4 votes
1 1 answer
1.4k
1.4k views
A relation $\text{R}$ on a set $\text{A}$ is said to be Total Relation iff $a\text{R}b$ Or $b\text{R}a$ Or both, for all $a,b \in \mathrm{A}$.Which of the following optio...
2 2 votes
3 3 answers
1.9k
1.9k views
Let $\text{S}$ be the set of all bit-strings of length $7 .$ We define a relation $\mathrm{R}$ on the set $\mathrm{S}$ by the rule that $x\mathrm{R}y$ iff $x$ and $y$ dif...
4 4 votes
1 1 answer
898
898 views
Let $\text{A, B}$ be two disjoint non-empty sets. Let $\text{M}$ be the universal set and $\text{A} \cup \text{B}$ is a proper subset of $\mathrm{M}$. For any set $\mathr...
4 4 votes
1 1 answer
804
804 views
Consider $5$ cards, each has a distinct value from the set $\{2,3,4,5,6\},$ so there are $5$ different values, and we put them face down on the table. There are $5$ playe...
5 5 votes
0 0 answers
1.2k
1.2k views
Consider three boxes and $12$ balls of the same size. We have $3$ indistinguishable red balls and $9$ distinguishable blue balls. The first box can fit at most three ball...
3 3 votes
1 1 answer
1.2k
1.2k views
Define the generating functions $\text{B}(x)=\displaystyle{} \sum_{n=0}^{\infty} 2^{n} x^{n}$ and $F(x)=\displaystyle{} \sum_{n=0}^{\infty} f_{n} x^{n}$ where $f_{n}$ is ...
4 4 votes
1 1 answer
1.6k
1.6k views
In a directed graph $\mathrm{G}=(\mathrm{V}, \mathrm{E})$, two nodes $u$ and $v$ are strongly connected if and only if they are mutually reachable i.e. there is a path fr...
6 6 votes
2 answers 2 answers
1.2k
1.2k views
Consider the following graph $\text{G:}$Let $\text{M, C, I, S, B, E}$ be the Matching number, chromatic number, independence number, Clique number, Vertex cover number, a...
4 4 votes
1 1 answer
779
779 views
For which of the following does there exist a graph satisfying the specified conditions?A tree with six vertices and six edges.A tree with three or more vertices, two ver...
6 6 votes
2 2 answers
748
748 views
Let $\text{U}$ be a set and $\text{X, Y} \subseteq \text{U}$. Define operation twist by$$\operatorname{twist}\text{(X, Y)} =(\text{X} \cap \text{Y}) \cup(\overline{\text{...
4 4 votes
1 1 answer
1.0k
1.0k views
How many non-isomorphic simple undirected graphs are there, each with four vertices and without a cycle?
4 4 votes
1 1 answer
961
961 views
Consider the following C program given below.#include<stdio.h main() { int a = 4; switch (a) { a ; case 4: printf("Science "); break; default: printf("Technology "); case...
3 3 votes
1 1 answer
1.2k
1.2k views
Consider Figure $\text{A}$ and Figure $\text{B}$ which represent $4$ bit signed and unsigned numbers respectively in $2’s$ complement system.Assume that a few variables a...
4 4 votes
3 3 answers
1.2k
1.2k views
Consider the following declaration of variables $a$ and $b.$int a = 1, b = 0;Which of the following is/are will evaluate to TRUE?b++ && b == ab++ && a == 0a || b == aa |...
5 5 votes
3 3 answers
1.1k
1.1k views
Consider the following pair of mutually recursive functions.int f(int n){ if (n==0) return 1; return f(n-1)+g(n-1); } int g(int n){ if (n==0) return 1; return g(n-1) - f(...
5 5 votes
2 2 answers
1.8k
1.8k views
Consider the following declaration of pointer variable $p.$int (*p)[10][5];If the initial value of $p$ is $1000,$ then what will be the value of $p+1?$It is given that sy...
5 5 votes
1 1 answer
1.1k
1.1k views
Consider the following declaration of variable a in C program (row-major order).int a[3][4][5];Which of the following(s) is/are TRUE about pointer arithmetic operations?V...
3 3 votes
1 1 answer
966
966 views
Consider the following declarations of a few variables.int (*p1)[3]; int (*p2)[3]; int (*t1) ; int (*t2) ;Let the initial values of $p1, p2, t2$ and $t1$ are $1000, 1036,...
4 4 votes
1 1 answer
1.4k
1.4k views
Let arrays OneD and TwoD are declared as follows as:int OneD[10]; int TwoD[4][5];Which of the following is/are valid syntax to pass OneD and TwoD to some function fun()?A...
4 4 votes
1 1 answer
1.1k
1.1k views
Consider below two program fragments.Assume malloc is always successful, and sizes are as follows -sizeof (int *)=8 bytes sizeof ( double)=8 bytes sizeof ( char )=1 byte ...
7 7 votes
1 1 answer
1.2k
1.2k views
#include <stdio.h int main() { int i= 255; short int *s= (short int *)&i; printf("%d\n", *s); }What will be the output of the above program in little-endian and big-endia...
2 2 votes
1 1 answer
610
610 views
Consider the following function $\text{magic5().}$void magic5(int x, int y){ if (condition) printf("magic"); }What condition we can write in “if-statement” such that $\te...
3 3 votes
3 3 answers
863
863 views
Consider struct alignment rules as described below –Each primitive data (int, char, float, etc.) type requiring $\text{K}$ bytes must be stored at the address must be mul...
3 3 votes
3 answers 3 answers
793
793 views
What will be the output of the following C program?int sum = 0; for (int i = 1; i <= 10; i++) for (int j = 1; j <= 10; j++){ sum += i * j; }
3 3 votes
3 3 answers
1.0k
1.0k views
What will be the number of recursive calls for $\textsf{mystery(5)}$ including the first call?void mystery(int n) { if (n == 0 || n == 1) return 0; mystery(n-2); printf("...
4 4 votes
1 1 answer
1.0k
1.0k views
What will be the output of the following program?#include<stdio.h struct _go{ char b[20]; char *a; struct _go *c; }x = {"GATE", "2023", x+1, "GO", "Classes", x}, *p = x;...
2 2 votes
2 2 answers
2.8k
2.8k views
In which of the following case(s) character array must end with null char?char c[] = "GATE";char c[] = {'2', '0', '2', '3'};char c[4] = "GATE";char c[16] = "2023";
5 5 votes
3 3 answers
1.7k
1.7k views
Consider the following C code fragement -#include<stdio.h int main() { char t[] = "abcdefghij"; int *p = t; p+=2; char *c = (char *)p; printf("%c", *c); }Which of the fol...
To see more, click for the full list of questions or popular tags.