What is the value of a in below program?
int main()
{
int a, b=20;
a = 90/b;
return 0;
}
bt 3 2023
Quiz
•
Business
•
University
•
Hard
Smiley Sunshine
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the value of a in below program?
int main()
{
int a, b=20;
a = 90/b;
return 0;
}
4.5
4.0
4
Compilation Error
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which operator has highest precedence in * / % in C++ ?
*
/
all have same precedence
%
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which is true?
"X extends Y" is correct if and only if X is a class and Y is an interface
"X extends Y" is correct if and only if X is an interface and Y is a class
"X extends Y" is correct if X and Y are either both classes or both interfaces
"X extends Y" is correct for all combinations of X and Y being classes and/or interfaces
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In Java byte, short and long, all of these are
signed
unsigned
Both of the above
None of these
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not a type of software license?
Proprietary License
Open Source License
Creative Commons License
Free License
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Predict the logo
Lattelier
Levis
Louis Vuitton
None of the these
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The following is used to define a ___.
d = {
<key>: <value>,
<key>: <value>,
.
.
.
<key>: <value>
}
Group
List
Dictionary
All of the mentioned above
10 questions
Defensive Design/ Robust Coding
Quiz
•
9th Grade - University
12 questions
(TE) Sesión 31
Quiz
•
University
15 questions
Exercise Equilibrium dan Elastisitas
Quiz
•
4th Grade - University
12 questions
ALPRO PERTEMUAN 3
Quiz
•
University
7 questions
Modulus Function
Quiz
•
4th Grade - University
10 questions
bt_m -1 2023
Quiz
•
University
10 questions
diff set-(3) 2023
Quiz
•
University
10 questions
BT_M2_2023
Quiz
•
University
15 questions
Multiplication Facts
Quiz
•
4th Grade
20 questions
Math Review - Grade 6
Quiz
•
6th Grade
20 questions
math review
Quiz
•
4th Grade
5 questions
capitalization in sentences
Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance
Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions
Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines
Quiz
•
Professional Development
12 questions
Dividing Fractions
Quiz
•
6th Grade