Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Filter
Profile
Wall
Recent activity
All questions
All answers
Exams Taken
All Blogs
Recent activity by sidd_07
1
answer
1
GO Classes Test Series 2024 | Programming | Test 1 | Question: 25
What will be the output of the following C program? #include<stdio.h> void main() { int a =0; int b = (a-- ? a++: a ? a++ : a-- ); printf("%d", b); } $0$ $-1$ $-2$ $2$
What will be the output of the following C program?#include<stdio.h void main() { int a =0; int b = (a ? a++: a ? a++ : a ); printf("%d", b); }$0$$-1$$-2$$2$
1.1k
views
commented
Jul 8, 2022
Programming in C
goclasses2024-programming-1-weekly-quiz
goclasses
programming
programming-in-c
output
1-mark
+
–
2
answers
2
GO Classes CS Test Series 2025 | Discrete Mathematics | Topic Wise Test 1 | Question: 11
Translate the following sentences into First-order logic (FOL): If someone is noisy, everybody is annoyed. Use the following predicates : $\text{N}(x)\;:$ $x$ is noisy $\text{A}(x)\;:$ $x$ is annoyed Which of the ... $\forall x(\text{N}(x) \rightarrow \forall y(\text{A}(y)))$
Translate the following sentences into First-order logic (FOL): “ If someone is noisy, everybody is annoyed.”Use the following predicates :$\text{N}(x)\;:$ “$x$ is ...
646
views
commented
Jun 2, 2022
Discrete Mathematics
goclasses_2025_cs_dm_tw_1
goclasses
mathematical-logic
first-order-logic
multiple-selects
difficult
2-marks
+
–
1
answer
3
GO Classes Test Series 2024 | Discrete Mathematics | Test 2 | Question: 22
Let $\text{Z}$ be the set of all integers. Which of these functions from $\text{Z}$ to $\text{Z}$ is not Onto $f(n) = n-1$ $f(n) = n^{2} + 1$ $f(n) = n^{3}$ $f(n) = \left \lfloor \frac{n}{2} \right \rfloor$
Let $\text{Z}$ be the set of all integers. Which of these functions from $\text{Z}$ to $\text{Z}$ is not Onto$f(n) = n-1$$f(n) = n^{2} + 1$$f(n) = n^{3}$$f(n) = \left \lf...
411
views
comment edited
Jun 2, 2022
Set Theory & Algebra
goclasses2024-dm-2-weekly-quiz
goclasses
set-theory&algebra
functions
multiple-selects
2-marks
+
–
1
answer
4
GO Classes Test Series 2024 | Discrete Mathematics | Test 2 | Question: 9
We define a relation $\text{S}$ on a non-empty Set $\text{A}.$ The definition of relation $\text{S}$ ... $\text{A}$ on which such relation $\text{S}$ can be defined.
We define a relation $\text{S}$ on a non-empty Set $\text{A}.$ The definition of relation $\text{S}$ is given in form of a first order logic formula below :$$\forall x \f...
577
views
commented
Jun 1, 2022
Set Theory & Algebra
goclasses2024-dm-2-weekly-quiz
goclasses
set-theory&algebra
set-theory
relations
multiple-selects
2-marks
+
–
1
answer
5
GO Classes Test Series 2024 | Discrete Mathematics | Test 2 | Question: 13
The below function is defined from a set of all positive integers to a set of all integers. ... statements is true? It is one to one but not onto It is onto but not one-one It is bijection It is neither One-One nor Onto
The below function is defined from a set of all positive integers to a set of all integers.$f(n) = \left\{\begin{matrix} (n-1)/2\;;& \text{if}\; n \;\text{is odd} \\ -n/2...
385
views
answered
May 30, 2022
Set Theory & Algebra
goclasses2024-dm-2-weekly-quiz
goclasses
set-theory&algebra
functions
2-marks
+
–
1
answer
6
GO Classes Weekly Quiz 10 | Discrete Mathematics | Set Theory, Mathematical Logic, Lattice | Question: 8
Let the universe for all quantified variables be the set of all novels. Assume the following predicates and constant symbols:$W(x,y) :\; x$ wrote novel $y$$L(x,y) : \;x$ ...
449
views
comment edited
May 18, 2022
Mathematical Logic
goclasses_wq10
goclasses
mathematical-logic
first-order-logic
2-marks
+
–
2
answers
7
can any one suggest resources for discrete mathematics for gate
suggest some good resources for discrete mathematics
suggest some good resources for discrete mathematics
1.0k
views
commented
May 11, 2022
1
answer
8
GO Classes 2023 | Weekly Quiz 7 | Question: 12
Let $\text{A, B}$ be two non-empty sets, with cardinality $3,4$ respectively. Let $\text{R}$ be a relation defined on the power set of $\text{A} \times \text{B}.$ Relation $\text{R}$ is reflexive, symmetric, transitive and antisymmetric. How many equivalence classes does relation $\text{R}$ have?
Let $\text{A, B}$ be two non-empty sets, with cardinality $3,4$ respectively. Let $\text{R}$ be a relation defined on the power set of $\text{A} \times \text{B}.$ Relatio...
707
views
commented
Apr 22, 2022
Set Theory & Algebra
goclasses_wq7
goclasses
numerical-answers
set-theory&algebra
set-theory
relations
equivalence-class
2-marks
+
–
0
answers
9
kenneth h rosen chapter 1 section 1.5 nested quantifiers excercise 1.5 question 48
Show that ∀xP (x) ∨ ∀xQ(x) and ∀x∀y(P (x) ∨ Q(y)), where all quantifiers have the same nonempty domain, are logically equivalent. (The new variable y is used to combine the quantifications correctly.)
Show that ∀xP (x) ∨ ∀xQ(x) and ∀x∀y(P (x) ∨ Q(y)),where all quantifiers have the same nonempty domain,are logically equivalent. (The new variable y is used to...
538
views
commented
Apr 20, 2022
Mathematical Logic
discrete-mathematics
propositional-logic
engineering-mathematics
kenneth-rosen
mathematical-logic
+
–
1
answer
10
GO Classes 2023 | Weekly Quiz 5 | Question: 12
Let $\alpha, \beta $ be two propositional formulas. Which of the following assertions is true? $\alpha \models \beta$ if and only if the sentence $(\alpha \wedge \neg \beta)$ is unsatisfiable. If $\alpha\models \gamma $ ... $\alpha \models(\beta \vee \gamma)$ then $\alpha \models \beta $ or $\alpha \models \gamma $ (or both).
Let $\alpha, \beta $ be two propositional formulas.Which of the following assertions is true?$\alpha \models \beta$ if and only if the sentence $(\alpha \wedge \neg \beta...
928
views
commented
Apr 2, 2022
Mathematical Logic
goclasses_wq5
goclasses
mathematical-logic
propositional-logic
multiple-selects
2-marks
+
–
1
answer
11
GO Classes 2023 | Weekly Quiz 3 | Question: 19
Let $F$ and $G$ be two propositional formula. Which of the following is/are TRUE? If $F \rightarrow G$ is satisfiable and $F$ is satisfiable, then $G$ is satisfiable. If two statements(propositions) are logically equivalent, then so are their ... . If a statement $q$ is true, then, for any statement $p$, the statement $p \rightarrow q$ is true.
Let $F$ and $G$ be two propositional formula. Which of the following is/are TRUE?If $F \rightarrow G$ is satisfiable and $F$ is satisfiable, then $G$ is satisfiable.If tw...
955
views
commented
Apr 2, 2022
Mathematical Logic
goclasses
goclasses_wq3
mathematical-logic
propositional-logic
multiple-selects
2-marks
+
–
1
answer
12
a,b,c belong Z, if a2(square) +b2(square) =c2(square), then a or b is even
I have reached C is even now unable to move forward with contradiction.
I have reached C is even now unable to move forward with contradiction.
162
views
answer selected
Mar 25, 2022
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register