Login
Register
@
Dark Mode
Profile
Edit my Profile
Messages
My favorites
Register
Activity
Q&A
Questions
Unanswered
Tags
Subjects
Users
Ask
Previous Years
Blogs
New Blog
Exams
Dark Mode
Recent questions tagged goclasses2024-programming-1-weekly-quiz
9
votes
1
answer
1
GO Classes Test Series 2024 | Programming | Test 1 | Question: 6
Consider the $k$ bit binary pattern on 2's complement system. $\text{T}_{\max}$ and $\text{T}_{\min}$ are maximum and minimum signed numbers we can represent using $k$ bits. $\text{U}_{\max}$ and $\text{U}_{\min}$ are maximum and minimum ... $\text{U}_{\min} = !(1>>31)$ $\text{U}_{\max} = \;\sim(1>>31)$
GO Classes
asked
in
Programming in C
Apr 18, 2022
by
GO Classes
621
views
goclasses2024-programming-1-weekly-quiz
goclasses
programming
number-representation
multiple-selects
1-mark
8
votes
1
answer
2
GO Classes Test Series 2024 | Programming | Test 1 | Question: 8
What is the output of the following code? Assume that int is $32$ bits, short is $16$ bits, and the representation is two's complement. unsigned int x = 0xDEADBEEF; unsigned short y = 0xFFFF; signed int z = -1; ... Hello"); if (x > z) printf("World"); Prints nothing Prints Hello Prints World Prints HelloWorld
GO Classes
asked
in
Programming in C
Apr 18, 2022
by
GO Classes
539
views
goclasses2024-programming-1-weekly-quiz
goclasses
programming
programming-in-c
output
2-marks
9
votes
1
answer
3
GO Classes Test Series 2024 | Programming | Test 1 | Question: 22
Consider the following C code. Where $x$ and $y$ are unknown integers and have been initialized to values greater than $1.$ int i=1, j=0; while (i<y) { j = j+i; i = i+1; if(i==x) break; } Which of the following statement(s) about the variables $i$ and ... then $i = y-1$ $(j=y(y+1)/2 \wedge (i=y)) \vee ((j=x(x+1)/2)\wedge (i = x))$
GO Classes
asked
in
Programming in C
Apr 18, 2022
by
GO Classes
486
views
goclasses2024-programming-1-weekly-quiz
goclasses
programming
programming-in-c
multiple-selects
2-marks
9
votes
3
answers
4
GO Classes Test Series 2024 | Programming | Test 1 | Question: 24
What will be the output of the following C program? Assume that negative numbers are represented using $2’s$ complement. #include<stdio.h> void main() { int a = 2; a = ~a+2 << 1; printf("%d",a); }
GO Classes
asked
in
Programming in C
Apr 18, 2022
by
GO Classes
1.0k
views
goclasses2024-programming-1-weekly-quiz
numerical-answers
goclasses
programming
programming-in-c
output
1-mark
9
votes
1
answer
5
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$
GO Classes
asked
in
Programming in C
Apr 18, 2022
by
GO Classes
1.1k
views
goclasses2024-programming-1-weekly-quiz
goclasses
programming
programming-in-c
output
1-mark
To see more, click for the
full list of questions
or
popular tags
.
Subscribe to GATE CSE 2024 Test Series
Subscribe to GO Classes for GATE CSE 2024
Quick search syntax
tags
tag:apple
author
user:martin
title
title:apple
content
content:apple
exclude
-tag:apple
force match
+apple
views
views:100
score
score:10
answers
answers:2
is accepted
isaccepted:true
is closed
isclosed:true
Recent Posts
Post GATE 2024 Guidance [Counseling tips and resources]
GATE CSE 2024 Result Responses
[Project Contest] Pytorch backend support for MLCommons Cpp Inference implementation
Participating in MLCommons Inference v4.0 submission (deadline is February 23 12pm IST)
IIITH PGEE 2024 Test Series by GO Classes
Subjects
All categories
General Aptitude
(3.5k)
Engineering Mathematics
(10.4k)
Digital Logic
(3.6k)
Programming and DS
(6.2k)
Algorithms
(4.8k)
Theory of Computation
(6.9k)
Compiler Design
(2.5k)
Operating System
(5.2k)
Databases
(4.8k)
CO and Architecture
(4.0k)
Computer Networks
(4.9k)
Artificial Intelligence
(79)
Machine Learning
(48)
Data Mining and Warehousing
(25)
Non GATE
(1.4k)
Others
(2.7k)
Admissions
(684)
Exam Queries
(1.6k)
Tier 1 Placement Questions
(17)
Job Queries
(80)
Projects
(11)
Unknown Category
(870)
64.3k
questions
77.9k
answers
244k
comments
80.0k
users
Recent questions tagged goclasses2024-programming-1-weekly-quiz
Recent Blog Comments
category ?
Hi @Arjun sir, I have obtained a score of 591 in ...
download here
Can you please tell about IIT-H mtech CSE self...
Please add your admission queries here:...