Login
Register
Dark Mode
Brightness
Ambient Glow – Questions list
Register
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Recent questions tagged goclasses-cs-dpp-day-289
7
7 votes
1
1 answer
243
243 views
GO Classes DPP | GATE CS | Digital Logic | Binary Fractions
Which of the following exact decimal expressions can be represented in binary notation with a finite number of bits?$0.84-0.33$ $0.64-0.015$ $0.72+0.02$ $0.45-0.125$
GO Classes
243
views
asked
Jun 5
Digital Logic
goclasses
goclasses-cs-dpp
digital-logic
goclasses-cs-dpp-day-289
goclasses-digital-logic-practice-questions
number-representation
+
–
10
10 votes
2
2 answers
258
258 views
GO Classes DPP | GATE CS | Digital Logic | Parity Counting
In a $10$-bit $2$’s complement system, how many bit patterns represent negative integers that are divisible by $8$, not divisible by $16$, and have even parity?
GO Classes
258
views
asked
Jun 5
Digital Logic
goclasses
goclasses-cs-dpp
digital-logic
goclasses-cs-dpp-day-289
goclasses-digital-logic-practice-questions
number-representation
twos-complement
numerical-answers
+
–
4
4 votes
2
2 answers
185
185 views
GO Classes DPP | GATE CS | Digital Logic | Two’s Complement
Which of the following $2$’s complement bit strings represents the smallest decimal value? Each bit string must be interpreted using its own given bit-width.$1001011$ as ...
GO Classes
185
views
asked
Jun 5
Digital Logic
goclasses
goclasses-cs-dpp
digital-logic
goclasses-cs-dpp-day-289
goclasses-digital-logic-practice-questions
number-representation
twos-complement
+
–
4
4 votes
1
1 answer
175
175 views
GO Classes DPP | GATE CS | Digital Logic | Signed Bit Operations
A $12$-bit $2$’s complement number has hexadecimal representation $(B6D)_H$. This number is sign-extended to $16$ bits and then arithmetic right-shifted by $2$ positions....
GO Classes
175
views
asked
Jun 5
Digital Logic
goclasses
goclasses-cs-dpp
digital-logic
goclasses-cs-dpp-day-289
goclasses-digital-logic-practice-questions
number-representation
numerical-answers
+
–
5
5 votes
2
2 answers
249
249 views
GO Classes DPP | GATE CS | Digital Logic | Two's Complement Overflow
Suppose we have two $16$-bit $2$’s complement numbers:$$101xx101101xxxxx$$$$1101101xx11xxxxx$$Here, each $x$ is an independent unknown bit and can be either $0$ or $1$.Co...
GO Classes
249
views
asked
Jun 5
Digital Logic
goclasses
goclasses-cs-dpp
digital-logic
goclasses-cs-dpp-day-289
goclasses-digital-logic-practice-questions
number-representation
numerical-answers
+
–
9
9 votes
2
2 answers
351
351 views
GO Classes DPP | GATE CS | C Programming | Pointers
What is the output of the following code?#include <stdio.h int main() { int a = 10, b = 20; int *p, *q; p = &a; q = &b; *p = *p + 5; *q = *p + *q; p = q; *p = *p - 10; pr...
GO Classes
351
views
asked
Jun 5
Programming in C
goclasses
goclasses-cs-dpp
goclasses-cs-dpp-day-289
programming-in-c
c-programming
goclasses-c-programming-practice-questions
pointers
+
–
8
8 votes
3
3 answers
316
316 views
GO Classes DPP | GATE CS | C Programming | Switch Case
What is the output of the following code?#include <stdio.h int main() { int x = 3, y = 1; switch (x - 1) { case 1: y = y + 2; case 2: y = y * 3; case 3: y = y - 1; break;...
GO Classes
316
views
asked
Jun 5
Programming in C
goclasses
goclasses-cs-dpp
goclasses-cs-dpp-day-289
programming-in-c
c-programming
goclasses-c-programming-practice-questions
numerical-answers
+
–
5
5 votes
2
2 answers
239
239 views
GO Classes DPP | GATE CS | C Programming | Break and Continue
What is the output of the following code?#include <stdio.h int main() { int i, j, count = 0; for (i = 1; i <= 4; i++) { for (j = 1; j <= 4; j++) { if (i == j) continue; i...
GO Classes
239
views
asked
Jun 5
Programming in C
goclasses
goclasses-cs-dpp
goclasses-cs-dpp-day-289
programming-in-c
c-programming
goclasses-c-programming-practice-questions
numerical-answers
+
–
3
3 votes
2
2 answers
253
253 views
GO Classes DPP | GATE CS | C Programming | Functions & Pass by Value
What is the output of the following code?#include <stdio.h int update(int x) { x = x + 3; return x * 2; } int main() { int a = 4, b; b = update(a); printf("%d %d", a, b);...
GO Classes
253
views
asked
Jun 5
Programming in C
goclasses
goclasses-cs-dpp
goclasses-cs-dpp-day-289
programming-in-c
c-programming
goclasses-c-programming-practice-questions
functions
+
–
5
5 votes
2
2 answers
279
279 views
GO Classes DPP | GATE CS | C Programming | Loop Control
What is the output of the following code?#include <stdio.h int main() { int a[5] = {2, 4, 1, 3, 5}; int i, sum = 0; for (i = 0; i < 5; i++) { if (a[i] % 2 == 0) sum = sum...
GO Classes
279
views
asked
Jun 5
Programming in C
goclasses
goclasses-cs-dpp
goclasses-cs-dpp-day-289
programming-in-c
c-programming
goclasses-c-programming-practice-questions
array
loop
+
–
To see more, click for the
full list of questions
or
popular tags
.