Sharda university uzbek

Quiz
•
Computers
•
University
•
Hard
Ramkumar Professor)
Used 6+ times
FREE Resource
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be the output of the following code?
#include <stdio.h>
int main()
{ int x = 10, y = 20, z;
z = x + y * 2;
printf("%d\n", z);
return 0;
}
50
60
70
80
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be the output of the following code?
#include <stdio.h>
int main() {
int x = 5, y = 2;
printf("%d\n", x / y);
return 0;
}
2
2.5
2.0
error
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be the output of the following code?
#include <stdio.h>
int main() {
int x = 5, y = 2;
printf("%d\n", x % y);
return 0;
}
2
2.5
1
error
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the 16-bit compiler allowable range for integer constants?
-3.4e38 to 3.4e38
-32767 to 32768
-32668 to 32667
-32768 to 32767
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following comment is correct when a macro definition includes arguments?
The opening parenthesis should immediately follow the macro name.
There should be at least one blank between the macro name and the opening parenthesis.
There should be only one blank between the macro name and the opening parenthesis.
There should be only one blank between the macro name and the opening parenthesis.
Similar Resources on Wayground
10 questions
Java Basics

Quiz
•
University
10 questions
Programming for Problem Solving

Quiz
•
University
10 questions
unidad4

Quiz
•
University
10 questions
Java Control Flow statements

Quiz
•
University
10 questions
C Programming Quiz-1

Quiz
•
University
10 questions
CSE C - 05.01.24

Quiz
•
University
7 questions
C++ Allocazione dinamica

Quiz
•
University
9 questions
Passaggio parametri

Quiz
•
University
Popular Resources on Wayground
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World

Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
20 questions
ELA Advisory Review

Quiz
•
7th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns

Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
11 questions
NFL Football logos

Quiz
•
KG - Professional Dev...
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
38 questions
Unit 6 Key Terms

Quiz
•
11th Grade - University
20 questions
La Hora

Quiz
•
9th Grade - University
7 questions
Cell Transport

Interactive video
•
11th Grade - University
7 questions
What Is Narrative Writing?

Interactive video
•
4th Grade - University